info.informatica.doc.style.css.dom
Class DOMCSSMediaRule
java.lang.Object
info.informatica.doc.style.css.dom.BaseCSSRule
info.informatica.doc.style.css.dom.DOMCSSMediaRule
- All Implemented Interfaces:
- org.w3c.dom.css.CSSMediaRule, org.w3c.dom.css.CSSRule
public class DOMCSSMediaRule
- extends BaseCSSRule
- implements org.w3c.dom.css.CSSMediaRule
Implementation of CSSMediaRule.
- Author:
- Carlos Amengual (amengual at informatica.info)
| Fields inherited from interface org.w3c.dom.css.CSSRule |
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE |
| 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 |
getParentRule, getParentStyleSheet, getType |
DOMCSSMediaRule
public DOMCSSMediaRule(org.w3c.dom.css.CSSStyleSheet parentSheet)
getMedia
public org.w3c.dom.stylesheets.MediaList getMedia()
- Specified by:
getMedia in interface org.w3c.dom.css.CSSMediaRule
getCssRules
public org.w3c.dom.css.CSSRuleList getCssRules()
- Specified by:
getCssRules in interface org.w3c.dom.css.CSSMediaRule
insertRule
public int insertRule(String rule,
int index)
throws DOMException
- Specified by:
insertRule in interface org.w3c.dom.css.CSSMediaRule
- Throws:
DOMException
deleteRule
public void deleteRule(int index)
throws DOMException
- Specified by:
deleteRule in interface org.w3c.dom.css.CSSMediaRule
- Throws:
DOMException
insertRule
public int insertRule(org.w3c.dom.css.CSSRule cssrule,
int index)
addRule
public int addRule(org.w3c.dom.css.CSSRule cssrule)
getCssText
public String getCssText()
- Specified by:
getCssText in interface org.w3c.dom.css.CSSRule- Specified by:
getCssText in class BaseCSSRule
setCssText
public void setCssText(String cssText)
throws DOMException
- Specified by:
setCssText in interface org.w3c.dom.css.CSSRule- Specified by:
setCssText in class BaseCSSRule
- Throws:
DOMException
Copyright © 2011 informatica.info. All Rights Reserved.