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