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_RULECHARSET_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, setCssTextclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetCssText, getParentRule, getParentStyleSheet, getType, setCssTextpublic org.w3c.dom.stylesheets.MediaList getMedia()
getMedia in interface org.w3c.dom.css.CSSMediaRulepublic org.w3c.dom.css.CSSRuleList getCssRules()
getCssRules in interface org.w3c.dom.css.CSSMediaRulepublic int insertRule(String rule, int index) throws DOMException
insertRule in interface org.w3c.dom.css.CSSMediaRuleDOMExceptionpublic void deleteRule(int index)
throws DOMException
deleteRule in interface org.w3c.dom.css.CSSMediaRuleDOMExceptionCopyright © 2025. All rights reserved.