| java.lang.Object com.javujavu.javux.wings.RadioGroup
RadioGroup | public class RadioGroup (Code) | | The RadioGroup class is used to group together
a set of WingCheckBox checkboxes.
Exactly one checkbox in a RadioGroup can
be selected at any given time. Pushing any
checkbox sets its state to selected and forces any other button that
is in the selected state into the unselected state.
This class is thread safe.
|
add | public void add(WingCheckBox c)(Code) | | Adds the checkbox to the group.
Parameters: c - the checkbox to be added |
setSelected | public void setSelected(WingCheckBox c, boolean select)(Code) | | Sets selected state of the checkbox c.
Only one checkbox in the group may be selected at a time.
Parameters: c - the checkbox Parameters: select - true if this checkbox is to beselected, otherwise false |
|
|