public interface Pager extends com.google.gwt.user.client.ui.IsWidget, HasPageHandlers, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasEnabled
Pageable widget.| Modifier and Type | Method and Description |
|---|---|
<T extends PagedDataProvider<?>> |
getPageable()
Retrieves the bound pageable
|
void |
prepareTransaction(int startRecord)
Allow the pager to prepare itself for a new transaction, starting on the given record
|
void |
setPageable(Pageable<?> pageable)
Bind this pager to a Pageable widget
|
boolean |
supportsInfiniteScroll()
Inform if the pager supports that multiple pages are rendered into
the pageable widget.
|
void |
update(int currentPage,
boolean isLastPage)
Update the pager after a page navigation on pageable DataProvider.
|
addPageHandlervoid update(int currentPage,
boolean isLastPage)
currentPage - current page on DataProviderisLastPage - true if this is the last pagevoid setPageable(Pageable<?> pageable)
pageable - <T extends PagedDataProvider<?>> Pageable<T> getPageable()
boolean supportsInfiniteScroll()
void prepareTransaction(int startRecord)
startRecord - first record on the transactionCopyright © 2015. All rights reserved.