Share via


CheckboxGroup.setSelectedCheckbox

Class Overview | Class Members | This Package | All Packages

Syntax

public synchronized void setSelectedCheckbox( Checkbox box )

Parameters
  • box
    the Checkbox to set as the current selection.
Description

Sets the currently selected check box in this group to be the specified check box. This method sets the state of that check box to "on" and sets all other check boxes in the group to be off.

If the check box argument is null or belongs to a different check box group, then this method does nothing.

See Also

Checkbox, getSelectedCheckbox