Package de.gsi.chart.ui.css
Class StylishBooleanProperty
- java.lang.Object
-
- javafx.beans.binding.BooleanExpression
-
- javafx.beans.property.ReadOnlyBooleanProperty
-
- javafx.beans.property.BooleanProperty
-
- javafx.beans.property.BooleanPropertyBase
-
- javafx.css.StyleableBooleanProperty
-
- javafx.css.SimpleStyleableBooleanProperty
-
- de.gsi.chart.ui.css.StylishBooleanProperty
-
- All Implemented Interfaces:
javafx.beans.Observable,javafx.beans.property.Property<java.lang.Boolean>,javafx.beans.property.ReadOnlyProperty<java.lang.Boolean>,javafx.beans.value.ObservableBooleanValue,javafx.beans.value.ObservableValue<java.lang.Boolean>,javafx.beans.value.WritableBooleanValue,javafx.beans.value.WritableValue<java.lang.Boolean>,javafx.css.StyleableProperty<java.lang.Boolean>
public class StylishBooleanProperty extends javafx.css.SimpleStyleableBooleanPropertyShort-hand to reduce boiler-plate type code of customisation of SimpleStyleableBooleanProperty 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.RunnableinvalidateAction
-
Constructor Summary
Constructors Constructor Description StylishBooleanProperty(javafx.css.CssMetaData<? extends javafx.css.Styleable,java.lang.Boolean> cssMetaData, java.lang.Object bean, java.lang.String name, boolean initialValue, java.lang.Runnable invalidateAction)The constructor of theStylishBooleanProperty.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinvalidated()-
Methods inherited from class javafx.css.SimpleStyleableBooleanProperty
getBean, getCssMetaData, getName
-
Methods inherited from class javafx.css.StyleableBooleanProperty
applyStyle, bind, getStyleOrigin, set
-
Methods inherited from class javafx.beans.property.BooleanPropertyBase
addListener, addListener, fireValueChangedEvent, get, isBound, removeListener, removeListener, toString, unbind
-
Methods inherited from class javafx.beans.property.BooleanProperty
asObject, bindBidirectional, booleanProperty, setValue, unbindBidirectional
-
Methods inherited from class javafx.beans.binding.BooleanExpression
and, asString, booleanExpression, booleanExpression, getValue, isEqualTo, isNotEqualTo, not, or
-
-
-
-
Constructor Detail
-
StylishBooleanProperty
public StylishBooleanProperty(javafx.css.CssMetaData<? extends javafx.css.Styleable,java.lang.Boolean> cssMetaData, java.lang.Object bean, java.lang.String name, boolean initialValue, java.lang.Runnable invalidateAction)The constructor of theStylishBooleanProperty.- 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
-
-