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
ConstructorDescriptionCSSStyleRuleImpl
(CSSStyleSheet parentStyleSheet, CSSRule parentRule, org.w3c.css.sac.SelectorList selectors) -
Method Summary
Modifier and TypeMethodDescriptionReturn the list ofCSSProperty
of thisCSSRule
.org.w3c.css.sac.SelectorList
Return the list ofSelector
of thisCSSRule
.getStyle()
short
getType()
void
setSelectorText
(String selectorText) void
setStyle
(CSSStyleDeclaration styleDeclaration) toString()
Methods inherited from class org.eclipse.e4.ui.css.core.impl.dom.CSSRuleImpl
getParentRule, getParentStyleSheet, setCssText
Methods inherited from class org.eclipse.e4.ui.css.core.impl.dom.AbstractCSSNode
getCSSParser
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
getType
in interfaceCSSRule
- Specified by:
getType
in classCSSRuleImpl
-
getCssText
- Specified by:
getCssText
in interfaceCSSRule
- Overrides:
getCssText
in classCSSRuleImpl
-
getSelectorText
- Specified by:
getSelectorText
in interfaceCSSStyleRule
-
getStyle
- Specified by:
getStyle
in interfaceCSSStyleRule
-
setSelectorText
- Specified by:
setSelectorText
in interfaceCSSStyleRule
- Throws:
DOMException
-
getSelectorList
public org.w3c.css.sac.SelectorList getSelectorList()Description copied from interface:ExtendedCSSRule
Return the list ofSelector
of thisCSSRule
.- Specified by:
getSelectorList
in interfaceExtendedCSSRule
-
getCSSPropertyList
Description copied from interface:ExtendedCSSRule
Return the list ofCSSProperty
of thisCSSRule
.- Specified by:
getCSSPropertyList
in interfaceExtendedCSSRule
-
setStyle
-
toString
-