public class PageControl extends ListControl
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PER_PAGE
static value for default results per page.
|
Constructor and Description |
---|
PageControl() |
Modifier and Type | Method and Description |
---|---|
int |
getEnd()
Get the number of entries desired in this list
|
int |
getStart()
Get the first element in the list
|
void |
setPageSize(int ps)
Set the page size for this list
|
void |
setStart(int s)
Set the first element in the list must be greater than 0.
|
createIndex, filterData, getFilterColumn, getFilterData, hasFilter, hasIndex, setCustomFilter, setFilter, setFilterColumn, setFilterData, setIndexData
public static final int DEFAULT_PER_PAGE
public int getEnd()
public void setPageSize(int ps)
ps
- The current user's desired page size.public int getStart()
public void setStart(int s)
s
- The start to set greater than 0.