|
Kanzi Graphics Engine
|
List box. More...
#include <kzu_ui_list_box.h>
Data Fields | |
| struct KzuUiComponentNode | componentNode |
| Inherited from KzuUiComponentNode. More... | |
| struct KzuPresenter * | presenter |
| Controls presentation of objects. More... | |
| struct KzuUiScrollView * | scrollView |
| Controls scrolling of list box. More... | |
| kzInt | selectedItem |
| Current selection. More... | |
| kzBool | ownsPresenter |
| Should list box delete presenter at uninitialize. More... | |
| struct KzcHashMap * | itemInfosByIndices |
| Item infos by item indices. More... | |
| struct KzcHashMap * | itemInfosByItems |
| Item infos by item pointers. More... | |
| struct KzcHashMap * | itemInfosByObjects |
| Item infos by objects. More... | |
| struct KzcHashMap * | itemInfosByObjectsBuffer |
| Double buffer for itemInfosByObjects. More... | |
| kzUint | beginIndex |
| Index of the first item. More... | |
| kzUint | itemCount |
| Number of items. More... | |
| struct KzuObjectGenerator * | objectGenerator |
| Generates and handles objects for list box. More... | |
| kzMutableString | objectGeneratorTypeName |
| Name of the used ObjectGenerator. More... | |
| struct KzuItemGenerator * | itemGenerator |
| Generates and handlers list box items for list box. More... | |
| kzMutableString | itemContainerGeneratorTypeName |
| Name of the used ítem generator. More... | |
| kzUint | totalItemCount |
| How many elements the list box has in total. More... | |
| kzBool | forceUpdate |
| Forces re-update even with previous range when items have been added, removed, or replaced. More... | |
List box.
List box user interface component.
Provides list box functionality for layouts.
The list box is supplied with a kzuObjectGenerator to provide elements for the list box, and with a kzuItemGenerator to provide items that will hold the actual elements.
Whenever the elements of a kzuObjectGenerator change, kzuUiListBoxItemReplaced, kzuUiListBoxItemAdded or kzuUiListBoxItemRemoved needs to be called.
| struct KzuUiComponentNode KzuUiListBox::componentNode |
Inherited from KzuUiComponentNode.
| struct KzuPresenter* KzuUiListBox::presenter |
Controls presentation of objects.
| struct KzuUiScrollView* KzuUiListBox::scrollView |
Controls scrolling of list box.
| kzInt KzuUiListBox::selectedItem |
Current selection.
| kzBool KzuUiListBox::ownsPresenter |
Should list box delete presenter at uninitialize.
| struct KzcHashMap* KzuUiListBox::itemInfosByIndices |
Item infos by item indices.
<kzUint, KzuUiListBoxItemInfo*>.
| struct KzcHashMap* KzuUiListBox::itemInfosByItems |
Item infos by item pointers.
<KzuUiListBoxItem*, KzuUiListBoxItemInfo*>.
| struct KzcHashMap* KzuUiListBox::itemInfosByObjects |
Item infos by objects.
<kzuObjectNode*, KzuUiListBoxItemInfo*>.
| struct KzcHashMap* KzuUiListBox::itemInfosByObjectsBuffer |
Double buffer for itemInfosByObjects.
<KzuObjectNode*, KzuUiListBoxItemInfo*>.
| kzUint KzuUiListBox::beginIndex |
Index of the first item.
| kzUint KzuUiListBox::itemCount |
Number of items.
| struct KzuObjectGenerator* KzuUiListBox::objectGenerator |
Generates and handles objects for list box.
| kzMutableString KzuUiListBox::objectGeneratorTypeName |
Name of the used ObjectGenerator.
| struct KzuItemGenerator* KzuUiListBox::itemGenerator |
Generates and handlers list box items for list box.
| kzMutableString KzuUiListBox::itemContainerGeneratorTypeName |
Name of the used ítem generator.
| kzUint KzuUiListBox::totalItemCount |
How many elements the list box has in total.
| kzBool KzuUiListBox::forceUpdate |
Forces re-update even with previous range when items have been added, removed, or replaced.