public class CSSStyleRuleImpl extends AbstractCSSRuleImpl implements org.w3c.dom.css.CSSStyleRule, Serializable
CSSStyleRule.parentRule, parentStyleSheetCHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE| Constructor and Description |
|---|
CSSStyleRuleImpl() |
CSSStyleRuleImpl(CSSStyleSheetImpl parentStyleSheet,
org.w3c.dom.css.CSSRule parentRule,
org.w3c.css.sac.SelectorList selectors) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCssText() |
org.w3c.css.sac.SelectorList |
getSelectors() |
String |
getSelectorText() |
org.w3c.dom.css.CSSStyleDeclaration |
getStyle() |
short |
getType() |
void |
setCssText(String cssText) |
void |
setSelectors(org.w3c.css.sac.SelectorList selectors) |
void |
setSelectorText(String selectorText) |
void |
setStyle(org.w3c.dom.css.CSSStyleDeclaration style) |
String |
toString() |
getParentRule, getParentStyleSheet, setParentRule, setParentStyleSheetgetUserData, getUserDataMap, setUserData, setUserDataMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParentRule, getParentStyleSheetpublic CSSStyleRuleImpl(CSSStyleSheetImpl parentStyleSheet, org.w3c.dom.css.CSSRule parentRule, org.w3c.css.sac.SelectorList selectors)
public CSSStyleRuleImpl()
public org.w3c.css.sac.SelectorList getSelectors()
public void setSelectors(org.w3c.css.sac.SelectorList selectors)
public short getType()
getType in interface org.w3c.dom.css.CSSRulepublic String getCssText()
getCssText in interface org.w3c.dom.css.CSSRulepublic void setCssText(String cssText) throws DOMException
setCssText in interface org.w3c.dom.css.CSSRuleDOMExceptionpublic String getSelectorText()
getSelectorText in interface org.w3c.dom.css.CSSStyleRulepublic void setSelectorText(String selectorText) throws DOMException
setSelectorText in interface org.w3c.dom.css.CSSStyleRuleDOMExceptionpublic org.w3c.dom.css.CSSStyleDeclaration getStyle()
getStyle in interface org.w3c.dom.css.CSSStyleRulepublic void setStyle(org.w3c.dom.css.CSSStyleDeclaration style)
Copyright © 2018. All rights reserved.