Package de.gsi.chart.ui.css
Class StylishObjectProperty<T>
- java.lang.Object
-
- javafx.beans.binding.ObjectExpression<T>
-
- javafx.beans.property.ReadOnlyObjectProperty<T>
-
- javafx.beans.property.ObjectProperty<T>
-
- javafx.beans.property.ObjectPropertyBase<T>
-
- javafx.css.StyleableObjectProperty<T>
-
- javafx.css.SimpleStyleableObjectProperty<T>
-
- de.gsi.chart.ui.css.StylishObjectProperty<T>
-
- Type Parameters:
T- generics type (for fluent interface)
- All Implemented Interfaces:
javafx.beans.Observable,javafx.beans.property.Property<T>,javafx.beans.property.ReadOnlyProperty<T>,javafx.beans.value.ObservableObjectValue<T>,javafx.beans.value.ObservableValue<T>,javafx.beans.value.WritableObjectValue<T>,javafx.beans.value.WritableValue<T>,javafx.css.StyleableProperty<T>
public class StylishObjectProperty<T> extends javafx.css.SimpleStyleableObjectProperty<T>Short-hand to reduce boiler-plate type code of customisation ofSimpleStyleableObjectPropertyto 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.RunnableinvalidateAction
-
Constructor Summary
Constructors Constructor Description StylishObjectProperty(javafx.css.CssMetaData<? extends javafx.css.Styleable,T> cssMetaData, java.lang.Object bean, java.lang.String name, T initialValue, java.lang.Runnable invalidateAction)The constructor of theStylishObjectProperty.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinvalidated()-
Methods inherited from class javafx.css.SimpleStyleableObjectProperty
getBean, getCssMetaData, getName
-
Methods inherited from class javafx.css.StyleableObjectProperty
applyStyle, bind, getStyleOrigin, set
-
Methods inherited from class javafx.beans.property.ObjectPropertyBase
addListener, addListener, fireValueChangedEvent, get, isBound, removeListener, removeListener, toString, unbind
-
Methods inherited from class javafx.beans.property.ObjectProperty
bindBidirectional, setValue, unbindBidirectional
-
Methods inherited from class javafx.beans.binding.ObjectExpression
asString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression
-
-
-
-
Constructor Detail
-
StylishObjectProperty
public StylishObjectProperty(javafx.css.CssMetaData<? extends javafx.css.Styleable,T> cssMetaData, java.lang.Object bean, java.lang.String name, T initialValue, java.lang.Runnable invalidateAction)
The constructor of theStylishObjectProperty.- Parameters:
cssMetaData- the CssMetaData associated with thisStyleablePropertybean- the bean of thisBooleanPropertyname- the name of thisBooleanPropertyinitialValue- the initial value of the wrappedObjectinvalidateAction- lambda expression executed in invalidated
-
-
Method Detail
-
invalidated
protected void invalidated()
- Overrides:
invalidatedin classjavafx.beans.property.ObjectPropertyBase<T>
-
-