예제 #1
0
 public Page getActivatePage() {
   return pageArray.getPage(currentPageNo);
 }
예제 #2
0
 /**
  * Get page according page number.
  *
  * @param no from 1 start
  * @return
  */
 public Page getPage(int no) {
   if (no <= 0 || no > pageArray.getPageSize()) {
     throw new IndexOutOfBoundsException("Page no is incorrect ");
   }
   return pageArray.getPage(no);
 }
예제 #3
0
 public Page findPage(int no) {
   return pageArray.getPage(no);
 }