public class CSSPageRuleImpl extends AbstractCSSRuleImpl implements org.w3c.dom.css.CSSPageRule
CSSPageRule
.
TODO: Implement setSelectorText()CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
Constructor and Description |
---|
CSSPageRuleImpl() |
CSSPageRuleImpl(CSSStyleSheetImpl parentStyleSheet,
org.w3c.dom.css.CSSRule parentRule,
String pseudoPage) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCssText(CSSFormat format)
Returns a string representation of the rule based on the given format.
|
String |
getSelectorText() |
org.w3c.dom.css.CSSStyleDeclaration |
getStyle() |
short |
getType() |
int |
hashCode() |
void |
setCssText(String cssText) |
void |
setPseudoPage(String pseudoPage) |
void |
setSelectorText(String selectorText) |
void |
setStyle(CSSStyleDeclarationImpl style) |
String |
toString() |
getCssText, getParentRule, getParentStyleSheet, getParentStyleSheetImpl, setParentRule, setParentStyleSheet
getUserData, getUserDataMap, setUserData, setUserDataMap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCssText, getParentRule, getParentStyleSheet
public CSSPageRuleImpl(CSSStyleSheetImpl parentStyleSheet, org.w3c.dom.css.CSSRule parentRule, String pseudoPage)
public CSSPageRuleImpl()
public short getType()
getType
in interface org.w3c.dom.css.CSSRule
public String getCssText(CSSFormat format)
getCssText
in interface CSSFormatable
getCssText
in class AbstractCSSRuleImpl
format
- the formatting rulespublic void setCssText(String cssText) throws DOMException
setCssText
in interface org.w3c.dom.css.CSSRule
DOMException
public String getSelectorText()
getSelectorText
in interface org.w3c.dom.css.CSSPageRule
public void setSelectorText(String selectorText) throws DOMException
setSelectorText
in interface org.w3c.dom.css.CSSPageRule
DOMException
public org.w3c.dom.css.CSSStyleDeclaration getStyle()
getStyle
in interface org.w3c.dom.css.CSSPageRule
public void setPseudoPage(String pseudoPage)
public void setStyle(CSSStyleDeclarationImpl style)
public boolean equals(Object obj)
equals
in class AbstractCSSRuleImpl
public int hashCode()
hashCode
in class AbstractCSSRuleImpl
Copyright © 1999–2022. All rights reserved.