Package de.gsi.chart.ui.css
Class CssPropertyFactory.StylishEnumProperty<T extends java.lang.Enum<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.StylishEnumProperty<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.StylishEnumProperty<T extends java.lang.Enum<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 StylishEnumProperty(javafx.css.Styleable styleableBean, java.lang.String propertyName, T initialValue, boolean inherits, java.lang.Class<T> enumClass, java.util.function.BinaryOperator<T> filter, java.lang.Runnable... invalidateActions)The constructor of theStylishEnumProperty.
-
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
-
-
-
-
Constructor Detail
-
StylishEnumProperty
public StylishEnumProperty(javafx.css.Styleable styleableBean, java.lang.String propertyName, T initialValue, boolean inherits, java.lang.Class<T> enumClass, java.util.function.BinaryOperator<T> filter, java.lang.Runnable... invalidateActions)The constructor of theStylishEnumProperty.- Parameters:
styleableBean- the bean of thisObjectPropertypropertyName- the name of thisObjectPropertyinitialValue- the initial value of the wrappedEnum" @param inherits whether or not the CSS style can be inherited by child nodesinherits- whether or not the CSS style can be inherited by child nodesenumClass- the type of enum to readfilter- possibility to modify the new value based on old and updated valueinvalidateActions- lambda expressions executed after and before invalidation
-
-