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, removeListener
toString
asString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue
private final java.lang.String name
private T value
private boolean valid
public void store(T value)
public void set(T value)
public void fireValueChangedEvent()
ReadOnlyObjectPropertyBase
InvalidationListeners
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()
ObservableObjectValue
ObservableObjectValue<T>
.public java.lang.Object getBean()
ReadOnlyProperty
Object
that contains this property. If this property
is not contained in an Object
, null
is returned.Object
or null
public java.lang.String getName()
ReadOnlyProperty
String
.String