Package com.steadystate.css.dom
Class CSSRuleListImpl
java.lang.Object
com.steadystate.css.dom.CSSRuleListImpl
- All Implemented Interfaces:
Serializable
,CSSRuleList
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CSSRuleListImpl
public CSSRuleListImpl()
-
-
Method Details
-
getLength
public int getLength()Description copied from interface:CSSRuleList
The number ofCSSRules
in the list. The range of valid child rule indices is0
tolength-1
inclusive.- Specified by:
getLength
in interfaceCSSRuleList
-
item
Description copied from interface:CSSRuleList
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. If index is greater than or equal to the number of rules in the list, this returnsnull
.- Specified by:
item
in interfaceCSSRuleList
- Returns:
- The style rule at the
index
position in theCSSRuleList
, ornull
if that is not a valid index.
-
add
-
insert
-
delete
public void delete(int index) -
toString
-