public class PageSizePager extends AbstractPager
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
DEBUG_ID_PREFIX
Constructor and Description |
---|
PageSizePager(int increment)
Construct a PageSizePager with a given increment.
|
Modifier and Type | Method and Description |
---|---|
protected void |
onRangeOrRowCountChanged()
Called when the range or row count changes.
|
void |
setDisplay(HasRows display)
Set the
HasRows to be paged. |
void |
setPageSize(int pageSize)
Set the page size of the display.
|
firstPage, getDisplay, getPage, getPageCount, getPageSize, getPageStart, hasNextPage, hasNextPages, hasPage, hasPreviousPage, hasPreviousPages, isRangeLimited, lastPage, lastPageStart, nextPage, previousPage, setPage, setPageStart, setRangeLimited
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
@UiConstructor public PageSizePager(int increment)
increment
- the amount by which to increase the page sizepublic void setDisplay(HasRows display)
AbstractPager
HasRows
to be paged.setDisplay
in class AbstractPager
display
- the HasRows
AbstractPager.getDisplay()
public void setPageSize(int pageSize)
AbstractPager
setPageSize
in class AbstractPager
pageSize
- the new page sizeAbstractPager.getPageSize()
protected void onRangeOrRowCountChanged()
AbstractPager
onRangeOrRowCountChanged
in class AbstractPager
Copyright © 2018. All rights reserved.