API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.w3c.dom.css. CSSRule View Source
Author(s)
Since
DOM Level 2
Version
Serial
Hierarchy
 CSSRule
Subinterfaces
Description
public interface CSSRule
  The CSSRule interface is the abstract base interface for any type of CSS statement.
See also:   
Methods
Hide/Show inherited methods
public String getCssText ()
  The parsable textual representation of the rule.
public CSSRule getParentRule ()
  If this rule is contained inside another rule (e.g.
public CSSStyleSheet getParentStyleSheet ()
The style sheet that contains this rule.
public short getType ()
  The type of the rule, as defined above.
public void setCssText (String cssText) throws DOMException
  The parsable textual representation of the rule.
Fields
Hide/Show inherited fields
publicfinalstatic short CHARSET_RULE = "2"
The rule is a CSSCharsetRule.
publicfinalstatic short FONT_FACE_RULE = "5"
The rule is a CSSFontFaceRule.
publicfinalstatic short IMPORT_RULE = "3"
The rule is a CSSImportRule.
publicfinalstatic short MEDIA_RULE = "4"
The rule is a CSSMediaRule.
publicfinalstatic short PAGE_RULE = "6"
The rule is a CSSPageRule.
publicfinalstatic short STYLE_RULE = "1"
The rule is a CSSStyleRule.
publicfinalstatic short UNKNOWN_RULE = "0"
The rule is a CSSUnknownRule.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar