Package org.loboevolution.html.js.css
Class CSSMediaRuleImpl
java.lang.Object
org.loboevolution.html.js.css.CSSRuleImpl
org.loboevolution.html.js.css.AbstractCSSStyleRule
org.loboevolution.html.js.css.CSSMediaRuleImpl
- All Implemented Interfaces:
CSSMediaRule
,CSSRule
,CSSStyleRule
CSSMediaRuleImpl class.
-
Field Summary
Fields inherited from interface org.loboevolution.css.CSSRule
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteRule
(int index) getMedia()
getMedia.int
insertRule
(String rule, int index) void
setMedia.toString()
Methods inherited from class org.loboevolution.html.js.css.AbstractCSSStyleRule
getParentRule, getSelectorText, getStyle
Methods inherited from class org.loboevolution.html.js.css.CSSRuleImpl
getCssText, getParentStyleSheet, getType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.loboevolution.css.CSSRule
getCssText, getParentRule, getParentStyleSheet, getType
-
Constructor Details
-
CSSMediaRuleImpl
-
-
Method Details
-
getMedia
Description copied from interface:CSSMediaRule
getMedia.
- Specified by:
getMedia
in interfaceCSSMediaRule
- Returns:
- a
MediaList
object.
-
setMedia
Description copied from interface:CSSMediaRule
setMedia.
media aString
object.- Specified by:
setMedia
in interfaceCSSMediaRule
-
getCssRules
- Specified by:
getCssRules
in interfaceCSSMediaRule
-
insertRule
- Specified by:
insertRule
in interfaceCSSMediaRule
-
deleteRule
public void deleteRule(int index) - Specified by:
deleteRule
in interfaceCSSMediaRule
-
toString
- Overrides:
toString
in classCSSRuleImpl
-