com.clickntap.utils
Class Pager
java.lang.Object
com.clickntap.utils.Pager
- All Implemented Interfaces:
- Serializable
public class Pager
- extends Object
- implements Serializable
- See Also:
- Serialized Form
|
Constructor Summary |
Pager(int numberOfLinks,
int numberOfRows)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pager
public Pager(int numberOfLinks,
int numberOfRows)
selectPage
public Pager selectPage(List<?> list,
int pageNumber)
throws Exception
- Throws:
Exception
getLinks
public List<Number> getLinks()
getPage
public List<?> getPage()
getLastPage
public int getLastPage()
getNumberOfPages
public int getNumberOfPages()
getFromRow
public int getFromRow()
getToRow
public int getToRow()
getPageNumber
public int getPageNumber()
isFirst
public boolean isFirst()
isLast
public boolean isLast()
getPrevPage
public int getPrevPage()
getNextPage
public int getNextPage()
getSize
public int getSize()
refreshList
public void refreshList(List<?> list)
throws Exception
- Throws:
Exception
setPageNumber
public void setPageNumber(int pageNumber)
Copyright © 2014. All rights reserved.