|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.glaivestone.mv.AbstractValueHolder | +--com.glaivestone.mv.ValueHolder
A value holder which contains an observed Object
value.
Field Summary |
Fields inherited from class com.glaivestone.mv.AbstractValueHolder |
DEFAULT_NOTIFICATION_ORDER, NOTIFY_FIRST_TO_LAST, NOTIFY_LAST_TO_FIRST |
Constructor Summary | |
ValueHolder()
Creates a new value holder which contains null. |
|
ValueHolder(java.lang.Object aValue)
Creates a new value holder which contains the specified value. |
Method Summary | |
java.lang.Object |
getValue()
Answer the current value. |
void |
setValue(java.lang.Object newValue)
Set the current value. |
void |
setValueAttribute(java.lang.Object newValue)
Set the current value. |
Methods inherited from class com.glaivestone.mv.AbstractValueHolder |
addChangeListener, removeChangeListener, setNotificationOrder |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ValueHolder()
public ValueHolder(java.lang.Object aValue)
Method Detail |
public java.lang.Object getValue()
public void setValue(java.lang.Object newValue)
ValueChange
event if the value is changed.
public void setValueAttribute(java.lang.Object newValue)
ValueChange
event.
|
GFL 1.1 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |