public class SimpleStyleableObjectProperty<T> extends StyleableObjectProperty<T>
SimpleObjectProperty and provides a full
implementation of a StyleableProperty.
This class is used to make a ObjectProperty,
that would otherwise be implemented as a SimpleObjectProperty,
style‑able by CSS.SimpleObjectProperty,
CssMetaData,
StyleableProperty,
StyleableObjectProperty| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
bean |
private CssMetaData<? extends Styleable,T> |
cssMetaData |
private static java.lang.Object |
DEFAULT_BEAN |
private static java.lang.String |
DEFAULT_NAME |
private java.lang.String |
name |
| Constructor and Description |
|---|
SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData)
The constructor of the
SimpleStyleableObjectProperty. |
SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData,
java.lang.Object bean,
java.lang.String name)
The constructor of the
SimpleStyleableObjectProperty. |
SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData,
java.lang.Object bean,
java.lang.String name,
T initialValue)
The constructor of the
SimpleStyleableObjectProperty. |
SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData,
T initialValue)
The constructor of the
SimpleStyleableObjectProperty. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getBean()
Returns the
Object that contains this property. |
CssMetaData<? extends Styleable,T> |
getCssMetaData()
Reflect back the CssMetaData that corresponds to this
javafx.beans.property.StyleableProperty |
java.lang.String |
getName()
Returns the name of this property.
|
applyStyle, bind, getStyleOrigin, setaddListener, addListener, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, toString, unbindbindBidirectional, setValue, unbindBidirectionalasString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValue, setValuegetValueprivate 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,T> cssMetaData
public SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData)
SimpleStyleableObjectProperty.cssMetaData - the CssMetaData associated with this StyleablePropertypublic SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData, T initialValue)
SimpleStyleableObjectProperty.cssMetaData - the CssMetaData associated with this StyleablePropertyinitialValue - the initial value of the wrapped Objectpublic SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData, java.lang.Object bean, java.lang.String name)
SimpleStyleableObjectProperty.cssMetaData - the CssMetaData associated with this StyleablePropertybean - the bean of this ObjectPropertyname - the name of this ObjectPropertypublic SimpleStyleableObjectProperty(CssMetaData<? extends Styleable,T> cssMetaData, java.lang.Object bean, java.lang.String name, T initialValue)
SimpleStyleableObjectProperty.cssMetaData - the CssMetaData associated with this StyleablePropertybean - the bean of this ObjectPropertyname - the name of this ObjectPropertyinitialValue - the initial value of the wrapped Objectpublic java.lang.Object getBean()
Object that contains this property. If this property
is not contained in an Object, null is returned.Object or nullpublic java.lang.String getName()
String.Stringpublic final CssMetaData<? extends Styleable,T> getCssMetaData()
javafx.beans.property.StyleableProperty