Class 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>

    public class StylishStringProperty
    extends javafx.css.SimpleStyleableStringProperty
    Short-hand to reduce boiler-plate type code of customisation of SimpleStyleableStringProperty to always include an axis re-layout. N.B. Also, the warning of inheriting more than 'n' generations is thrown only once this way.
    Author:
    rstein
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Runnable invalidateAction  
    • Constructor Summary

      Constructors 
      Constructor Description
      StylishStringProperty​(javafx.css.CssMetaData<? extends javafx.css.Styleable,​java.lang.String> cssMetaData, java.lang.Object bean, java.lang.String name, java.lang.String initialValue, java.lang.Runnable invalidateAction)
      The constructor of the StylishStringProperty.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void invalidated()  
      • Methods inherited from class javafx.css.SimpleStyleableStringProperty

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

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

        addListener, addListener, fireValueChangedEvent, get, 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

      • invalidateAction

        protected java.lang.Runnable invalidateAction
    • Constructor Detail

      • StylishStringProperty

        public StylishStringProperty​(javafx.css.CssMetaData<? extends javafx.css.Styleable,​java.lang.String> cssMetaData,
                                     java.lang.Object bean,
                                     java.lang.String name,
                                     java.lang.String initialValue,
                                     java.lang.Runnable invalidateAction)
        The constructor of the StylishStringProperty.
        Parameters:
        cssMetaData - the CssMetaData associated with this StylishDoubleProperty
        bean - the bean of this BooleanProperty
        name - the name of this BooleanProperty
        initialValue - the initial value of the wrapped Object
        invalidateAction - lambda expression executed in invalidated
    • Method Detail

      • invalidated

        protected void invalidated()
        Overrides:
        invalidated in class javafx.beans.property.StringPropertyBase