- All Superinterfaces:
CSSRuleList,Iterable<CSSRule>
A rule list with additional utility methods.
-
Method Summary
Methods inherited from interface org.w3c.dom.css.CSSRuleList
getLengthMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
item
Retrieve a CSS rule by ordinal index. The order in this collection represents the order of the rules in the CSS style sheet.- Specified by:
itemin interfaceCSSRuleList- Parameters:
index- the index in the collection.- Returns:
- the rule at the
indexposition, ornullif the index is less than zero or equal or greater to the list length.
-
iterator
Returns an iterator over the rules.
-