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 TypeMethodDescriptionbooleanIndicates whether some otherObjectis "equal to" this one.Gets the parsed value.Gets the CSS property name.getRule()Gets theRuleto which thisDeclarationbelongs.final booleanGets the importance of thisDeclaration.
-
Method Details
-
getParsedValue
Gets the parsed value.- Returns:
- the parsed value
-
getProperty
Gets the CSS property name.- Returns:
- the CSS property
-
getRule
Gets theRuleto which thisDeclarationbelongs.- Returns:
- the
Rule
-
isImportant
public final boolean isImportant()Gets the importance of thisDeclaration.- Returns:
- the important flag
-
equals
Indicates whether some otherObjectis "equal to" this one.One
Declarationis equal to another regardless of theRuleto which theDeclarationbelongs. Only the property, value and importance are considered.
-