Class CSSStyleRuleImpl
java.lang.Object
org.eclipse.e4.ui.css.core.impl.dom.AbstractCSSNode
org.eclipse.e4.ui.css.core.impl.dom.CSSRuleImpl
org.eclipse.e4.ui.css.core.impl.dom.CSSStyleRuleImpl
- All Implemented Interfaces:
ExtendedCSSRule,CSSRule,CSSStyleRule
-
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
ConstructorsConstructorDescriptionCSSStyleRuleImpl(CSSStyleSheet parentStyleSheet, CSSRule parentRule, org.w3c.css.sac.SelectorList selectors) -
Method Summary
Modifier and TypeMethodDescriptionReturn the list ofCSSPropertyof thisCSSRule.org.w3c.css.sac.SelectorListReturn the list ofSelectorof thisCSSRule.getStyle()shortgetType()voidsetSelectorText(String selectorText) voidsetStyle(CSSStyleDeclaration styleDeclaration) toString()Methods inherited from class org.eclipse.e4.ui.css.core.impl.dom.CSSRuleImpl
getParentRule, getParentStyleSheet, setCssTextMethods inherited from class org.eclipse.e4.ui.css.core.impl.dom.AbstractCSSNode
getCSSParserMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.css.CSSRule
getParentRule, getParentStyleSheet, setCssText
-
Constructor Details
-
CSSStyleRuleImpl
public CSSStyleRuleImpl(CSSStyleSheet parentStyleSheet, CSSRule parentRule, org.w3c.css.sac.SelectorList selectors)
-
-
Method Details
-
getType
public short getType()- Specified by:
getTypein interfaceCSSRule- Specified by:
getTypein classCSSRuleImpl
-
getCssText
- Specified by:
getCssTextin interfaceCSSRule- Overrides:
getCssTextin classCSSRuleImpl
-
getSelectorText
- Specified by:
getSelectorTextin interfaceCSSStyleRule
-
getStyle
- Specified by:
getStylein interfaceCSSStyleRule
-
setSelectorText
- Specified by:
setSelectorTextin interfaceCSSStyleRule- Throws:
DOMException
-
getSelectorList
public org.w3c.css.sac.SelectorList getSelectorList()Description copied from interface:ExtendedCSSRuleReturn the list ofSelectorof thisCSSRule.- Specified by:
getSelectorListin interfaceExtendedCSSRule
-
getCSSPropertyList
Description copied from interface:ExtendedCSSRuleReturn the list ofCSSPropertyof thisCSSRule.- Specified by:
getCSSPropertyListin interfaceExtendedCSSRule
-
setStyle
-
toString
-