📄 page.java
字号:
package com.lovo.util;
public class Page {
/** 当前页 */
private int currPage;
/** 首页 */
private int priorPage;
/** 下一页 */
private int nextPage;
/** 末页 */
private int lastPage;
/** 每页显示的条数 */
private int pageRows = 8;
/** 共多少页 */
private int maxRows;
public int getCurrPage() {
return currPage;
}
public void setCurrPage(int currPage) {
this.currPage = currPage;
}
public int getLastPage() {
return lastPage;
}
public void setLastPage(int lastPage) {
this.lastPage = lastPage;
}
public int getMaxRows() {
return maxRows;
}
public void setMaxRows(int maxRows) {
this.maxRows = maxRows;
}
public int getNextPage() {
return nextPage;
}
public void setNextPage(int nextPage) {
this.nextPage = nextPage;
}
public int getPageRows() {
return pageRows;
}
public void setPageRows(int pageRows) {
this.pageRows = pageRows;
}
public int getPriorPage() {
return priorPage;
}
public void setPriorPage(int priorPage) {
this.priorPage = priorPage;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -