Example usage for Java org.springframework.beans.support PagedListHolder fields, constructors, methods, implement or subclass
The text is from its open source code.
PagedListHolder(List Create a new holder instance with the given source list, starting with a default sort definition (with "toggleAscendingOnProperty" activated). | |
PagedListHolder() Create a new holder instance. |
int | getFirstLinkedPage() Return the first page to which create a link around the current page. |
int | getLastLinkedPage() Return the last page to which create a link around the current page. |
int | getNrOfElements() Return the total number of elements in the source list. |
int | getPage() Return the current page number. |
int | getPageCount() Return the number of pages for the current source list. |
List | getPageList() Return a sub-list representing the current page. |
int | getPageSize() Return the current page size. |
SortDefinition | getSort() Return the sort definition for this holder. |
boolean | isFirstPage() Return if the current page is the first one. |
boolean | isLastPage() Return if the current page is the last one. |
void | nextPage() Switch to next page. |
void | previousPage() Switch to previous page. |
void | resort() Resort the list if necessary, i.e. |
void | setMaxLinkedPages(int maxLinkedPages) Set the maximum number of page links to a few pages around the current one. |
void | setPage(int page) Set the current page number. |
void | setPageSize(int pageSize) Set the current page size. |
void | setSort(@Nullable SortDefinition sort) Set the sort definition for this holder. |
void | setSource(List Set the source list for this holder. |