java.lang.Object
javafx.css.Declaration
This class serves as a container of a CSS property and its value.
- Since:
- 9
- 
Method SummaryModifier 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- 
getParsedValueGets the parsed value.- Returns:
- the parsed value
 
- 
getPropertyGets the CSS property name.- Returns:
- the CSS property
 
- 
getRuleGets theRuleto which thisDeclarationbelongs.- Returns:
- the Rule
 
- 
isImportantpublic final boolean isImportant()Gets the importance of thisDeclaration.- Returns:
- the important flag
 
- 
equalsIndicates 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.
 
-