Package javafx.css

Class Declaration


  • public final class Declaration
    extends Object
    Since:
    9
    • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object