|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The BooleanStateAdapter observes a State (see #setBooleanState(State)),
and adapts it's value to something.
Note: BooleanStateAdapter extends Disposable. If disposed, the
adapted State will be set to null; so no state value
further will be adapted.
| Method Summary | |
BooleanState |
getBooleanState()
|
java.lang.String |
getName()
Return the name of the BooleanStateAdapter. |
void |
setBooleanState(BooleanState state)
Sets (or resets if state==null) the state this adapter acts on. |
void |
setName(java.lang.String name)
Set the name of the BooleanStateAdapter. |
| Methods inherited from interface com.sdm.quasar.client.core.common.Disposable |
dispose |
| Method Detail |
public java.lang.String getName()
BooleanStateAdapter.
BooleanStateAdapter (never null)public void setName(java.lang.String name)
BooleanStateAdapter.
name - the name of the BooleanStateAdapter (not null)
java.lang.IllegalArgumentException - if name is nullpublic BooleanState getBooleanState()
State to adapt, or null, if currently
no state is adapted.public void setBooleanState(BooleanState state)
state==null) the state this adapter acts on.
state - the state we act upon or null
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||