public class Pager extends Object implements Serializable
| Constructor and Description |
|---|
Pager(int numberOfLinks,
int numberOfRows) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFromRow() |
int |
getLastPage() |
List<Number> |
getLinks() |
int |
getNextPage() |
int |
getNumberOfPages() |
List<?> |
getPage() |
int |
getPageNumber() |
int |
getPrevPage() |
int |
getSize() |
int |
getToRow() |
boolean |
isFirst() |
boolean |
isLast() |
void |
refreshList(List<?> list) |
Pager |
selectPage(List<?> list,
int pageNumber) |
void |
setPageNumber(int pageNumber) |
public List<?> getPage()
public int getLastPage()
public int getNumberOfPages()
public int getFromRow()
public int getToRow()
public int getPageNumber()
public void setPageNumber(int pageNumber)
public boolean isFirst()
public boolean isLast()
public int getPrevPage()
public int getNextPage()
public int getSize()
Copyright © 2015. All rights reserved.