public interface Pageable<T extends PagedDataProvider<?>> extends HasDataProvider<T>, com.google.gwt.user.client.ui.IsWidget
Pager.| Modifier and Type | Method and Description |
|---|---|
int |
getPageCount()
Return the total number of pages
|
void |
goToPage(int page)
Moves the pageable's cursor to an arbitrary page
|
boolean |
isDataLoaded()
Checks if pageable data is already available
|
void |
nextPage()
Moves the pageable's cursor to the next page
|
void |
previousPage()
Moves the pageable's cursor to the previous page
|
void |
setPager(Pager pager)
Sets the pager for call back
|
getDataProvider, setDataProvidervoid nextPage()
void previousPage()
int getPageCount()
void setPager(Pager pager)
pager - void goToPage(int page)
page - page numberboolean isDataLoaded()
page - Copyright © 2014. All rights reserved.