|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.CheckboxGroup
This class is used to create a multiple-exclusion scope for a set of Checkbox buttons. For example, creating a set of Checkbox buttons with the same CheckboxGroup object means that only one of those Checkbox buttons will be allowed to be "on" at a time.
Constructor Summary | |
CheckboxGroup()
Creates a new CheckboxGroup. |
Method Summary | |
Checkbox |
getCurrent()
Gets the current choice. |
void |
setCurrent(Checkbox box)
Sets the current choice to the specified Checkbox. |
String |
toString()
Returns the String representation of this CheckboxGroup's values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CheckboxGroup()
Method Detail |
public Checkbox getCurrent()
public void setCurrent(Checkbox box)
box
- the current Checkbox choicepublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |