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 CSSRule
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE -
Constructor Summary
ConstructorsConstructorDescriptionCSSMediaRuleImpl(CSSStyleSheet parentStyleSheet, CSSRule parentRule, MediaListImpl mediaListImpl) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteRule(int index) getMedia()shortgetType()intinsertRule(String rule, int index) voidsetRuleList(CSSRuleList rules) Methods inherited from class CSSRuleImpl
getCssText, getParentRule, getParentStyleSheet, setCssTextMethods inherited from class AbstractCSSNode
getCSSParserMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CSSRule
getCssText, getParentRule, getParentStyleSheet, setCssText
-
Constructor Details
-
CSSMediaRuleImpl
public CSSMediaRuleImpl(CSSStyleSheet parentStyleSheet, CSSRule parentRule, MediaListImpl mediaListImpl)
-
-
Method Details
-
getType
public short getType()- Specified by:
getTypein interfaceCSSRule- Specified by:
getTypein classCSSRuleImpl
-
deleteRule
- Specified by:
deleteRulein interfaceCSSMediaRule- Throws:
DOMException
-
getCssRules
- Specified by:
getCssRulesin interfaceCSSMediaRule
-
getMedia
- Specified by:
getMediain interfaceCSSMediaRule
-
insertRule
- Specified by:
insertRulein interfaceCSSMediaRule- Throws:
DOMException
-
setRuleList
-