public class ReadOnlyObjectWrapper<T> extends SimpleObjectProperty<T>
| Constructor and Description |
|---|
ReadOnlyObjectWrapper()
The constructor of
ReadOnlyObjectWrapper |
ReadOnlyObjectWrapper(Object bean,
String name)
The constructor of
ReadOnlyObjectWrapper |
ReadOnlyObjectWrapper(Object bean,
String name,
T initialValue)
The constructor of
ReadOnlyObjectWrapper |
ReadOnlyObjectWrapper(T initialValue)
The constructor of
ReadOnlyObjectWrapper |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fireValueChangedEvent()
Sends notifications to all attached
InvalidationListeners and
ChangeListeners. |
ReadOnlyObjectProperty<T> |
getReadOnlyProperty()
Returns the readonly property, that is synchronized with this
ReadOnlyObjectWrapper. |
getBean, getNameaddListener, addListener, bind, 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 ReadOnlyObjectWrapper()
ReadOnlyObjectWrapperpublic ReadOnlyObjectWrapper(T initialValue)
ReadOnlyObjectWrapperinitialValue - the initial value of the wrapped valuepublic ReadOnlyObjectWrapper(Object bean, String name)
ReadOnlyObjectWrapperbean - the bean of this ReadOnlyObjectPropertyname - the name of this ReadOnlyObjectPropertypublic ReadOnlyObjectProperty<T> getReadOnlyProperty()
ReadOnlyObjectWrapper.protected void fireValueChangedEvent()
InvalidationListeners and
ChangeListeners.
This method is called when the value is changed, either manually by
calling ObjectPropertyBase.set(T) or in case of a bound property, if the
binding becomes invalid.fireValueChangedEvent in class ObjectPropertyBase<T>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, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.