public class CSSMediaRuleImpl extends CSSRuleImpl implements org.w3c.dom.css.CSSMediaRule
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, KEYFRAME_RULE, KEYFRAMES_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, SUPPORTS_RULE, UNKNOWN_RULE, WEBKIT_KEYFRAME_RULE, WEBKIT_KEYFRAMES_RULE, WEBKIT_REGION_RULE
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
Modifier and Type | Method and Description |
---|---|
void |
deleteRule(int index) |
org.w3c.dom.css.CSSRuleList |
getCssRules() |
org.w3c.dom.stylesheets.MediaList |
getMedia() |
int |
insertRule(String rule,
int index) |
equals, getCssText, getParentRule, getParentStyleSheet, getType, hashCode, setCssText
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCssText, getParentRule, getParentStyleSheet, getType, setCssText
public org.w3c.dom.stylesheets.MediaList getMedia()
getMedia
in interface org.w3c.dom.css.CSSMediaRule
public org.w3c.dom.css.CSSRuleList getCssRules()
getCssRules
in interface org.w3c.dom.css.CSSMediaRule
public int insertRule(String rule, int index) throws DOMException
insertRule
in interface org.w3c.dom.css.CSSMediaRule
DOMException
public void deleteRule(int index) throws DOMException
deleteRule
in interface org.w3c.dom.css.CSSMediaRule
DOMException
Copyright © 2020. All rights reserved.