KHTML
DOM::CSSRuleList Class Reference
TheCSSRuleList
interface provides the abstraction of an ordered collection of CSS rules.
More...
#include <css_rule.h>
Public Member Functions | |
CSSRuleList (StyleListImpl *i) | |
CSSRuleList (CSSRuleListImpl *i) | |
CSSRuleList (const CSSRuleList &other) | |
CSSRuleList () | |
CSSRuleListImpl * | handle () const |
bool | isNull () const |
CSSRule | item (unsigned long index) |
unsigned long | length () const |
CSSRuleList & | operator= (const CSSRuleList &other) |
~CSSRuleList () | |
Protected Attributes | |
CSSRuleListImpl * | impl |
Detailed Description
TheCSSRuleList
interface provides the abstraction of an ordered collection of CSS rules.
Definition at line 484 of file css_rule.h.
Constructor & Destructor Documentation
CSSRuleList::CSSRuleList | ( | ) |
Definition at line 474 of file css_rule.cpp.
CSSRuleList::CSSRuleList | ( | const CSSRuleList & | other | ) |
Definition at line 479 of file css_rule.cpp.
CSSRuleList::CSSRuleList | ( | CSSRuleListImpl * | i | ) |
Definition at line 485 of file css_rule.cpp.
CSSRuleList::CSSRuleList | ( | StyleListImpl * | i | ) |
Definition at line 491 of file css_rule.cpp.
CSSRuleList::~CSSRuleList | ( | ) |
Definition at line 516 of file css_rule.cpp.
Member Function Documentation
CSSRuleListImpl * CSSRuleList::handle | ( | ) | const |
bool CSSRuleList::isNull | ( | ) | const |
Definition at line 539 of file css_rule.cpp.
Used to retrieve a CSS rule by ordinal index.
The order in this collection represents the order of the rules in the CSS style sheet.
- Parameters:
-
index Index into the collection
- Returns:
- The style rule at the
index
position in theCSSRuleList
, ornull
if that is not a valid index.
Definition at line 528 of file css_rule.cpp.
unsigned long CSSRuleList::length | ( | ) | const |
The number of CSSRule
s in the list.
The range of valid child rule indices is 0
to length-1
inclusive.
Definition at line 521 of file css_rule.cpp.
CSSRuleList & CSSRuleList::operator= | ( | const CSSRuleList & | other | ) |
Definition at line 506 of file css_rule.cpp.
Member Data Documentation
CSSRuleListImpl* DOM::CSSRuleList::impl [protected] |
Definition at line 528 of file css_rule.h.
The documentation for this class was generated from the following files: