public class SimpleStyleableBooleanProperty extends StyleableBooleanProperty
SimpleBooleanProperty
and provides a full
implementation of a StyleableProperty
.
This class is used to make a javafx.beans.property.BooleanProperty
,
that would otherwise be implemented as a SimpleBooleanProperty
,
styleable by CSS.javafx.beans.property.SimpleBooleanProperty
,
CssMetaData
,
StyleableProperty
,
StyleableBooleanProperty
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
bean |
private CssMetaData<? extends Styleable,java.lang.Boolean> |
cssMetaData |
private static java.lang.Object |
DEFAULT_BEAN |
private static java.lang.String |
DEFAULT_NAME |
private java.lang.String |
name |
Constructor and Description |
---|
SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,java.lang.Boolean> cssMetaData)
The constructor of the
SimpleStyleableBooleanProperty . |
SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,java.lang.Boolean> cssMetaData,
boolean initialValue)
The constructor of the
SimpleStyleableBooleanProperty . |
SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,java.lang.Boolean> cssMetaData,
java.lang.Object bean,
java.lang.String name)
The constructor of the
SimpleStyleableBooleanProperty . |
SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,java.lang.Boolean> cssMetaData,
java.lang.Object bean,
java.lang.String name,
boolean initialValue)
The constructor of the
SimpleStyleableBooleanProperty . |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getBean() |
CssMetaData<? extends Styleable,java.lang.Boolean> |
getCssMetaData()
Reflect back the CssMetaData that corresponds to this
javafx.beans.property.StyleableProperty |
java.lang.String |
getName() |
applyStyle, bind, getStyleOrigin, set
private static final java.lang.Object DEFAULT_BEAN
private static final java.lang.String DEFAULT_NAME
private final java.lang.Object bean
private final java.lang.String name
private final CssMetaData<? extends Styleable,java.lang.Boolean> cssMetaData
public SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,java.lang.Boolean> cssMetaData)
SimpleStyleableBooleanProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
public SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,java.lang.Boolean> cssMetaData, boolean initialValue)
SimpleStyleableBooleanProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
initialValue
- the initial value of the wrapped Object
public SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,java.lang.Boolean> cssMetaData, java.lang.Object bean, java.lang.String name)
SimpleStyleableBooleanProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
bean
- the bean of this BooleanProperty
name
- the name of this BooleanProperty
public SimpleStyleableBooleanProperty(CssMetaData<? extends Styleable,java.lang.Boolean> cssMetaData, java.lang.Object bean, java.lang.String name, boolean initialValue)
SimpleStyleableBooleanProperty
.cssMetaData
- the CssMetaData associated with this StyleableProperty
bean
- the bean of this BooleanProperty
name
- the name of this BooleanProperty
initialValue
- the initial value of the wrapped Object
public java.lang.Object getBean()
public java.lang.String getName()
public final CssMetaData<? extends Styleable,java.lang.Boolean> getCssMetaData()
javafx.beans.property.StyleableProperty