public static class PagerUtil.PagerBean extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected int |
pageIndex
Index of the page.
|
protected int |
pageSize
Page size, says number of records in a page.
|
protected int |
pagesNumber
Number of pages.
|
protected int |
recordEndIndex
Index of the last record in this page.
|
protected int |
records
Number of records (says numbers of rows displayable.
|
protected int |
recordStartIndex
Index of the first record in this page.
|
| Constructor and Description |
|---|
PagerUtil.PagerBean() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPageIndex() |
int |
getPageSize() |
int |
getPagesNumber() |
int |
getRecordEndIndex() |
int |
getRecords() |
int |
getRecordStartIndex() |
void |
setPageIndex(int pageIndex) |
void |
setPageSize(int pageSize) |
void |
setPagesNumber(int pagesNumber) |
void |
setRecordEndIndex(int recordEndIndex) |
void |
setRecords(int records) |
void |
setRecordStartIndex(int recordStartIndex) |
protected int records
protected int recordStartIndex
protected int recordEndIndex
protected int pageIndex
protected int pageSize
protected int pagesNumber
public int getRecords()
public int getRecordStartIndex()
public int getRecordEndIndex()
public int getPageIndex()
public int getPageSize()
public int getPagesNumber()
public void setRecords(int records)
public void setRecordStartIndex(int recordStartIndex)
public void setRecordEndIndex(int recordEndIndex)
public void setPageIndex(int pageIndex)
public void setPageSize(int pageSize)
public void setPagesNumber(int pagesNumber)
Copyright © 2004-2012 CodeLutin. All Rights Reserved.