Class CssPropertyFactory.StylishStringProperty

  • All Implemented Interfaces:
    javafx.beans.Observable, javafx.beans.property.Property<java.lang.String>, javafx.beans.property.ReadOnlyProperty<java.lang.String>, javafx.beans.value.ObservableObjectValue<java.lang.String>, javafx.beans.value.ObservableStringValue, javafx.beans.value.ObservableValue<java.lang.String>, javafx.beans.value.WritableObjectValue<java.lang.String>, javafx.beans.value.WritableStringValue, javafx.beans.value.WritableValue<java.lang.String>, javafx.css.StyleableProperty<java.lang.String>
    Enclosing class:
    CssPropertyFactory<S extends javafx.css.Styleable>

    public class CssPropertyFactory.StylishStringProperty
    extends javafx.css.SimpleStyleableStringProperty
    • Field Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void set​(java.lang.String v)  
      • Methods inherited from class javafx.css.SimpleStyleableStringProperty

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

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

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

        bindBidirectional, bindBidirectional, bindBidirectional, setValue, unbindBidirectional, unbindBidirectional
      • Methods inherited from class javafx.beans.binding.StringExpression

        concat, getValue, getValueSafe, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, isEmpty, isEqualTo, isEqualTo, isEqualToIgnoreCase, isEqualToIgnoreCase, isNotEmpty, isNotEqualTo, isNotEqualTo, isNotEqualToIgnoreCase, isNotEqualToIgnoreCase, isNotNull, isNull, length, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, stringExpression
      • 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, setValue
    • 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.String> filter
    • Constructor Detail

      • StylishStringProperty

        public StylishStringProperty​(javafx.css.Styleable styleableBean,
                                     java.lang.String propertyName,
                                     java.lang.String initialValue,
                                     boolean inherits,
                                     java.util.function.BinaryOperator<java.lang.String> filter,
                                     java.lang.Runnable... invalidateActions)
        The constructor of the StylishStringProperty.
        Parameters:
        styleableBean - the bean of this ObjectProperty
        propertyName - the name of this ObjectProperty
        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​(java.lang.String v)
        Specified by:
        set in interface javafx.beans.value.WritableObjectValue<java.lang.String>
        Overrides:
        set in class javafx.css.StyleableStringProperty