Class Declaration
java.lang.Object
javafx.css.Declaration
This class serves as a container of a CSS property and its value.
- Since:
- 9
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some otherObject
is "equal to" this one.Gets the parsed value.Gets the CSS property name.getRule()
Gets theRule
to which thisDeclaration
belongs.final boolean
Gets the importance of thisDeclaration
.
-
Method Details
-
getParsedValue
-
getProperty
-
getRule
-
isImportant
public final boolean isImportant()Gets the importance of thisDeclaration
.- Returns:
- the important flag
-
equals
Indicates whether some otherObject
is "equal to" this one.One
Declaration
is equal to another regardless of theRule
to which theDeclaration
belongs. Only the property, value and importance are considered.
-