- java.lang.Object
-
- javafx.css.Declaration
-
public final class Declaration extends Object
- Since:
- 9
-
Method Summary
All MethodsInstance MethodsConcrete Methods Modifier and Type Method Description booleanequals(Object obj)One declaration is the equal to another regardless of the Rule to which the Declaration belongs.ParsedValuegetParsedValue()StringgetProperty()RulegetRule()inthashCode()booleanisImportant()StringtoString()
-
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.
-
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.