#include <kanzi/ui/node/concept/list_box/list_box_grid_presenter.hpp>
Public Types | |
using | BaseClass |
using | ItemSharedPtr |
using | LayoutSharedPtr |
using | ListBoxGridPresenterType |
using | ScrollViewSharedPtr |
Static Public Member Functions | |
static void | doRemeasure (Node2D &node) |
static void | doRemeasure (Node3D &node) |
static void | doUpdateRenderTransform (Node2D &node, Vector2 scroll) |
static void | doUpdateRenderTransform (Node3D &node, Vector2 scroll) |
Additional Inherited Members | |
Protected Member Functions inherited from kanzi::ListBoxScrollPresenterConceptImpl< ListBoxGridPresenter< TFinalClass, TLayout, TItemClass, TScrollView >, TFinalClass, TScrollView > | |
void | onClickBegin (ClickManipulator::ClickBeginMessageArguments &messageArguments) |
Handles ClickManipulator::onClickBeginMessage. | |
void | onItemSelected (ListBoxConcept::ItemSelectedMessageArguments &messageArguments) |
Handles ListBoxConcept::ItemSelectedMessage. | |
void | onScrolled (ScrollViewConcept::ScrolledMessageArguments &messageArguments) |
Handles ScrollViewClass::ScrolledMessage. | |
void | onScrollFinished (ScrollViewConcept::ScrollFinishedMessageArguments &messageArguments) |
Handles ScrollViewClass::ScrollFinishedMessage. | |
void | onScrollStarted (ScrollViewConcept::ScrollStartedMessageArguments &messageArguments) |
Handles ScrollViewClass::ScrollStartedMessage. | |
void | onSnapRequested (ScrollViewConcept::SnapRequestMessageArguments &messageArguments) |
Handles ScrollViewClass::SnapRequestMessage. | |
void | onUserScrollFinished (ScrollViewConcept::UserScrollFinishedMessageArguments &messageArguments) |
Handles ScrollViewClass::UserScrollFinishedMessage. | |
void | onUserScrollStarted (ScrollViewConcept::UserScrollStartedMessageArguments &messageArguments) |
Handles ScrollViewClass::UserScrollStartedMessage. | |
void | scrollToTargetItem (size_t itemIndex, Vector2 scrollPosition, bool smooth) const |
Requests Scroll View to scroll to target item position. | |
void | sendListBoxTargetChangedMessage (size_t targetItem) const |
Sends ListBoxScrollPresenterConcept::TargetChangedMessage message to List Box. | |
void | sendScrollViewSetScrollMessage (const Vector2 &scrollPosition) const |
Sends ScrollViewConcept::SetScrollMessage message to Scroll View. | |
void | sendScrollViewSetScrollTargetMessage (const Vector2 &scrollTarget) const |
Sends ScrollViewConcept::SetScrollTargetMessage message to Scroll View. | |
Protected Attributes inherited from kanzi::ListBoxScrollPresenterConceptImpl< ListBoxGridPresenter< TFinalClass, TLayout, TItemClass, TScrollView >, TFinalClass, TScrollView > | |
TFinalClass * | m_listBox |
List Box that owns this presenter. | |
using kanzi::ListBoxGridPresenter< TFinalClass, TLayout, TItemClass, TScrollView >::ListBoxGridPresenterType |
using kanzi::ListBoxGridPresenter< TFinalClass, TLayout, TItemClass, TScrollView >::BaseClass |
using kanzi::ListBoxGridPresenter< TFinalClass, TLayout, TItemClass, TScrollView >::LayoutSharedPtr |
using kanzi::ListBoxGridPresenter< TFinalClass, TLayout, TItemClass, TScrollView >::ItemSharedPtr |
using kanzi::ListBoxGridPresenter< TFinalClass, TLayout, TItemClass, TScrollView >::ScrollViewSharedPtr |
|
inlineexplicit |
|
inline |
|
inline |
Enables directional key navigation on the Grid Presenter.
enabled | To enable key navigation, pass true. To disable key navigation, pass false. |
|
inline |
|
inline |
|
inline |
|
inline |
Sets scroll delta to one item and starts scrolling to that direction.
direction | Scroll direction. |
|
inline |
Sets scroll delta to one page and starts scrolling to that direction.
direction | Scroll direction. |
|
inline |
Sets scroll target to content edge and starts scrolling to that direction.
direction | Scroll direction. |
|
inline |
Invalidates layout if an item is added.
|
inline |
Invalidates layout if an item is removed.
|
inline |
Invalidates layout if an item is replaced.
|
inline |
Invalidates layout if the item container is changed.
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
Calculates the values of the Node::VisibleAmountInParentProperty and GridListBoxConcept::CalculatedOffsetProperty properties for items in the Grid List Box.
|
inline |
Checks whether the layout state of the presenter has changed.
If the layout state of the presenter has changed, returns KZ_TRUE.
|
inline |
|
inline |
Calculates how much offset is being skipped by skipping non-visible items.
|
inlinestatic |
|
inlinestatic |
|
inline |
Updates scroll transform of layout.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Gets the number of columns that are currently displayed.
|
inline |
Gets the number of rows that are currently displayed.