|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionRegistry
Register Menu Actions. Implementations will build menus from what is registered.
The register uses two ideas to position menus. One is menu id which identifies the menu. The other is the group name which fits a menu into a group between menu dividers.
Method Summary | |
---|---|
void |
addContextMenuItem(String group,
ArooaAction action)
Add a pop-up menu item for an action. |
void |
addContextSubMenu(String group,
ActionMenu menu)
At a sub menu to the pop-up menu for given group. |
void |
addMainMenu(ActionMenu menu)
Add a menu to the menu bar. |
void |
addMenuItem(String menuId,
String group,
ArooaAction action)
Add a menu item for an action. |
void |
addSubMenu(String menuId,
String group,
ActionMenu menu)
Add a sub menu to a menu on the menu bar. |
Method Detail |
---|
void addMainMenu(ActionMenu menu)
menu
- void addSubMenu(String menuId, String group, ActionMenu menu)
menuId
- The id of the menu to add to.group
- menu
- void addContextSubMenu(String group, ActionMenu menu)
group
- menu
- void addMenuItem(String menuId, String group, ArooaAction action)
menuId
- group
- action
- void addContextMenuItem(String group, ArooaAction action)
group
- action
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |