| java.lang.Object org.tigris.scarab.util.ScarabPaginatedList
ScarabPaginatedList | public class ScarabPaginatedList (Code) | | |
ScarabPaginatedList | public ScarabPaginatedList()(Code) | | Constructor
|
ScarabPaginatedList | public ScarabPaginatedList(List l, int size, int pageNum, int perPage)(Code) | | Constructor which sets things up for a 'ready' list.
|
getList | public List getList()(Code) | | Method to get the portion of the list that is currently
viewable (inside the window)
|
getNextPageNumber | public int getNextPageNumber()(Code) | | Method to return the next page number
|
getNumberOfPages | public int getNumberOfPages()(Code) | | Method to return the total number of pages in this list.
|
getPageNumber | public int getPageNumber()(Code) | | Method to get the current page number.
|
getPrevPageNumber | public int getPrevPageNumber()(Code) | | Method to return the previous page number.
|
getResultsPerPage | public int getResultsPerPage()(Code) | | Method to get the number of results per page.
|
getTotalListSize | public int getTotalListSize()(Code) | | Method to return the size of the entire list, not
just the part that is currently 'to be' displayed.
|
setCurrentPageNumber | public void setCurrentPageNumber(int pageNum)(Code) | | Method to set the current page number.
|
setList | public void setList(List list)(Code) | | Method to set the current list window.
|
setTotalListSize | public void setTotalListSize(int size)(Code) | | Method to set the TotalListSize.
|
|
|