T - the type of the wrapped Objectpublic class SimpleObjectProperty<T> extends ObjectPropertyBase<T>
Property wrapping an
arbitrary Object.ObjectPropertyBase| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
bean |
private static java.lang.Object |
DEFAULT_BEAN |
private static java.lang.String |
DEFAULT_NAME |
private java.lang.String |
name |
| Constructor and Description |
|---|
SimpleObjectProperty()
The constructor of
ObjectProperty |
SimpleObjectProperty(java.lang.Object bean,
java.lang.String name)
The constructor of
ObjectProperty |
SimpleObjectProperty(java.lang.Object bean,
java.lang.String name,
T initialValue)
The constructor of
ObjectProperty |
SimpleObjectProperty(T initialValue)
The constructor of
ObjectProperty |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getBean()
Returns the
Object that contains this property. |
java.lang.String |
getName()
Returns the name of this property.
|
addListener, addListener, bind, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, set, toString, unbindbindBidirectional, setValue, unbindBidirectionalasString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValuegetValueprivate 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
public SimpleObjectProperty()
ObjectPropertypublic SimpleObjectProperty(T initialValue)
ObjectPropertyinitialValue - the initial value of the wrapped valuepublic SimpleObjectProperty(java.lang.Object bean,
java.lang.String name)
ObjectPropertybean - the bean of this ObjectPropertyname - the name of this ObjectPropertypublic SimpleObjectProperty(java.lang.Object bean,
java.lang.String name,
T initialValue)
ObjectPropertybean - the bean of this ObjectPropertyname - the name of this ObjectPropertyinitialValue - the initial value of the wrapped valuepublic 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.String