This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


org.w3c.dom.css
interface CSSStyleRule

All Superinterfaces:
CSSRule

public interface CSSStyleRule
extends CSSRule

The CSSStyleRule interface represents a single rule set in a CSS style sheet.

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


Field Summary
 
Fields inherited from class org.w3c.dom.css.CSSRule
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
 
Method Summary
 String

          The textual representation of the selector for the rule set.
 CSSStyleDeclaration

          The declaration-block of this rule set.
 void
setSelectorText(String selectorText)

          The textual representation of the selector for the rule set.
 
Methods inherited from class org.w3c.dom.css.CSSRule
getCssText, getParentRule, getParentStyleSheet, getType, setCssText
 

Method Detail

getSelectorText

public String getSelectorText()
The textual representation of the selector for the rule set. The implementation may have stripped out insignificant whitespace while parsing the selector.


getStyle

public CSSStyleDeclaration getStyle()
The declaration-block of this rule set.


setSelectorText

public void setSelectorText(String selectorText)
                     throws DOMException
The textual representation of the selector for the rule set. The implementation may have stripped out insignificant whitespace while parsing the selector.

Parameters:
selectorText
Throws:
DOMException - SYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this rule is readonly.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.