java.awt
public class CheckboxGroup extends Object implements Serializable
| Constructor Summary | |
|---|---|
| CheckboxGroup()
Initializes a new instance of CheckboxGroup. | |
| Method Summary | |
|---|---|
| Checkbox | getCurrent()
Returns the currently selected checkbox, or null if none
of the checkboxes in this group are selected.
|
| Checkbox | getSelectedCheckbox()
Returns the currently selected checkbox, or null if none
of the checkboxes in this group are selected.
|
| void | setCurrent(Checkbox selectedCheckbox)
This method sets the specified checkbox to be the selected on in this
group, and unsets all others.
|
| void | setSelectedCheckbox(Checkbox selectedCheckbox)
This method sets the specified checkbox to be the selected on in this
group, and unsets all others.
|
| String | toString()
Returns a string representation of this checkbox group.
|
CheckboxGroup.Deprecated: This method is deprecated in favor of
getSelectedCheckbox().
null if none
of the checkboxes in this group are selected.
Returns: The selected checkbox.
null if none
of the checkboxes in this group are selected.
Returns: The selected checkbox.
Deprecated: This method is deprecated in favor of
setSelectedCheckbox().
Parameters: selectedCheckbox The new selected checkbox.
Parameters: selectedCheckbox The new selected checkbox.
Returns: A string representation of this checkbox group.