public class CSSPageRuleImpl extends AbstractCSSRuleImpl
| Constructor and Description |
|---|
CSSPageRuleImpl(CSSStyleSheetImpl parentStyleSheet,
AbstractCSSRuleImpl parentRule,
String pseudoPage)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCssText() |
String |
getSelectorText() |
CSSStyleDeclarationImpl |
getStyle() |
int |
hashCode() |
void |
setCssText(String cssText)
Sets the css text.
|
void |
setSelectorText(String selectorText)
Sets the selector text.
|
void |
setStyle(CSSStyleDeclarationImpl style)
Changes the style.
|
String |
toString() |
getParentRule, getParentStyleSheet, setParentRule, setParentStyleSheetgetLocator, setLocatorpublic CSSPageRuleImpl(CSSStyleSheetImpl parentStyleSheet, AbstractCSSRuleImpl parentRule, String pseudoPage)
parentStyleSheet - the parent style sheetparentRule - the parent rulepseudoPage - the pseudo pagepublic String getCssText()
getCssText in class AbstractCSSRuleImplpublic void setCssText(String cssText) throws DOMException
setCssText in class AbstractCSSRuleImplcssText - the new css textDOMExceptionpublic String getSelectorText()
public void setSelectorText(String selectorText) throws DOMException
selectorText - the new selector textDOMExceptionpublic CSSStyleDeclarationImpl getStyle()
public void setStyle(CSSStyleDeclarationImpl style)
style - the new stylepublic boolean equals(Object obj)
equals in class AbstractCSSRuleImplpublic int hashCode()
hashCode in class AbstractCSSRuleImplCopyright © 2022. All rights reserved.