public abstract class StyleableBooleanProperty extends BooleanPropertyBase implements StyleableProperty<java.lang.Boolean>
BooleanPropertyBase
and provides a partial
implementation of a StyleableProperty
. The method
StyleableProperty.getCssMetaData()
is not implemented.
This class is used to make a javafx.beans.property.BooleanProperty
,
that would otherwise be implemented as a BooleanPropertyBase
,
styleable by CSS.javafx.beans.property.BooleanPropertyBase
,
CssMetaData
,
StyleableProperty
Modifier and Type | Field and Description |
---|---|
private StyleOrigin |
origin |
Constructor and Description |
---|
StyleableBooleanProperty()
The constructor of the
StyleableBooleanProperty . |
StyleableBooleanProperty(boolean initialValue)
The constructor of the
StyleableBooleanProperty . |
Modifier and Type | Method and Description |
---|---|
void |
applyStyle(StyleOrigin origin,
java.lang.Boolean v)
This method is called from CSS code to set the value of the property.
|
void |
bind(<any> observable) |
StyleOrigin |
getStyleOrigin()
Tells the origin of the value of the property.
|
void |
set(boolean v) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCssMetaData
private StyleOrigin origin
public StyleableBooleanProperty()
StyleableBooleanProperty
.public StyleableBooleanProperty(boolean initialValue)
StyleableBooleanProperty
.initialValue
- the initial value of the wrapped Object
public void applyStyle(StyleOrigin origin, java.lang.Boolean v)
applyStyle
in interface StyleableProperty<java.lang.Boolean>
origin
- the originv
- the valuepublic void bind(<any> observable)
public void set(boolean v)
public StyleOrigin getStyleOrigin()
getStyleOrigin
in interface StyleableProperty<java.lang.Boolean>