T
- the type of the wrapped Object
public class SimpleObjectProperty<T> extends ObjectPropertyBase<T>
Property
wrapping an
arbitrary Object
.ObjectPropertyBase
Constructor and Description |
---|
SimpleObjectProperty()
The constructor of
ObjectProperty |
SimpleObjectProperty(Object bean,
String name)
The constructor of
ObjectProperty |
SimpleObjectProperty(Object bean,
String name,
T initialValue)
The constructor of
ObjectProperty |
SimpleObjectProperty(T initialValue)
The constructor of
ObjectProperty |
Modifier and Type | Method and Description |
---|---|
Object |
getBean()
Returns the
Object that contains this property. |
String |
getName()
Returns the name of this property.
|
addListener, addListener, bind, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, set, toString, unbind
bindBidirectional, setValue, unbindBidirectional
asString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue
getValue
public SimpleObjectProperty()
ObjectProperty
public SimpleObjectProperty(T initialValue)
ObjectProperty
initialValue
- the initial value of the wrapped valuepublic SimpleObjectProperty(Object bean, String name)
ObjectProperty
bean
- the bean of this ObjectProperty
name
- the name of this ObjectProperty
public Object getBean()
Object
that contains this property. If this property
is not contained in an Object
, null
is returned.Object
or null
public String getName()
String
.String
Submit 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, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.