T - the type of the wrapped Objectpublic class SimpleObjectProperty<T> extends ObjectPropertyBase<T>
Property wrapping an
arbitrary Object.ObjectPropertyBase| 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, waitgetValuegetValuepublic 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.StringSubmit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.