Class CSSPropertyImpl
java.lang.Object
org.eclipse.e4.ui.css.core.impl.dom.CSSPropertyImpl
- All Implemented Interfaces:
CSSProperty
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCSSPropertyImpl(String name, CSSValue value, boolean important) Creates new Property -
Method Summary
Modifier and TypeMethodDescriptiongetName()Return name of CSS property.getValue()ReturnCSSValuevalue of CSS property.booleanReturn true if CSS property is important and false otherwise.static booleansameName(CSSProperty property, String testName) voidsetImportant(boolean important) voidSet theCSSValuevalue of CSS property.
-
Field Details
-
IMPORTANT_IDENTIFIER
-
-
Constructor Details
-
CSSPropertyImpl
Creates new Property
-
-
Method Details
-
sameName
-
getName
Description copied from interface:CSSPropertyReturn name of CSS property.- Specified by:
getNamein interfaceCSSProperty
-
getValue
Description copied from interface:CSSPropertyReturnCSSValuevalue of CSS property.- Specified by:
getValuein interfaceCSSProperty
-
isImportant
public boolean isImportant()Description copied from interface:CSSPropertyReturn true if CSS property is important and false otherwise.- Specified by:
isImportantin interfaceCSSProperty
-
setImportant
public void setImportant(boolean important) - Specified by:
setImportantin interfaceCSSProperty
-
setValue
Description copied from interface:CSSPropertySet theCSSValuevalue of CSS property.- Specified by:
setValuein interfaceCSSProperty
-