All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----jp.kyasu.awt.BooleanStateGroup
BooleanStateGroup
class is used to create a
multiple-exclusion scope for a set of BooleanState
objects.
Exactly one boolean state in a BooleanStateGroup
can be
in the true
state at any given time.
public BooleanStateGroup()
public BooleanState getSelectedBooleanState()
true
state, or null
if all boolean states in this group are
false
.
true
state, or null
.
public synchronized void setSelectedBooleanState(BooleanState state)
true
and sets all other boolean state in this
group to be false
.
If the boolean state argument is null
or belongs to a
different group, then this method does nothing.
BooleanState
to set as the current state.
All Packages Class Hierarchy This Package Previous Next Index