Class CSSPropertyImpl
java.lang.Object
org.eclipse.e4.ui.css.core.impl.dom.CSSPropertyImpl
- All Implemented Interfaces:
CSSProperty
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCSSPropertyImpl
(String name, CSSValue value, boolean important) Creates new Property -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Return name of CSS property.getValue()
ReturnCSSValue
value of CSS property.boolean
Return true if CSS property is important and false otherwise.static boolean
sameName
(CSSProperty property, String testName) void
setImportant
(boolean important) void
Set theCSSValue
value of CSS property.
-
Field Details
-
IMPORTANT_IDENTIFIER
-
-
Constructor Details
-
CSSPropertyImpl
Creates new Property
-
-
Method Details
-
sameName
-
getName
Description copied from interface:CSSProperty
Return name of CSS property.- Specified by:
getName
in interfaceCSSProperty
-
getValue
Description copied from interface:CSSProperty
ReturnCSSValue
value of CSS property.- Specified by:
getValue
in interfaceCSSProperty
-
isImportant
public boolean isImportant()Description copied from interface:CSSProperty
Return true if CSS property is important and false otherwise.- Specified by:
isImportant
in interfaceCSSProperty
-
setImportant
public void setImportant(boolean important) - Specified by:
setImportant
in interfaceCSSProperty
-
setValue
Description copied from interface:CSSProperty
Set theCSSValue
value of CSS property.- Specified by:
setValue
in interfaceCSSProperty
-