Public Methods | |
| BarMenuEvent (Object source, String command, int type, String menuName) | |
| Construct event with given parameters. More... | |
| String | getCommand () |
| Get the name of the menu item. More... | |
| int | getType () |
| Get the type (NORM_TYPE or SAMETHOD_TYPE) of the menu item. More... | |
| String | getMenuName () |
| Get the name of the menu to which the item belongs. More... | |
Static Public Attributes | |
| final int | NORM_TYPE = 0 |
| Normal menu item selected. More... | |
| final int | SAMETHOD_TYPE = 1 |
| SaMethod menu item selected. More... | |
Contains the command and type of the associated menu item. The event is send by BarMenu to all BarMenuListeners.
|
||||||||||||||||||||
|
Construct event with given parameters.
|
|
|
Get the name of the menu item.
|
|
|
Get the type (NORM_TYPE or SAMETHOD_TYPE) of the menu item.
|
|
|
Get the name of the menu to which the item belongs.
|
|
|
Normal menu item selected.
|
|
|
SaMethod menu item selected.
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001