|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.scarab.util.ScarabPaginatedList
| Constructor Summary | |
ScarabPaginatedList()
Constructor |
|
ScarabPaginatedList(java.util.List l,
int size,
int pageNum,
int perPage)
Constructor which sets things up for a 'ready' list. |
|
| Method Summary | |
java.util.List |
getList()
Method to get the portion of the list that is currently viewable (inside the window) |
int |
getNextPageNumber()
Method to return the next page number |
int |
getNumberOfPages()
Method to return the total number of pages in this list. |
int |
getPageNumber()
Method to get the current page number. |
int |
getPrevPageNumber()
Method to return the previous page number. |
int |
getResultsPerPage()
Method to get the number of results per page. |
int |
getTotalListSize()
Method to return the size of the entire list, not just the part that is currently 'to be' displayed. |
void |
setCurrentPageNumber(int pageNum)
Method to set the current page number. |
void |
setList(java.util.List list)
Method to set the current list window. |
void |
setTotalListSize(int size)
Method to set the TotalListSize. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ScarabPaginatedList()
public ScarabPaginatedList(java.util.List l,
int size,
int pageNum,
int perPage)
| Method Detail |
public int getTotalListSize()
public int getNumberOfPages()
public int getPageNumber()
public int getPrevPageNumber()
public int getNextPageNumber()
public int getResultsPerPage()
public java.util.List getList()
public void setTotalListSize(int size)
public void setCurrentPageNumber(int pageNum)
public void setList(java.util.List list)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||