public class Pager<E> extends Object
Constructor and Description |
---|
Pager(List<? extends E> items,
int startIndex,
int maxItemsPerPage,
int totalResults) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentPage() |
List<? extends E> |
getItems() |
int |
getLastPage() |
int |
getLeftMostPage() |
List<Integer> |
getListOfPageNumbers() |
int |
getMaxItemsPerPage() |
int |
getMaxPagesOnEitherSide() |
int |
getRightMostPage() |
int |
getStartIndex() |
int |
getTotalResults() |
void |
setMaxPagesOnEitherSide(int maxPagesOnEitherSide) |
public int getCurrentPage()
public int getLastPage()
public int getLeftMostPage()
public int getRightMostPage()
public int getStartIndex()
public int getMaxItemsPerPage()
public int getTotalResults()
public int getMaxPagesOnEitherSide()
public void setMaxPagesOnEitherSide(int maxPagesOnEitherSide)
Copyright © 2020 Atlassian. All rights reserved.