%
% API Documentation for cssutils
% Module cssutils.stylesheets.stylesheetlist
%
% Generated by epydoc 3.0.1
% [Fri Feb 01 19:05:22 2008]
%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                          Module Description                           %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    \index{cssutils \textit{(package)}!cssutils.stylesheets \textit{(package)}!cssutils.stylesheets.stylesheetlist \textit{(module)}|(}
\section{Module cssutils.stylesheets.stylesheetlist}

    \label{cssutils:stylesheets:stylesheetlist}

StyleSheetList implements DOM Level 2 Style Sheets StyleSheetList.
\textbf{Version:} \$LastChangedRevision: 798 \$



\textbf{Date:} \$LastChangedDate: 2008-01-03 21:47:28 +0100 (Do, 03 Jan 2008) \$



\textbf{Author:} \$LastChangedBy: cthedot \$




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                           Class Description                           %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    \index{cssutils \textit{(package)}!cssutils.stylesheets \textit{(package)}!cssutils.stylesheets.stylesheetlist \textit{(module)}!cssutils.stylesheets.stylesheetlist.StyleSheetList \textit{(class)}|(}
\subsection{Class StyleSheetList}

    \label{cssutils:stylesheets:stylesheetlist:StyleSheetList}
\begin{tabular}{cccccccc}
% Line for object, linespec=[False, False]
\multicolumn{2}{r}{\settowidth{\BCL}{object}\multirow{2}{\BCL}{object}}
&&
&&
  \\\cline{3-3}
  &&\multicolumn{1}{c|}{}
&&
&&
  \\
% Line for list, linespec=[False]
\multicolumn{4}{r}{\settowidth{\BCL}{list}\multirow{2}{\BCL}{list}}
&&
  \\\cline{5-5}
  &&&&\multicolumn{1}{c|}{}
&&
  \\
&&&&\multicolumn{2}{l}{\textbf{cssutils.stylesheets.stylesheetlist.StyleSheetList}}
\end{tabular}


Interface StyleSheetList (introduced in DOM Level 2)

The StyleSheetList interface provides the abstraction of an ordered
collection of style sheets.

The items in the StyleSheetList are accessible via an integral index,
starting from 0.

This Python implementation is based on a standard Python list so e.g.
allows \texttt{examplelist{[}index{]}} usage.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                Methods                                %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  \subsubsection{Methods}

    \label{cssutils:stylesheets:stylesheetlist:StyleSheetList:item}
    \index{cssutils \textit{(package)}!cssutils.stylesheets \textit{(package)}!cssutils.stylesheets.stylesheetlist \textit{(module)}!cssutils.stylesheets.stylesheetlist.StyleSheetList \textit{(class)}!cssutils.stylesheets.stylesheetlist.StyleSheetList.item \textit{(method)}}

    \vspace{0.5ex}

\hspace{.8\funcindent}\begin{boxedminipage}{\funcwidth}

    \raggedright \textbf{item}(\textit{self}, \textit{index})

    \vspace{-1.5ex}

    \rule{\textwidth}{0.5\fboxrule}
\setlength{\parskip}{2ex}

Used to retrieve a style sheet by ordinal index. If index is
greater than or equal to the number of style sheets in the list,
this returns None.
\setlength{\parskip}{1ex}
    \end{boxedminipage}


\large{\textbf{\textit{Inherited from list}}}

\begin{quote}
\_\_add\_\_(), \_\_contains\_\_(), \_\_delitem\_\_(), \_\_delslice\_\_(), \_\_eq\_\_(), \_\_ge\_\_(), \_\_getattribute\_\_(), \_\_getitem\_\_(), \_\_getslice\_\_(), \_\_gt\_\_(), \_\_hash\_\_(), \_\_iadd\_\_(), \_\_imul\_\_(), \_\_init\_\_(), \_\_iter\_\_(), \_\_le\_\_(), \_\_len\_\_(), \_\_lt\_\_(), \_\_mul\_\_(), \_\_ne\_\_(), \_\_new\_\_(), \_\_repr\_\_(), \_\_reversed\_\_(), \_\_rmul\_\_(), \_\_setitem\_\_(), \_\_setslice\_\_(), append(), count(), extend(), index(), insert(), pop(), remove(), reverse(), sort()
\end{quote}

\large{\textbf{\textit{Inherited from object}}}

\begin{quote}
\_\_delattr\_\_(), \_\_reduce\_\_(), \_\_reduce\_ex\_\_(), \_\_setattr\_\_(), \_\_str\_\_()
\end{quote}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                              Properties                               %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  \subsubsection{Properties}

    \vspace{-1cm}
\hspace{\varindent}\begin{longtable}{|p{\varnamewidth}|p{\vardescrwidth}|l}
\cline{1-2}
\cline{1-2} \centering \textbf{Name} & \centering \textbf{Description}& \\
\cline{1-2}
\endhead\cline{1-2}\multicolumn{3}{r}{\small\textit{continued on next page}}\\\endfoot\cline{1-2}
\endlastfoot\raggedright l\-e\-n\-g\-t\-h\- & \raggedright The number of StyleSheets in the list. The range of valid
child stylesheet indices is 0 to length-1 inclusive.&\\
\cline{1-2}
\multicolumn{2}{|l|}{\textit{Inherited from object}}\\
\multicolumn{2}{|p{\varwidth}|}{\raggedright \_\_class\_\_}\\
\cline{1-2}
\end{longtable}

    \index{cssutils \textit{(package)}!cssutils.stylesheets \textit{(package)}!cssutils.stylesheets.stylesheetlist \textit{(module)}!cssutils.stylesheets.stylesheetlist.StyleSheetList \textit{(class)}|)}
    \index{cssutils \textit{(package)}!cssutils.stylesheets \textit{(package)}!cssutils.stylesheets.stylesheetlist \textit{(module)}|)}
