|
NextApp Echo2 Extras v2.1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo2.extras.app.menu.DefaultOptionModel
public class DefaultOptionModel
A default OptionModel implementation.
| Constructor Summary | |
|---|---|
DefaultOptionModel(java.lang.String id,
java.lang.String text,
nextapp.echo2.app.ImageReference icon)
Creates a new DefaultOptionModel. |
|
| Method Summary | |
|---|---|
nextapp.echo2.app.ImageReference |
getIcon()
Returns the icon of this menu option. |
java.lang.String |
getId()
Returns the id of the OptionModel. |
java.lang.String |
getText()
Returns the text of this menu option. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultOptionModel(java.lang.String id,
java.lang.String text,
nextapp.echo2.app.ImageReference icon)
DefaultOptionModel.
id - the item idtext - the item texticon - the item icon| Method Detail |
|---|
public nextapp.echo2.app.ImageReference getIcon()
OptionModelToggleOptionModels.
getIcon in interface OptionModelOptionModel.getIcon()public java.lang.String getId()
ItemModelOptionModel.
The id will be used as the actionCommand of
ActionEvents fired by a menu when the option
is selected.
getId in interface ItemModelItemModel.getId()public java.lang.String getText()
OptionModel
getText in interface OptionModelOptionModel.getText()
|
NextApp Echo2 Extras v2.1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||