Class CssPropertyFactory.SimpleCssMetaData<T>

  • Enclosing class:
    CssPropertyFactory<S extends javafx.css.Styleable>

    public class CssPropertyFactory.SimpleCssMetaData<T>
    extends javafx.css.CssMetaData<S,​T>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SimpleCssMetaData​(javafx.css.Styleable styleableBean, java.lang.String propertyName, java.lang.String cssPropertyName, javafx.css.StyleConverter<?,​T> converter, T initialValue, boolean inherits, java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,​?>> subProperties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javafx.css.StyleableProperty<T> getStyleableProperty​(S styleBean)  
      boolean isSettable​(S styleBean)  
      • Methods inherited from class javafx.css.CssMetaData

        equals, getConverter, getInitialValue, getProperty, getSubProperties, hashCode, isInherits, set, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SimpleCssMetaData

        protected SimpleCssMetaData​(javafx.css.Styleable styleableBean,
                                    java.lang.String propertyName,
                                    java.lang.String cssPropertyName,
                                    javafx.css.StyleConverter<?,​T> converter,
                                    T initialValue,
                                    boolean inherits,
                                    java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,​?>> subProperties)
        Parameters:
        styleableBean - the styleableBean bean/class the property is declared in
        propertyName - FX property name (ie. "myFavouriteProperty")
        cssPropertyName - CSS property name (ie. "-fx-my-favourite-property")
        converter - style converter to interpret styles
        initialValue - the value assigned to the property at initialization
        inherits - whether the class inherits this style from its parents
        subProperties - list of sub properties
    • Method Detail

      • isSettable

        public boolean isSettable​(S styleBean)
        Specified by:
        isSettable in class javafx.css.CssMetaData<S extends javafx.css.Styleable,​T>
      • getStyleableProperty

        public javafx.css.StyleableProperty<T> getStyleableProperty​(S styleBean)
        Specified by:
        getStyleableProperty in class javafx.css.CssMetaData<S extends javafx.css.Styleable,​T>