public interface PageablePager<T> extends Pager<T>
Pageable widget.| Modifier and Type | Method and Description |
|---|---|
void |
initializeContentPanel(com.google.gwt.user.client.ui.Panel contentPanel)
Initialize the panel that will contain the pages
|
void |
setPageable(Pageable<T> pageable)
Set the
Pageable component of this pager. |
boolean |
supportsInfiniteScroll()
Inform if the pager supports that multiple pages are rendered into
the
Pageable widget. |
void |
updatePagePanel(com.google.gwt.user.client.ui.IsWidget pagePanel,
boolean forward)
Called to update the
Pageable content panel assigning to it the given pagePanel. |
addPageHandlerfirstPage, getCurrentPage, getPageCount, getPageSize, goToPage, hasNextPage, hasPreviousPage, isDataLoaded, lastPage, nextPage, previousPage, setPageSizegetDataProvider, setDataProviderboolean supportsInfiniteScroll()
Pageable widget. If this method returns false, the Pageable widget
will first clear its content panel before render any new page data. If
it return true, this panel will not be cleared, allowing infinite scrolling.void updatePagePanel(com.google.gwt.user.client.ui.IsWidget pagePanel,
boolean forward)
Pageable content panel assigning to it the given pagePanel.pagePanel - page panel.forward - true if the next page index is bigger than the previous page index.void initializeContentPanel(com.google.gwt.user.client.ui.Panel contentPanel)
contentPanel - the main panel, that contains the other pages.Copyright © 2015. All rights reserved.