|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Menu
A Menu can be added to a MenuGroup instance.
| Method Summary | |
|---|---|
MenuGroup |
getMenuGroup()
|
MenuSystem |
getMenuSystem()
|
java.lang.String |
getName()
|
boolean |
onActionConsumed(java.lang.String action)
This event notifies a Menu, that an action has been consumed
in user-space. |
boolean |
prepareAction(java.lang.String action)
This method is called my the MenuGroup prepare an action and to ask the current active Menu, if it accepts the given action. |
void |
setMenuGroup(MenuGroup menuGroup)
This method is used by the MenuGroup to populate itself to the Menu. |
void |
setMenuSystem(MenuSystem menuSystem)
This method is used by the MenuSystem to populate itself to the Menu. |
| Method Detail |
|---|
java.lang.String getName()
Menu's unique name.void setMenuSystem(MenuSystem menuSystem)
MenuSystem to populate itself to the Menu.
menuSystem - MenuSystem getMenuSystem()
MenuSystem, this Menu belongs to.void setMenuGroup(MenuGroup menuGroup)
MenuGroup to populate itself to the Menu.
menuGroup - MenuGroup getMenuGroup()
MenuGroup, this Menu belongs to.boolean prepareAction(java.lang.String action)
action -
boolean onActionConsumed(java.lang.String action)
Menu, that an action has been consumed
in user-space.
action -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||