|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - - the type of the itempublic interface PaginationSupport<T>
Calculates the page values and indexes for a list of items
| Method Summary | |
|---|---|
int |
getNextStartIndex()
Returns the next start index. |
int[] |
getNextStartIndexes()
Returns an array of start indexes for pages that appear after the current page If there are no further pages, null is returned |
int |
getNiceEndIndex()
Returns an end index for use in the UI. |
int |
getNiceStartIndex()
Returns a start index for use in the UI. |
java.util.List<T> |
getPage()
Returns a sub-list of items that are shown on the page. |
int |
getPageSize()
Returns the number of items available on the current page. |
int |
getPreviousStartIndex()
Returns the previous start index. |
int[] |
getPreviousStartIndexes()
Returns an array of start indexes for pages that appear before the current page If there are no preceding pages, null is returned |
int |
getStartIndex()
Returns the start index. |
int |
getStartIndexValue()
Always return the start index value, regardless of whether the pagination has any total. |
int |
getTotal()
Returns the total number of items in the list |
| Method Detail |
|---|
int getStartIndex()
int getNiceStartIndex()
int getTotal()
java.util.List<T> getPage()
int getStartIndexValue()
int getNextStartIndex()
int getPreviousStartIndex()
int[] getNextStartIndexes()
int[] getPreviousStartIndexes()
int getNiceEndIndex()
int getPageSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||