Class java.awt.CheckboxGroup
All Packages This Package Previous Next
Class java.awt.CheckboxGroup
java.lang.Object
|
+----java.awt.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 RadioGroup object means that only one of those Checkbox
buttons will be allowed to be "on" at a time.
-
Version:
-
1.6 08/17/95
-
Author:
-
Sami Shaio
-
CheckboxGroup()
-
Creates a new CheckboxGroup.
-
getCurrent()
-
Gets the current choice.
-
setCurrent(Checkbox)
-
Sets the current choice to the specified Checkbox.
-
toString()
-
Returns the String representation of this CheckboxGroup's values.
CheckboxGroup
public CheckboxGroup()
-
Creates a new CheckboxGroup.
getCurrent
public Checkbox getCurrent()
-
Gets the current choice.
setCurrent
public synchronized void setCurrent(Checkbox t)
-
Sets the current choice to the specified Checkbox.
-
Parameters:
-
t
-
the Checkbox to be set to
toString
public String toString()
-
Returns the String representation of this CheckboxGroup's values.
Convert to String.
-
Overrides:
-
toString in class Object
All Packages This Package Previous Next