Class CSSStyleDeclarationImpl
java.lang.Object
org.eclipse.e4.ui.css.core.impl.dom.CSSStyleDeclarationImpl
- All Implemented Interfaces:
CSSStyleDeclaration
- Direct Known Subclasses:
CSSComputedStyleImpl
W3C
CSSStyleDeclaration view over the internal property list; part of
the permanent compatibility facade returned by IStylingEngine.getStyle
and IThemeEngine.getStyle.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(CSSProperty property) intThe style rule this declaration belongs to, or null for computed styles.getPropertyCSSValue(String propertyName) getPropertyPriority(String propertyName) getPropertyValue(String propertyName) item(int index) removeProperty(String propertyName) voidsetCssText(String cssText) voidsetProperty(String propertyName, String value, String priority) protected voidsetReadOnly(boolean readOnly) toString()
-
Constructor Details
-
CSSStyleDeclarationImpl
-
-
Method Details
-
getCssText
- Specified by:
getCssTextin interfaceCSSStyleDeclaration
-
getLength
public int getLength()- Specified by:
getLengthin interfaceCSSStyleDeclaration
-
getParentRule
- Specified by:
getParentRulein interfaceCSSStyleDeclaration
-
getParentStyleRule
The style rule this declaration belongs to, or null for computed styles. -
getPropertyCSSValue
- Specified by:
getPropertyCSSValuein interfaceCSSStyleDeclaration
-
getPropertyPriority
- Specified by:
getPropertyPriorityin interfaceCSSStyleDeclaration
-
getPropertyValue
- Specified by:
getPropertyValuein interfaceCSSStyleDeclaration
-
item
- Specified by:
itemin interfaceCSSStyleDeclaration
-
removeProperty
- Specified by:
removePropertyin interfaceCSSStyleDeclaration- Throws:
DOMException
-
setCssText
- Specified by:
setCssTextin interfaceCSSStyleDeclaration- Throws:
DOMException
-
setProperty
- Specified by:
setPropertyin interfaceCSSStyleDeclaration- Throws:
DOMException
-
addProperty
-
getCSSPropertyList
-
setReadOnly
protected void setReadOnly(boolean readOnly) -
toString
-