Package de.gsi.chart.ui.css
Class CssPropertyFactory.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.CssPropertyFactory.StylishObjectProperty<T>
-
- 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>
- Enclosing class:
- CssPropertyFactory<S extends javafx.css.Styleable>
public class CssPropertyFactory.StylishObjectProperty<T> extends javafx.css.SimpleStyleableObjectProperty<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.BinaryOperator<T>filterprotected java.lang.RunnablepostInvalidateActionprotected java.lang.RunnablepreInvalidateAction
-
Constructor Summary
Constructors Constructor Description StylishObjectProperty(javafx.css.Styleable styleableBean, java.lang.String propertyName, T initialValue, boolean inherits, javafx.css.StyleConverter<?,T> converter, java.util.function.BinaryOperator<T> filter, java.lang.Runnable... invalidateActions)The constructor of theStylishObjectProperty.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidset(T v)-
Methods inherited from class javafx.css.SimpleStyleableObjectProperty
getBean, getCssMetaData, getName
-
Methods inherited from class javafx.beans.property.ObjectPropertyBase
addListener, addListener, fireValueChangedEvent, get, invalidated, 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
-
-
-
-
Field Detail
-
preInvalidateAction
protected final java.lang.Runnable preInvalidateAction
-
postInvalidateAction
protected final java.lang.Runnable postInvalidateAction
-
filter
protected final java.util.function.BinaryOperator<T> filter
-
-
Constructor Detail
-
StylishObjectProperty
public StylishObjectProperty(javafx.css.Styleable styleableBean, java.lang.String propertyName, T initialValue, boolean inherits, javafx.css.StyleConverter<?,T> converter, java.util.function.BinaryOperator<T> filter, java.lang.Runnable... invalidateActions)The constructor of theStylishObjectProperty.- Parameters:
styleableBean- the bean of thisObjectPropertypropertyName- the name of thisObjectPropertyinitialValue- the initial value of the wrappedObjectinherits- whether or not the CSS style can be inherited by child nodesconverter- the style converter to convert the style to the objectfilter- possibility to modify the new value based on old and updated valueinvalidateActions- lambda expressions executed after and before invalidation
-
-