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.
Method Summary |
String |
The textual representation of the selector for the rule set.
|
CSSStyleDeclaration |
The declaration-block of this rule set.
|
void |
The textual representation of the selector for the rule set.
|
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:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.