KHTML
#include <css_rule.h>
Public Member Functions | |
CSSRuleList () | |
CSSRuleList (const CSSRuleList &other) | |
CSSRuleList (CSSRuleListImpl *i) | |
CSSRuleList (StyleListImpl *i) | |
~CSSRuleList () | |
CSSRuleListImpl * | handle () const |
bool | isNull () const |
CSSRule | item (unsigned long index) |
unsigned long | length () const |
CSSRuleList & | operator= (const CSSRuleList &other) |
Protected Attributes | |
CSSRuleListImpl * | impl |
Detailed Description
The CSSRuleList
interface provides the abstraction of an ordered collection of CSS rules.
Definition at line 512 of file css_rule.h.
Constructor & Destructor Documentation
CSSRuleList::CSSRuleList | ( | ) |
Definition at line 524 of file css_rule.cpp.
CSSRuleList::CSSRuleList | ( | const CSSRuleList & | other | ) |
Definition at line 529 of file css_rule.cpp.
CSSRuleList::CSSRuleList | ( | CSSRuleListImpl * | i | ) |
Definition at line 535 of file css_rule.cpp.
CSSRuleList::CSSRuleList | ( | StyleListImpl * | i | ) |
Definition at line 541 of file css_rule.cpp.
CSSRuleList::~CSSRuleList | ( | ) |
Definition at line 566 of file css_rule.cpp.
Member Function Documentation
CSSRuleListImpl * CSSRuleList::handle | ( | ) | const |
not part of the DOM
Definition at line 584 of file css_rule.cpp.
bool CSSRuleList::isNull | ( | ) | const |
Definition at line 589 of file css_rule.cpp.
CSSRule CSSRuleList::item | ( | unsigned long | index | ) |
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 578 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 571 of file css_rule.cpp.
CSSRuleList & CSSRuleList::operator= | ( | const CSSRuleList & | other | ) |
Definition at line 556 of file css_rule.cpp.
Member Data Documentation
|
protected |
Definition at line 556 of file css_rule.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.