public Page getActivatePage() { return pageArray.getPage(currentPageNo); }
/** * 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); }
public Page findPage(int no) { return pageArray.getPage(no); }