|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.CSSRule
public class CSSRule
The CSSRule
interface is the abstract base interface
for any type of CSS statement
. This includes both rule sets
and
at-rules . An implementation is expected to preserve all rules
specified in a CSS style sheet, even if it is not recognized.
Unrecognized rules are represented using the CSSUnknownRule
interface.
Constructor Summary | |
---|---|
|
CSSRule()
|
protected |
CSSRule(java.lang.Class dummy)
|
|
CSSRule(CSSRule other)
|
Method Summary | |
---|---|
java.lang.String |
cssText()
The parsable textual representation of the rule. |
boolean |
isNull()
not part of the DOM |
CSSRule |
parentRule()
If this rule is contained inside another rule (e.g. |
CSSStyleSheet |
parentStyleSheet()
The style sheet that contains this rule. |
void |
setCssText(java.lang.String arg1)
see cssText HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at this point in the style sheet. |
short |
type()
The type of the rule, as defined above. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CSSRule(java.lang.Class dummy)
public CSSRule()
public CSSRule(CSSRule other)
Method Detail |
---|
public short type()
CSSRule
interface to the
specific derived interface implied by the type
.
public java.lang.String cssText()
public void setCssText(java.lang.String arg1)
public CSSStyleSheet parentStyleSheet()
public CSSRule parentRule()
null
.
public boolean isNull()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |