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

Go to the source code of this file.
| Functions | |
| void | addListItem (List *list, const char *item, jint pos) | 
| Adds an item to the List. | |
| ItemListener | addListItemListener (List *list, void(*func)(Component, jboolean, const char *)) | 
| Adds an ItemListener for the List to call back the specified function. | |
| void | createList_ (List *list, jint rows) | 
| Creates the List by getting the Java List-Class, the method ids and createing a new Java List-Object. | |
| void | createListC (List_ *list, jint rows) | 
| Function is called when working with C and calling the function createList. | |
| void | createListCPP (ListCPP_ *list, jint rows) | 
| Function is called when working with C++ and calling the function createList. | |
| void | deleteList_ (List *list) | 
| Deletes the List by deleting the global references. | |
| void | deleteListC (List_ *list) | 
| Function is called when working with C and calling the function deleteList. | |
| void | deleteListCPP (ListCPP_ *list) | 
| Function is called when working with C++ and calling the function deleteList. | |
| void | deselectListItem (List *list, jint item) | 
| Deselects the item at the specified position from the List. | |
| jint | getListHeight (List *list) | 
| Gets the height of the List. | |
| char * | getListItem (List *list, jint pos) | 
| Gets rows of the List. | |
| jint | getListItemCount (List *list) | 
| Gets the number of items in the List. | |
| jobject | getListObject (List *list) | 
| Gets the reference to the java list object. | |
| jint | getListRows (List *list) | 
| Gets rows of the List. | |
| jint | getListSelectedIndex (List *list) | 
| Gets index of the selected item in the List, if the list is not in mulpitple mode. | |
| jint | getListWidth (List *list) | 
| Gets the width of the List. | |
| jint | getListX (List *list) | 
| Gets the X-Pos of the List. | |
| jint | getListY (List *list) | 
| Gets the Y-Pos of the List. | |
| void | initList_ (List_ *list) | 
| Initializes the List_ structure by setting the function pointers. | |
| jboolean | isListMultipleMode (List *list) | 
| Gets if multiple selection is allowed or not for the List. | |
| jboolean | isListSelected (List *list, jint item) | 
| Gets if the item at the specified position of the List is selected. | |
| void | removeListAll (List *list) | 
| Removes the item at the specified position from the List. | |
| void | removeListItem (List *list, const char *item) | 
| Removes the first occurence of the item from the List. | |
| void | removeListItemAtPos (List *list, jint pos) | 
| Removes the item at the specified position from the List. | |
| void | removeListItemListener (List *list, ItemListener il) | 
| Removes an ItemListener from the List and deletes the global reference to the ItemListener. | |
| void | replaceListItem (List *list, const char *item, jint pos) | 
| Replaces an item in the List. | |
| void | selectListItem (List *list, jint item) | 
| Selects the item at the specified position from the List. | |
| void | setListLocation (List *list, jint x, jint y) | 
| Sets the location of the List. | |
| void | setListMultipleMode (List *list, jboolean multiple) | 
| Sets if multiple selection is allowed or not for the List. | |
| void | setListSize (List *list, jint width, jint height) | 
| Sets Size of the List. | |
A List represents a list of values where the user can either choose only one or multiple values.
Definition in file list.c.
| 
 | ||||||||||||||||
| Adds an item to the List. 
 
 | 
| 
 | ||||||||||||
| Adds an ItemListener for the List to call back the specified function. For more information see: addItemListener 
 
 
 | 
| 
 | ||||||||||||
| Creates the List by getting the Java List-Class, the method ids and createing a new Java List-Object. 
 
 | 
| 
 | ||||||||||||
| Function is called when working with C and calling the function createList. It initializes the List_ structure. 
 
 | 
| 
 | ||||||||||||
| Function is called when working with C++ and calling the function createList. It initializes the ListCPP_ structure. 
 
 | 
| 
 | 
| Deletes the List by deleting the global references. 
 
 | 
| 
 | 
| Function is called when working with C and calling the function deleteList. 
 
 | 
| 
 | 
| Function is called when working with C++ and calling the function deleteList. 
 
 | 
| 
 | ||||||||||||
| Deselects the item at the specified position from the List. 
 
 | 
| 
 | 
| Gets the height of the List. 
 
 
 | 
| 
 | ||||||||||||
| Gets rows of the List. 
 
 
 | 
| 
 | 
| Gets the number of items in the List. 
 
 
 | 
| 
 | 
| Gets the reference to the java list object. 
 
 
 | 
| 
 | 
| Gets rows of the List. 
 
 
 
 | 
| 
 | 
| Gets index of the selected item in the List, if the list is not in mulpitple mode. 
 
 
 | 
| 
 | 
| Gets the width of the List. 
 
 
 | 
| 
 | 
| Gets the X-Pos of the List. 
 
 
 | 
| 
 | 
| Gets the Y-Pos of the List. 
 
 
 | 
| 
 | 
| Initializes the List_ structure by setting the function pointers. 
 
 | 
| 
 | 
| Gets if multiple selection is allowed or not for the List. 
 
 
 | 
| 
 | ||||||||||||
| Gets if the item at the specified position of the List is selected. 
 
 
 | 
| 
 | 
| Removes the item at the specified position from the List. 
 
 | 
| 
 | ||||||||||||
| Removes the first occurence of the item from the List. 
 
 | 
| 
 | ||||||||||||
| Removes the item at the specified position from the List. 
 
 | 
| 
 | ||||||||||||
| Removes an ItemListener from the List and deletes the global reference to the ItemListener. 
 
 
 | 
| 
 | ||||||||||||||||
| Replaces an item in the List. 
 
 | 
| 
 | ||||||||||||
| Selects the item at the specified position from the List. 
 
 | 
| 
 | ||||||||||||||||
| Sets the location of the List. 
 
 
 | 
| 
 | ||||||||||||
| Sets if multiple selection is allowed or not for the List. 
 
 
 | 
| 
 | ||||||||||||||||
| Sets Size of the List. 
 
 | 
 1.4.4
 1.4.4