#include "menuitem.h"
#include "component.h"
Include dependency graph for menuitem.c:

Go to the source code of this file.
Functions | |
| ActionListener | addMenuItemActionListener (MenuItem *menuitem, void(*func)(Component)) |
| Adds an ActionListener for the MenuItem to call back the specified function. | |
| void | createMenuItem_ (MenuItem *menuitem) |
| Creates the MenuItem by getting the Java MenuItem-Class, the method ids and createing a new Java MenuItem-Object. | |
| void | createMenuItemC (MenuItem_ *menuitem) |
| Function is called when working with C and calling the function createMenuItem. | |
| void | createMenuItemCPP (MenuItemCPP_ *menuitem) |
| Function is called when working with C++ and calling the function createMenuItem. | |
| void | deleteMenuItem_ (MenuItem *menuitem) |
| Deletes the MenuItem by deleting the global references. | |
| void | deleteMenuItemC (MenuItem_ *menuitem) |
| Function is called when working with C and calling the function deleteMenuItem. | |
| void | deleteMenuItemCPP (MenuItemCPP_ *menuitem) |
| Function is called when working with C++ and calling the function deleteMenuItem. | |
| char * | getMenuItemLabel (MenuItem *menuitem) |
| Gets the label of the MenuItem. | |
| jobject | getMenuItemObject (MenuItem *menuitem) |
| Gets the reference to the java menuitem object. | |
| void | initMenuItem_ (MenuItem_ *menuitem) |
| Initializes the MenuItem_ structure by setting the function pointers. | |
| jboolean | isMenuItemEnabled (MenuItem *menuitem) |
| Gets the enabled state of the MenuItem. | |
| void | removeMenuItemActionListener (MenuItem *menuitem, ActionListener al) |
| Removes an ActionListener from the MenuItem and deletes the global reference to the ActionListener. | |
| void | setMenuItemEnabled (MenuItem *menuitem, jboolean enable) |
| Sets the enabled state of the MenuItem. | |
| void | setMenuItemLabel (MenuItem *menuitem, const char *label) |
| Sets the label of the MenuItem. | |
A MenuItem is a simple labeled menu entry. When you label a MenuItem with a "-" it will be displayed as separator.
Definition in file menuitem.c.
|
||||||||||||
|
Adds an ActionListener for the MenuItem to call back the specified function. For more information see: addActionListener
Definition at line 97 of file menuitem.c. |
|
|
Creates the MenuItem by getting the Java MenuItem-Class, the method ids and createing a new Java MenuItem-Object.
Definition at line 135 of file menuitem.c. |
|
|
Function is called when working with C and calling the function createMenuItem. It initializes the MenuItem_ structure.
Definition at line 163 of file menuitem.c. |
|
|
Function is called when working with C++ and calling the function createMenuItem. It initializes the MenuItemCPP_ structure.
Definition at line 151 of file menuitem.c. |
|
|
Deletes the MenuItem by deleting the global references.
Definition at line 173 of file menuitem.c. |
|
|
Function is called when working with C and calling the function deleteMenuItem.
Definition at line 193 of file menuitem.c. |
|
|
Function is called when working with C++ and calling the function deleteMenuItem.
Definition at line 183 of file menuitem.c. |
|
|
Gets the label of the MenuItem.
Definition at line 52 of file menuitem.c. |
|
|
Gets the reference to the java menuitem object.
Definition at line 25 of file menuitem.c. |
|
|
Initializes the MenuItem_ structure by setting the function pointers.
Definition at line 119 of file menuitem.c. |
|
|
Gets the enabled state of the MenuItem.
Definition at line 82 of file menuitem.c. |
|
||||||||||||
|
Removes an ActionListener from the MenuItem and deletes the global reference to the ActionListener.
Definition at line 110 of file menuitem.c. |
|
||||||||||||
|
Sets the enabled state of the MenuItem.
Definition at line 69 of file menuitem.c. |
|
||||||||||||
|
Sets the label of the MenuItem.
Definition at line 37 of file menuitem.c. |
1.4.4