All Packages Class Hierarchy This Package Previous Next Index
Class com.bulletproof.gui.CheckboxGroup
java.lang.Object
|
+----com.bulletproof.gui.CheckboxGroup
- public class CheckboxGroup
- extends Object
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.
-
CheckboxGroup()
-
-
getSelectedCheckBox()
- Gets the current choice.
-
setSelectedCheckbox(Checkbox)
- Sets the current choice to the specified Checkbox.
CheckboxGroup
public CheckboxGroup()
setSelectedCheckbox
public void setSelectedCheckbox(Checkbox cb)
- Sets the current choice to the specified Checkbox.
If the Checkbox belongs to a different group, just return.
- Parameters:
- box - the current Checkbox choice
getSelectedCheckBox
public Checkbox getSelectedCheckBox()
- Gets the current choice.
All Packages Class Hierarchy This Package Previous Next Index