|
NextApp Echo2 Extras v2.1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo2.extras.app.menu.DefaultOptionModel nextapp.echo2.extras.app.menu.DefaultToggleOptionModel nextapp.echo2.extras.app.menu.DefaultRadioOptionModel
public class DefaultRadioOptionModel
Default RadioOptionModel
implementation.
Constructor Summary | |
---|---|
DefaultRadioOptionModel(java.lang.String id,
java.lang.String groupId,
java.lang.String text)
Creates a new DefaultOptionModel . |
Method Summary | |
---|---|
java.lang.String |
getGroupId()
Returns a group identifier assocciated with this RadioButtonOptionModel . |
Methods inherited from class nextapp.echo2.extras.app.menu.DefaultOptionModel |
---|
getIcon, getId, getText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface nextapp.echo2.extras.app.menu.OptionModel |
---|
getIcon, getText |
Methods inherited from interface nextapp.echo2.extras.app.menu.ItemModel |
---|
getId |
Constructor Detail |
---|
public DefaultRadioOptionModel(java.lang.String id, java.lang.String groupId, java.lang.String text)
DefaultOptionModel
.
id
- the id of the OptionModel
;
the id will be used as the actionCommand
of
ActionEvent
s fired by a menu when the option
is selectedgroupId
- the radio group identifiertext
- the item textMethod Detail |
---|
public java.lang.String getGroupId()
RadioOptionModel
RadioButtonOptionModel
. When multiple
RadioButtonOptionModel
s have the same
groupId
, only one may be selected at a time.
getGroupId
in interface RadioOptionModel
RadioOptionModel.getGroupId()
|
NextApp Echo2 Extras v2.1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |