private final class Image.ObjectPropertyImpl<T> extends ReadOnlyObjectPropertyBase<T>
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
name |
private boolean |
valid |
private T |
value |
| Constructor and Description |
|---|
ObjectPropertyImpl(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
fireValueChangedEvent()
Sends notifications to all attached
InvalidationListeners and
ChangeListeners. |
T |
get()
Returns the current value of this
ObservableObjectValue<T>. |
java.lang.Object |
getBean()
Returns the
Object that contains this property. |
java.lang.String |
getName()
Returns the name of this property.
|
private void |
markInvalid() |
void |
set(T value) |
void |
store(T value) |
addListener, addListener, removeListener, removeListenertoStringasString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValueprivate final java.lang.String name
private T value
private boolean valid
public void store(T value)
public void set(T value)
public void fireValueChangedEvent()
ReadOnlyObjectPropertyBaseInvalidationListeners and
ChangeListeners.
This method needs to be called, if the value of this property changes.fireValueChangedEvent in class ReadOnlyObjectPropertyBase<T>private void markInvalid()
public T get()
ObservableObjectValueObservableObjectValue<T>.public java.lang.Object getBean()
ReadOnlyPropertyObject that contains this property. If this property
is not contained in an Object, null is returned.Object or nullpublic java.lang.String getName()
ReadOnlyPropertyString.String