Package javafx.css

Interface StyleableProperty<T>

    • Method Detail

      • applyStyle

        void applyStyle​(StyleOrigin origin,
                        T value)
        This method is called from CSS code to set the value of the property.
        Parameters:
        origin - the origin
        value - the value
      • getStyleOrigin

        StyleOrigin getStyleOrigin()
        Tells the origin of the value of the property. This is needed to determine whether or not CSS can override the value.
        Returns:
        the style origin
      • getCssMetaData

        CssMetaData<? extends Styleable,​T> getCssMetaData()
        Reflect back the CssMetaData that corresponds to this javafx.beans.property.StyleableProperty
        Returns:
        the corresponding CssMetaData