NextApp Echo3 Extras
v3.0.b4

nextapp.echo.extras.app.menu
Interface OptionModel

All Superinterfaces:
ItemModel, java.io.Serializable
All Known Subinterfaces:
RadioOptionModel, ToggleOptionModel
All Known Implementing Classes:
DefaultOptionModel, DefaultRadioOptionModel, DefaultToggleOptionModel

public interface OptionModel
extends ItemModel

Representation of a menu option.


Method Summary
 nextapp.echo.app.ImageReference getIcon()
          Returns the icon of this menu option.
 java.lang.String getText()
          Returns the text of this menu option.
 
Methods inherited from interface nextapp.echo.extras.app.menu.ItemModel
getId
 

Method Detail

getText

java.lang.String getText()
Returns the text of this menu option.

Returns:
the text

getIcon

nextapp.echo.app.ImageReference getIcon()
Returns the icon of this menu option. Note that icons may not be displayed on ToggleOptionModels.

Returns:
the icon

NextApp Echo3 Extras
v3.0.b4