ListBoxScrollPresenterConceptImpl is the base class concept implementation for the List Box presenters that use Scroll View in their presentation. More...
#include <kanzi/ui/node/concept/list_box/list_box_scroll_presenter.hpp>
Public Member Functions | |
| ScrollViewSharedPtr | getScrollView () const |
| Returns the Scroll View that the presenter uses. | |
| void | initialize (TListBoxClass *listBox) |
| ListBoxScrollPresenterConceptImpl specific initialization. | |
| ListBoxScrollPresenterConceptImpl ()=default | |
| Constructor. | |
Protected Attributes | |
| TListBoxClass * | m_listBox |
| List Box that owns this presenter. | |
ListBoxScrollPresenterConceptImpl is the base class concept implementation for the List Box presenters that use Scroll View in their presentation.
TDerivedClass must implement:
|
explicitdefault |
Constructor.
| void kanzi::ListBoxScrollPresenterConceptImpl< TDerivedClass, TListBoxClass, TScrollView >::initialize | ( | TListBoxClass * | listBox | ) |
ListBoxScrollPresenterConceptImpl specific initialization.
| listBox | The List Box that owns this presenter. |
| ListBoxScrollPresenterConceptImpl< TDerivedClass, TListBoxClass, TScrollView >::ScrollViewSharedPtr kanzi::ListBoxScrollPresenterConceptImpl< TDerivedClass, TListBoxClass, TScrollView >::getScrollView | ( | ) | const |
Returns the Scroll View that the presenter uses.
|
protected |
Handles ScrollViewClass::ScrolledMessage.
|
protected |
Handles ScrollViewClass::ScrollStartedMessage.
|
protected |
Handles ScrollViewClass::ScrollFinishedMessage.
|
protected |
Handles ScrollViewClass::UserScrollStartedMessage.
|
protected |
Handles ScrollViewClass::UserScrollFinishedMessage.
|
protected |
Handles ScrollViewClass::SnapRequestMessage.
|
protected |
Handles ClickManipulator::onClickBeginMessage.
|
protected |
Handles ListBoxConcept::ItemSelectedMessage.
|
protected |
Requests Scroll View to scroll to target item position.
| itemIndex | The index of the List Box item that the presenter brings to the center of the list box area. |
| scrollPosition | The scroll target position for the Scroll View. |
| smooth | For animated scrolling, set to true. For immediate scrolling, set to false. |
|
protected |
Sends ScrollViewConcept::SetScrollTargetMessage message to Scroll View.
| scrollTarget | The scroll target for the Scroll View. |
|
protected |
Sends ScrollViewConcept::SetScrollMessage message to Scroll View.
| scrollPosition | The scroll position for the Scroll View. |
|
protected |
Sends ListBoxScrollPresenterConcept::TargetChangedMessage message to List Box.
| targetItem | New scroll target item in a List Box. |
|
protected |
List Box that owns this presenter.