| |
|
| java.lang.Object nextapp.echo2.app.button.ButtonGroup
ButtonGroup | public class ButtonGroup implements RenderIdSupport,Serializable(Code) | | A collection of radio buttons which allows the selection of only one
radio button at a time.
|
addButton | public void addButton(RadioButton radioButton)(Code) | | Adds a RadioButton to the group.
Applications should use RadioButton.setGroup() to add
buttons from a group rather than invoking this method.
Parameters: radioButton - the RadioButton to add See Also: RadioButton.setGroup(ButtonGroup) |
getButtons | public RadioButton[] getButtons()(Code) | | Returns all RadioButton s in the group.
the RadioButton |
removeButton | public void removeButton(RadioButton radioButton)(Code) | | Removes a RadioButton from the group.
Applications should use RadioButton.setGroup() to remove
buttons from a group rather than invoking this method.
Parameters: radioButton - the RadioButton to remove See Also: RadioButton.setGroup(ButtonGroup) |
updateSelection | public void updateSelection(RadioButton changedButton)(Code) | | Notifies the ButtonGroup that a RadioButton
within its domain may have changed state.
Parameters: changedButton - the changed RadioButton |
|
|
|