com.steadystate.css.dom
public class CSSRuleListImpl extends java.lang.Object implements CSSRuleList, java.io.Serializable
| Constructor and Description |
|---|
CSSRuleListImpl() |
public int getLength()
CSSRuleListCSSRules in the list. The range of valid
child rule indices is 0 to length-1
inclusive.getLength in interface CSSRuleListpublic CSSRule item(int index)
CSSRuleListnull.item in interface CSSRuleListindex position in the
CSSRuleList, or null if that is not a
valid index.public void add(CSSRule rule)
public void insert(CSSRule rule, int index)
public void delete(int index)
public java.lang.String toString()
toString in class java.lang.Object