|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.Composite com.google.gwt.user.cellview.client.AbstractPager com.google.gwt.user.cellview.client.PageSizePager
public class PageSizePager
A simple pager that controls the page size.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
Field Summary |
---|
Fields inherited from class com.google.gwt.user.cellview.client.AbstractPager |
---|
rangeChangeHandler, rowCountChangeHandler |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
PageSizePager(int increment)
Construct a PageSizePager with a given increment. |
Method Summary | |
---|---|
(package private) boolean |
isShowLessButtonVisible()
Visible for testing. |
(package private) boolean |
isShowMoreButtonVisible()
Visible for testing. |
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. |
Methods inherited from class com.google.gwt.user.cellview.client.AbstractPager |
---|
firstPage, getDisplay, getPage, getPageCount, getPageSize, getPageStart, hasNextPage, hasNextPages, hasPage, hasPreviousPage, hasPreviousPages, isRangeLimited, lastPage, lastPageStart, nextPage, previousPage, setPage, setPageStart, setRangeLimited |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
@UiConstructor public PageSizePager(int increment)
increment
- the amount by which to increase the page sizeMethod Detail |
---|
public 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
boolean isShowLessButtonVisible()
boolean isShowMoreButtonVisible()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |