public class CSSStyleSheetImpl extends StyleSheetImpl implements org.w3c.dom.css.CSSStyleSheet
Modifier and Type | Method and Description |
---|---|
int |
addRule(String selector,
String style,
int index) |
void |
deleteRule(int index) |
org.w3c.dom.css.CSSRuleList |
getCssRules() |
org.w3c.dom.css.CSSRule |
getOwnerRule() |
org.w3c.dom.css.CSSRuleList |
getRules() |
int |
insertRule(String rule,
int index) |
void |
removeRule(int index) |
equals, getDisabled, getHref, getMedia, getOwnerNode, getParentStyleSheet, getTitle, getType, hashCode, setDisabled
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getDisabled, getHref, getMedia, getOwnerNode, getParentStyleSheet, getTitle, getType, setDisabled
public org.w3c.dom.css.CSSRule getOwnerRule()
getOwnerRule
in interface org.w3c.dom.css.CSSStyleSheet
public org.w3c.dom.css.CSSRuleList getCssRules()
getCssRules
in interface org.w3c.dom.css.CSSStyleSheet
public org.w3c.dom.css.CSSRuleList getRules()
public int insertRule(String rule, int index) throws DOMException
insertRule
in interface org.w3c.dom.css.CSSStyleSheet
DOMException
public void deleteRule(int index) throws DOMException
deleteRule
in interface org.w3c.dom.css.CSSStyleSheet
DOMException
public int addRule(String selector, String style, int index) throws DOMException
DOMException
public void removeRule(int index) throws DOMException
DOMException
Copyright © 2020. All rights reserved.