|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.steadystate.css.dom.CSSPageRuleImpl
public class CSSPageRuleImpl
TO DO: Implement setSelectorText()
| Field Summary |
|---|
| Fields inherited from interface org.w3c.dom.css.CSSRule |
|---|
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE |
| Constructor Summary | |
|---|---|
CSSPageRuleImpl(CSSStyleSheetImpl parentStyleSheet,
CSSRule parentRule,
java.lang.String ident,
java.lang.String pseudoPage)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCssText()
The parsable textual representation of the rule. |
CSSRule |
getParentRule()
If this rule is contained inside another rule (e.g. |
CSSStyleSheet |
getParentStyleSheet()
The style sheet that contains this rule. |
java.lang.String |
getSelectorText()
The parsable textual representation of the page selector for the rule. |
CSSStyleDeclaration |
getStyle()
The declaration-block of this rule. |
short |
getType()
The type of the rule, as defined above. |
void |
setCssText(java.lang.String cssText)
|
protected void |
setIdent(java.lang.String ident)
|
protected void |
setPseudoPage(java.lang.String pseudoPage)
|
void |
setSelectorText(java.lang.String selectorText)
|
void |
setStyle(CSSStyleDeclarationImpl style)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSSPageRuleImpl(CSSStyleSheetImpl parentStyleSheet,
CSSRule parentRule,
java.lang.String ident,
java.lang.String pseudoPage)
| Method Detail |
|---|
public short getType()
CSSRuleCSSRule interface to the specific
derived interface implied by the type.
getType in interface CSSRulepublic java.lang.String getCssText()
CSSRule
getCssText in interface CSSRule
public void setCssText(java.lang.String cssText)
throws org.w3c.dom.DOMException
setCssText in interface CSSRuleorg.w3c.dom.DOMExceptionpublic CSSStyleSheet getParentStyleSheet()
CSSRule
getParentStyleSheet in interface CSSRulepublic CSSRule getParentRule()
CSSRulenull.
getParentRule in interface CSSRulepublic java.lang.String getSelectorText()
CSSPageRule
getSelectorText in interface CSSPageRule
public void setSelectorText(java.lang.String selectorText)
throws org.w3c.dom.DOMException
setSelectorText in interface CSSPageRuleorg.w3c.dom.DOMExceptionpublic CSSStyleDeclaration getStyle()
CSSPageRule
getStyle in interface CSSPageRuleprotected void setIdent(java.lang.String ident)
protected void setPseudoPage(java.lang.String pseudoPage)
public void setStyle(CSSStyleDeclarationImpl style)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||