public class CSSStyleRuleImpl extends AbstractCSSRuleImpl
| Constructor and Description |
|---|
CSSStyleRuleImpl(CSSStyleSheetImpl parentStyleSheet,
AbstractCSSRuleImpl parentRule,
SelectorList selectors)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCssText() |
SelectorList |
getSelectors() |
String |
getSelectorText() |
CSSStyleDeclarationImpl |
getStyle() |
int |
hashCode() |
void |
setCssText(String cssText)
Sets the css text.
|
void |
setSelectors(SelectorList selectors)
Updates the selectors.
|
void |
setSelectorText(String selectorText)
Sets the selector text.
|
void |
setStyle(CSSStyleDeclarationImpl style)
Replaces the style.
|
String |
toString() |
getParentRule, getParentStyleSheet, setParentRule, setParentStyleSheetgetLocator, setLocatorpublic CSSStyleRuleImpl(CSSStyleSheetImpl parentStyleSheet, AbstractCSSRuleImpl parentRule, SelectorList selectors)
parentStyleSheet - the parent style sheetparentRule - the parent ruleselectors - the selectorspublic SelectorList getSelectors()
public void setSelectors(SelectorList selectors)
selectors - the new selectorspublic 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 textDOMException - in clase of errorpublic 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 © 2019. All rights reserved.