|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Menu.MenuAction
This interface provides a way for menu selection to trigger an action. The action is executed when a menu item is selected by the NavPlus forward arrow. Note that the action will be executed whether there is a submenu or not, and before any new menu is shown.
This provides an alternative to Menu.MenuListener.itemSelected(Menu, int)
by allowing an action to be tied to a specific menu item as opposed to
the whole menu.
Menu.MenuListener.itemSelected(Menu, int)| Method Summary | |
|---|---|
void |
execute(Menu menu,
int index)
The specified menu and menu selection index was just selected. |
| Method Detail |
|---|
void execute(Menu menu,
int index)
menu - the menuindex - the menu's selection index
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||