You.i Engine
CYIListView::PagingStrategy Class Reference

Detailed Description

A class that accepts scrolling data from CYIListView and implements logic for selecting the current page of the view.

Note
CYIItemsPerPagePagingStrategy is an available subclass which implements a basic items per page paging strategy.
See also
CYIScrollingView::PagingStrategy

#include <view/YiListView.h>

Inheritance diagram for CYIListView::PagingStrategy:

Public Member Functions

 PagingStrategy ()
 
- Public Member Functions inherited from CYIScrollingView::PagingStrategy
 PagingStrategy ()
 
virtual ~PagingStrategy ()
 

Protected Member Functions

size_t GetItemCount () const
 
size_t GetPageReferenceItemIndex () const
 
- Protected Member Functions inherited from CYIScrollingView::PagingStrategy
virtual size_t GetPage ()=0
 
virtual size_t GetPageCount ()=0
 
float GetScrollPosition () const
 
float GetScrollRegionSize () const
 

Friends

class CYIListView
 

Constructor & Destructor Documentation

◆ PagingStrategy()

CYIListView::PagingStrategy::PagingStrategy ( )

Member Function Documentation

◆ GetItemCount()

size_t CYIListView::PagingStrategy::GetItemCount ( ) const
protected

◆ GetPageReferenceItemIndex()

size_t CYIListView::PagingStrategy::GetPageReferenceItemIndex ( ) const
protected

Friends And Related Function Documentation

◆ CYIListView

friend class CYIListView
friend

The documentation for this class was generated from the following file: