#include "checkbox.h"
#include "component.h"
Include dependency graph for checkbox.c:
Go to the source code of this file.
Functions | |
ItemListener | addCheckBoxItemListener (CheckBox *checkbox, void(*func)(Component, jboolean, const char *)) |
Adds an ItemListener for the CheckBox to call back the specified function. | |
void | createCheckBox_ (CheckBox *checkbox) |
Creates the CheckBox by getting the Java CheckBox-Class, the method ids and createing a new Java CheckBox-Object. | |
void | createCheckBoxC (CheckBox_ *checkbox) |
Function is called when working with C and calling the function createCheckBox. | |
void | createCheckBoxCPP (CheckBoxCPP_ *checkbox) |
Function is called when working with C++ and calling the function createCheckBox. | |
void | deleteCheckBox_ (CheckBox *checkbox) |
Deletes the CheckBox by deleting the global references. | |
void | deleteCheckBoxC (CheckBox_ *checkbox) |
Function is called when working with C and calling the function deleteCheckBox. | |
void | deleteCheckBoxCPP (CheckBoxCPP_ *checkbox) |
Function is called when working with C++ and calling the function deleteCheckBox. | |
jint | getCheckBoxHeight (CheckBox *checkbox) |
Gets the height of the CheckBox. | |
char * | getCheckBoxLabel (CheckBox *checkbox) |
Gets the label of the CheckBox. | |
jobject | getCheckBoxObject (CheckBox *checkbox) |
Gets the reference to the java checkbox object. | |
jboolean | getCheckBoxState (CheckBox *checkbox) |
Gets the state of the CheckBox. | |
jint | getCheckBoxWidth (CheckBox *checkbox) |
Gets the width of the CheckBox. | |
jint | getCheckBoxX (CheckBox *checkbox) |
Gets the X-Pos of the CheckBox. | |
jint | getCheckBoxY (CheckBox *checkbox) |
Gets the Y-Pos of the CheckBox. | |
void | initCheckBox_ (CheckBox_ *checkbox) |
Initializes the CheckBox_ structure by setting the function pointers. | |
void | removeCheckBoxItemListener (CheckBox *checkbox, ItemListener il) |
Removes an ItemListener from the CheckBox and deletes the global reference to the ItemListener. | |
void | setCheckBoxCheckBoxGroup (CheckBox *checkbox, const CheckBoxGroup *checkboxgroup) |
Sets the CheckBoxGroup of the CheckBox. | |
void | setCheckBoxLabel (CheckBox *checkbox, const char *label) |
Sets the label of the CheckBox. | |
void | setCheckBoxLocation (CheckBox *checkbox, jint x, jint y) |
Sets the location of the CheckBox. | |
void | setCheckBoxSize (CheckBox *checkbox, jint width, jint height) |
Sets Size of the CheckBox. | |
void | setCheckBoxState (CheckBox *checkbox, jboolean state) |
Sets the state of the CheckBox. |
A Checkbox is an control element which can be selected and deselceted. It can be member of a Checkboxgroup, then only one Checkbox of the group can be checked.
Definition in file checkbox.c.
|
Adds an ItemListener for the CheckBox to call back the specified function. For more information see: addItemListener
Definition at line 192 of file checkbox.c. |
|
Creates the CheckBox by getting the Java CheckBox-Class, the method ids and createing a new Java CheckBox-Object.
Definition at line 237 of file checkbox.c. |
|
Function is called when working with C and calling the function createCheckBox. It initializes the CheckBox_ structure.
Definition at line 266 of file checkbox.c. |
|
Function is called when working with C++ and calling the function createCheckBox. It initializes the CheckBoxCPP_ structure.
Definition at line 254 of file checkbox.c. |
|
Deletes the CheckBox by deleting the global references.
Definition at line 276 of file checkbox.c. |
|
Function is called when working with C and calling the function deleteCheckBox.
Definition at line 296 of file checkbox.c. |
|
Function is called when working with C++ and calling the function deleteCheckBox.
Definition at line 286 of file checkbox.c. |
|
Gets the height of the CheckBox.
Definition at line 68 of file checkbox.c. |
|
Gets the label of the CheckBox.
Definition at line 137 of file checkbox.c. |
|
Gets the reference to the java checkbox object.
Definition at line 26 of file checkbox.c. |
|
Gets the state of the CheckBox.
Definition at line 167 of file checkbox.c. |
|
Gets the width of the CheckBox.
Definition at line 54 of file checkbox.c. |
|
Gets the X-Pos of the CheckBox.
Definition at line 96 of file checkbox.c. |
|
Gets the Y-Pos of the CheckBox.
Definition at line 110 of file checkbox.c. |
|
Initializes the CheckBox_ structure by setting the function pointers.
Definition at line 214 of file checkbox.c. |
|
Removes an ItemListener from the CheckBox and deletes the global reference to the ItemListener.
Definition at line 205 of file checkbox.c. |
|
Sets the CheckBoxGroup of the CheckBox.
Definition at line 177 of file checkbox.c. |
|
Sets the label of the CheckBox.
Definition at line 122 of file checkbox.c. |
|
Sets the location of the CheckBox.
Definition at line 82 of file checkbox.c. |
|
Sets Size of the CheckBox.
Definition at line 40 of file checkbox.c. |
|
Sets the state of the CheckBox.
Definition at line 154 of file checkbox.c. |