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, setDisabledclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDisabled, getHref, getMedia, getOwnerNode, getParentStyleSheet, getTitle, getType, setDisabledpublic org.w3c.dom.css.CSSRule getOwnerRule()
getOwnerRule in interface org.w3c.dom.css.CSSStyleSheetpublic org.w3c.dom.css.CSSRuleList getCssRules()
getCssRules in interface org.w3c.dom.css.CSSStyleSheetpublic org.w3c.dom.css.CSSRuleList getRules()
public int insertRule(String rule, int index) throws DOMException
insertRule in interface org.w3c.dom.css.CSSStyleSheetDOMExceptionpublic void deleteRule(int index)
throws DOMException
deleteRule in interface org.w3c.dom.css.CSSStyleSheetDOMExceptionpublic int addRule(String selector, String style, int index) throws DOMException
DOMExceptionpublic void removeRule(int index)
throws DOMException
DOMExceptionCopyright © 2025. All rights reserved.