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 |
Known Direct Subclasses |
An abstract pager that exposes many methods useful for paging.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.UIObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the
HasRows being paged. | |||||||||||
Get the page size.
| |||||||||||
Get the page start index.
| |||||||||||
Check if the page should be limited to the actual data size.
| |||||||||||
Set the
HasRows to be paged. | |||||||||||
Set whether or not the page range should be limited to the actual data
size.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Go to the first page.
| |||||||||||
Get the current page index. | |||||||||||
Get the number of pages based on the data size.
| |||||||||||
Returns true if there is enough data such that a call to
nextPage() will succeed in moving the starting point of the table
forward. | |||||||||||
Returns true if there is enough data to display a given number of
additional pages.
| |||||||||||
Returns true if there is enough data such that the specified page is within
range.
| |||||||||||
Returns true if there is enough data such that a call to
previousPage() will succeed in moving the starting point of the
table backward. | |||||||||||
Returns true if there is enough data to display a given number of previous
pages.
| |||||||||||
Go to the last page.
| |||||||||||
Set the page start to the last index that will still show a full page.
| |||||||||||
Advance the starting row by 'pageSize' rows.
| |||||||||||
Called when the range or row count changes.
| |||||||||||
Move the starting row back by 'pageSize' rows.
| |||||||||||
Go to a specific page.
| |||||||||||
Set the page size of the display.
| |||||||||||
Set the page start index.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.Composite
| |||||||||||
From class
com.google.gwt.user.client.ui.Widget
| |||||||||||
From class
com.google.gwt.user.client.ui.UIObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface com.google.gwt.event.logical.shared.HasAttachHandlers | |||||||||||
From interface com.google.gwt.event.shared.HasHandlers | |||||||||||
From interface
com.google.gwt.user.client.EventListener
| |||||||||||
From interface
com.google.gwt.user.client.ui.IsWidget
|
Get the page start index.
Check if the page should be limited to the actual data size. Defaults to true.
Set whether or not the page range should be limited to the actual data size. If true, all operations will adjust so that there is always data visible on the page.
isRangeLimited | true to limit the range, false not to |
---|
Go to the first page.
Get the current page index.
Since the page start index can be set to any value, its possible to be
between pages. In this case, the return value is the number of times
previousPage()
can be called.
Get the number of pages based on the data size.
Returns true if there is enough data such that a call to
nextPage()
will succeed in moving the starting point of the table
forward.
Returns true if there is enough data to display a given number of additional pages.
pages | the number of pages to query |
---|
pages
next pages
Returns true if there is enough data such that the specified page is within range.
index | the page index |
---|
Returns true if there is enough data such that a call to
previousPage()
will succeed in moving the starting point of the
table backward.
Returns true if there is enough data to display a given number of previous pages.
pages | the number of previous pages to query |
---|
pages
previous pages
Go to the last page.
Set the page start to the last index that will still show a full page.
Advance the starting row by 'pageSize' rows.
Called when the range or row count changes. Implement this method to update the pager.
Move the starting row back by 'pageSize' rows.