#include <kanzi/ui/node/concept/list_box/list_box_trajectory_presenter.hpp>
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Implements kzuPresenterItemAdded for trajectory list box.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Implements kzuPresenterItemRemoved for trajectory list box.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Implements kzuPresenterItemReplaced for trajectory list box.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Invalidates layout if the item container is changed.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Updates presenter's state and visible items.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Brings given item to the selector position.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Snaps towards given direction from given position.
Returns snapping target and index of the object that scrolling snapped to, unless they're given as KZ_NULL. The changeTarget should be KZ_TRUE if the list box target is changed to the snapped item.
If snapping happened towards no object, index will be -1.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Sets indices and offsets of first and last visible items and the number of visible elements.
Sets the values of viewInternal member.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Asks the list box to update the items in the layout according to the currently set firstIndex and rangeSize, taking also the keep alive into account.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Iterates left in virtual item list.
This operation might extend presenters range of visible items if the size of an item where iterator will be pointing to could not be determined otherwise.
- Parameters
-
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Iterates right in virtual item list.
This operation might extend presenters range of visible items if the size of an item where iterator will be pointing to could not be determined otherwise.
- Parameters
-
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Gets object's width from its size for virtual item list.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Extends visible range of presenter to it includes specified item.
If item is already inside the visible range, then the range will remain unchanged.
- Parameters
-
index | Index of the item which should be included into the range. |
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Returns size of an item specified by its index.
If the item is outside of presenters range of visible items and its size could not be determined by list box, the visible range will be extended so list box can acquire the item and determine its size.
- Parameters
-
itemIndex | Index of an item whose size should be returned. |
- Returns
- size of an item.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Gets number of items in presenters list box.
- Returns
- item count.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Gets object's size by index.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
static unsigned int kanzi::ListBoxTrajectoryPresenter< TFinalClass, TLayout, TItemClass, TScrollView >::kzuTrajectoryLayoutPresenterItemCountFunction_internal |
( |
void * |
userData | ) |
|
|
inlinestaticprotected |
Gets list box's total item count.
template<typename TFinalClass , typename TLayout , typename TItemClass , typename TScrollView >
Iterates the iterator to the given index.
The documentation for this class was generated from the following file: