- java.lang.Object
-
- javafx.css.Declaration
-
public final class Declaration extends Object
- Since:
- 9
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
One declaration is the equal to another regardless of the Rule to which the Declaration belongs.ParsedValue
getParsedValue()
String
getProperty()
Rule
getRule()
int
hashCode()
boolean
isImportant()
String
toString()
-
-
-
Method Detail
-
getParsedValue
public ParsedValue getParsedValue()
- Returns:
- ParsedValue contains the parsed declaration.
-
getProperty
public String getProperty()
- Returns:
- The CSS property name
-
getRule
public Rule getRule()
- Returns:
- The Rule to which this Declaration belongs.
-
isImportant
public final boolean isImportant()
-
equals
public boolean equals(Object obj)
One declaration is the equal to another regardless of the Rule to which the Declaration belongs. Only the property, value and importance are considered.
-
-