Class CssPropertyFactory.StylishBooleanProperty

  • All Implemented Interfaces:
    javafx.beans.Observable, javafx.beans.property.Property<java.lang.Boolean>, javafx.beans.property.ReadOnlyProperty<java.lang.Boolean>, javafx.beans.value.ObservableBooleanValue, javafx.beans.value.ObservableValue<java.lang.Boolean>, javafx.beans.value.WritableBooleanValue, javafx.beans.value.WritableValue<java.lang.Boolean>, javafx.css.StyleableProperty<java.lang.Boolean>
    Enclosing class:
    CssPropertyFactory<S extends javafx.css.Styleable>

    public class CssPropertyFactory.StylishBooleanProperty
    extends javafx.css.SimpleStyleableBooleanProperty
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.function.BinaryOperator<java.lang.Boolean> filter  
      protected java.lang.Runnable postInvalidateAction  
      protected java.lang.Runnable preInvalidateAction  
    • Constructor Summary

      Constructors 
      Constructor Description
      StylishBooleanProperty​(javafx.css.Styleable styleableBean, java.lang.String propertyName, boolean initialValue, boolean inherits, java.util.function.BinaryOperator<java.lang.Boolean> filter, java.lang.Runnable... invalidateActions)
      The constructor of the StylishBooleanProperty.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void set​(boolean v)  
      • Methods inherited from class javafx.css.SimpleStyleableBooleanProperty

        getBean, getCssMetaData, getName
      • Methods inherited from class javafx.css.StyleableBooleanProperty

        applyStyle, bind, getStyleOrigin
      • Methods inherited from class javafx.beans.property.BooleanPropertyBase

        addListener, addListener, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, toString, unbind
      • Methods inherited from class javafx.beans.property.BooleanProperty

        asObject, bindBidirectional, booleanProperty, setValue, unbindBidirectional
      • Methods inherited from class javafx.beans.property.ReadOnlyBooleanProperty

        readOnlyBooleanProperty
      • Methods inherited from class javafx.beans.binding.BooleanExpression

        and, asString, booleanExpression, booleanExpression, getValue, isEqualTo, isNotEqualTo, not, or
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface javafx.beans.value.ObservableValue

        getValue
      • Methods inherited from interface javafx.beans.value.WritableValue

        getValue
    • Field Detail

      • preInvalidateAction

        protected final java.lang.Runnable preInvalidateAction
      • postInvalidateAction

        protected final java.lang.Runnable postInvalidateAction
      • filter

        protected final java.util.function.BinaryOperator<java.lang.Boolean> filter
    • Constructor Detail

      • StylishBooleanProperty

        public StylishBooleanProperty​(javafx.css.Styleable styleableBean,
                                      java.lang.String propertyName,
                                      boolean initialValue,
                                      boolean inherits,
                                      java.util.function.BinaryOperator<java.lang.Boolean> filter,
                                      java.lang.Runnable... invalidateActions)
        The constructor of the StylishBooleanProperty.
        Parameters:
        styleableBean - the bean of this BooleanProperty
        propertyName - the name of this BooleanProperty
        initialValue - the initial value of the wrapped Object
        inherits - whether or not the CSS style can be inherited by child nodes
        filter - possibility to modify the new value based on old and updated value
        invalidateActions - lambda expressions executed after and before invalidation
    • Method Detail

      • set

        public void set​(boolean v)
        Specified by:
        set in interface javafx.beans.value.WritableBooleanValue
        Overrides:
        set in class javafx.css.StyleableBooleanProperty