Class PagingLoadRequest
java.lang.Object
com.dlsc.gemsfx.paging.PagingLoadRequest
The input parameter for the loader callback of paging controls.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPagingLoadRequest(int page, int pageSize) Constructs a new load request for the given page and page size. -
Method Summary
Modifier and TypeMethodDescriptionfinal intgetPage()The index of the page.final intThe size of the page.
-
Constructor Details
-
PagingLoadRequest
public PagingLoadRequest(int page, int pageSize) Constructs a new load request for the given page and page size.- Parameters:
page- the index of the page (starts with 0)pageSize- the size of the page (number of items per page)
-
-
Method Details
-
getPage
public final int getPage()The index of the page.- Returns:
- the page index
-
getPageSize
public final int getPageSize()The size of the page.- Returns:
- the page size
-