CheckboxGroupNameCheckboxGroup
DescriptionThe CheckboxGroup class provides the means to group multiple Checkbox items into a mutual exclusion set, so that only one checkbox in the set has the value true at any time. The checkbox with the value true is the currently selected checkbox. Mutually exclusive checkboxes usually have a different appearance from regular checkboxes and are also called "radio buttons." Class Definition
public class java.awt.CheckboxGroup extends java.lang.Object implements java.io.Serializable { // Constructors public CheckboxGroup(); // Instance Methods public Checkbox getCurrent(); public Checkbox getSelectedCheckbox() public synchronized void setCurrent (Checkbox checkbox); public synchronized void setSelectedCheckbox (Checkbox checkbox); public String toString(); } ConstructorsCheckboxGrouppublic CheckboxGroup()
Instance MethodsgetCurrentpublic Checkbox getCurrent()
getSelectedCheckboxpublic Checkbox getSelectedCheckbox()
setCurrentpublic synchronized void setCurrent (Checkbox checkbox)
setSelectedCheckboxpublic synchronized void setSelectedCheckbox (Checkbox checkbox)
toStringpublic String toString()
See AlsoCheckbox, Object, String |
|