Class CSSMediaRuleImpl
java.lang.Object
org.eclipse.e4.ui.css.core.impl.dom.AbstractCSSNode
org.eclipse.e4.ui.css.core.impl.dom.CSSRuleImpl
org.eclipse.e4.ui.css.core.impl.dom.CSSMediaRuleImpl
- All Implemented Interfaces:
CSSMediaRule
,CSSRule
-
Field Summary
Fields inherited from interface org.w3c.dom.css.CSSRule
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
-
Constructor Summary
ConstructorDescriptionCSSMediaRuleImpl
(CSSStyleSheet parentStyleSheet, CSSRule parentRule, MediaListImpl mediaListImpl) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteRule
(int index) getMedia()
short
getType()
int
insertRule
(String rule, int index) void
setRuleList
(CSSRuleList rules) Methods inherited from class org.eclipse.e4.ui.css.core.impl.dom.CSSRuleImpl
getCssText, getParentRule, getParentStyleSheet, setCssText
Methods inherited from class org.eclipse.e4.ui.css.core.impl.dom.AbstractCSSNode
getCSSParser
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.w3c.dom.css.CSSRule
getCssText, getParentRule, getParentStyleSheet, setCssText
-
Constructor Details
-
CSSMediaRuleImpl
public CSSMediaRuleImpl(CSSStyleSheet parentStyleSheet, CSSRule parentRule, MediaListImpl mediaListImpl)
-
-
Method Details
-
getType
public short getType()- Specified by:
getType
in interfaceCSSRule
- Specified by:
getType
in classCSSRuleImpl
-
deleteRule
- Specified by:
deleteRule
in interfaceCSSMediaRule
- Throws:
DOMException
-
getCssRules
- Specified by:
getCssRules
in interfaceCSSMediaRule
-
getMedia
- Specified by:
getMedia
in interfaceCSSMediaRule
-
insertRule
- Specified by:
insertRule
in interfaceCSSMediaRule
- Throws:
DOMException
-
setRuleList
-