|
|||||||||||
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.IntegerHolder
A value holder which contains an observed int
value.
Field Summary |
Fields inherited from class com.glaivestone.mv.AbstractValueHolder |
DEFAULT_NOTIFICATION_ORDER, NOTIFY_FIRST_TO_LAST, NOTIFY_LAST_TO_FIRST |
Constructor Summary | |
IntegerHolder()
Creates a new value holder which contains 0. |
|
IntegerHolder(int aValue)
Creates a new value holder which contains the specified value. |
|
IntegerHolder(java.lang.String aValue)
Creates a new value holder which contains the specified value. |
Method Summary | |
int |
getValue()
Answer the current value. |
void |
setValue(int newValue)
Set the current value. |
void |
setValueAttribute(int 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 IntegerHolder()
public IntegerHolder(int aValue)
public IntegerHolder(java.lang.String aValue)
Method Detail |
public int getValue()
public void setValue(int newValue)
ValueChange
event if the value is changed.
public void setValueAttribute(int newValue)
ValueChange
event.
|
GFL 1.1 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |