|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface MenuCallback
This interface represents a function prototype for acquiring the Menu instance.
A custom callback function can be given to for example
Shell.setMenuHandler(MenuCallback).
If the callback is not specified
the default Script.getMenu(Shell, Component) is called.
Shell.setMenuHandler(MenuCallback),
Callbacks| Method Summary | |
|---|---|
Menu |
getMenu(Shell shell,
Component focused)
Called when user has requested menu to be opened. |
| Method Detail |
|---|
Menu getMenu(Shell shell,
Component focused)
shell - Source shellfocused - Source component
Menu object, or null if no menu is available.OPEN_MENU,
Menu,
MenuItem
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||