?? pagedatabean.java
字號:
package jnestore.javabeans;
import java.util.ArrayList;
public class PageDataBean implements java.io.Serializable
{
private int curPage ; //當前是第幾頁
private int totalPage ; //總頁數
//private int totalRows ; //一共有多少行
private int rowsPerPage;//每頁的行數
private ArrayList data;//當前頁的數據
public PageDataBean()
{
}
public ArrayList getData()
{
return this.data;
}
public void setData(ArrayList data) {
this.data = data;
}
public int getCurPage() {
return curPage;
}
public void setCurPage(int curPage) {
this.curPage = curPage;
}
public int getRowsPerPage() {
return rowsPerPage;
}
public void setRowsPerPage(int rowsPerPage) {
this.rowsPerPage = rowsPerPage;
}
//public int getTotalRows() {
// return totalRows;
//}
public int getTotalPage() {
return totalPage;
}
public void setTotalPage(int totalPage) {
this.totalPage = totalPage;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -