|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.app.button.ButtonGroup
public class ButtonGroup
A collection of radio buttons which allows the selection of only one radio button at a time.
Constructor Summary | |
---|---|
ButtonGroup()
|
Method Summary | |
---|---|
void |
addButton(RadioButton radioButton)
Adds a RadioButton to the group. |
RadioButton[] |
getButtons()
Returns all RadioButton s in the group. |
java.lang.String |
getRenderId()
Returns an identifier that is unique within the ApplicationInstance with which the implementor will be
used. |
void |
removeButton(RadioButton radioButton)
Removes a RadioButton from the group. |
void |
updateSelection(RadioButton changedButton)
Notifies the ButtonGroup that a RadioButton
within its domain may have changed state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ButtonGroup()
Method Detail |
---|
public void addButton(RadioButton radioButton)
RadioButton
to the group.
Applications should use RadioButton.setGroup()
to add
buttons from a group rather than invoking this method.
radioButton
- the RadioButton
to addRadioButton.setGroup(ButtonGroup)
public RadioButton[] getButtons()
RadioButton
s in the group.
RadioButton
public java.lang.String getRenderId()
RenderIdSupport
ApplicationInstance
with which the implementor will be
used.
getRenderId
in interface RenderIdSupport
RenderIdSupport.getRenderId()
public void removeButton(RadioButton radioButton)
RadioButton
from the group.
Applications should use RadioButton.setGroup()
to remove
buttons from a group rather than invoking this method.
radioButton
- the RadioButton
to removeRadioButton.setGroup(ButtonGroup)
public void updateSelection(RadioButton changedButton)
ButtonGroup
that a RadioButton
within its domain may have changed state.
changedButton
- the changed RadioButton
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |