Home » xml-commons-external-1.4.01-src » org.w3c » dom » css » [javadoc | source]
public interface: CSSMediaRule [javadoc | source]

All Implemented Interfaces:

The CSSMediaRule interface represents a @media rule in a CSS style sheet. A @media rule can be used to delimit style rules for specific media types.

See also the Document Object Model (DOM) Level 2 Style Specification.

Method from org.w3c.dom.css.CSSMediaRule Summary:
deleteRule,   getCssRules,   getMedia,   insertRule
Method from org.w3c.dom.css.CSSMediaRule Detail:
 public  void deleteRule(int index) throws DOMException
    Used to delete a rule from the media block.
 public CSSRuleList getCssRules()
    A list of all CSS rules contained within the media block.
 public MediaList getMedia()
    A list of media types for this rule.
 public int insertRule(String rule,
    int index) throws DOMException
    Used to insert a new rule into the media block.