public final class Page extends Object implements Serializable
构造器和说明 |
---|
Page() |
Page(int pageNo)
设置页数,自动计算数据范围.
|
Page(int begin,
int length)
构造函数.
|
Page(int begin,
int length,
int totalRecords) |
限定符和类型 | 方法和说明 |
---|---|
int |
getBegin() |
int |
getEnd() |
int |
getLength() |
int |
getPageCount() |
int |
getPageNo() |
int |
getTotalRecords() |
void |
setBegin(int begin) |
void |
setEnd(int end) |
void |
setLength(int length) |
void |
setPageCount(int pageCount) |
void |
setPageNo(int pageNo) |
void |
setTotalRecords(int totalRecords) |
String |
toString() |
public Page()
public Page(int begin, int length)
begin
- length
- public Page(int begin, int length, int totalRecords)
begin
- length
- totalRecords
- public Page(int pageNo)
pageNo
- public int getBegin()
public int getEnd()
public void setEnd(int end)
end
- the end to setpublic void setBegin(int begin)
begin
- the begin to setpublic int getLength()
public void setLength(int length)
length
- the length to setpublic int getTotalRecords()
public void setTotalRecords(int totalRecords)
totalRecords
- the totalRecords to setpublic int getPageNo()
public void setPageNo(int pageNo)
pageNo
- the pageNo to setpublic int getPageCount()
public void setPageCount(int pageCount)
pageCount
- the pageCount to setCopyright © 2014 EPIC Team. All rights reserved.