NextApp Echo2 Extras
v2.1.0

nextapp.echo2.extras.app.menu
Interface ItemModel

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
MenuModel, OptionModel, RadioOptionModel, ToggleOptionModel
All Known Implementing Classes:
DefaultMenuModel, DefaultOptionModel, DefaultRadioOptionModel, DefaultToggleOptionModel, SeparatorModel

public interface ItemModel
extends java.io.Serializable

Representation of an item contained in a menu. All menu item interfaces are derived from this interface.


Method Summary
 java.lang.String getId()
          Returns the id of the OptionModel.
 

Method Detail

getId

java.lang.String getId()
Returns the id of the OptionModel. The id will be used as the actionCommand of ActionEvents fired by a menu when the option is selected.

Returns:
the id

NextApp Echo2 Extras
v2.1.0