Interface EntitiesList.PaginationConstraints
-
- Enclosing class:
- EntitiesList<T>
public static interface EntitiesList.PaginationConstraintsThe pagination constraints for view's pager component.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCurrentPage()Current page.IntegergetTotal()Show the total number of entities, if available.booleanisFirstPageEnabled()First page button status.booleanisFirstPageVisible()First page button visibility.booleanisLastPageEnabled()Last page button status.booleanisLastPageVisible()Last page button visibility.booleanisNextPageEnabled()Next page button status.booleanisNextPageVisible()Next page button visibility.booleanisPrevPageEnabled()Previous page button status.booleanisPrevPageVisible()Previous page button visibility.
-
-
-
Method Detail
-
isFirstPageEnabled
boolean isFirstPageEnabled()
First page button status.
- Returns:
- The first page button will be enabled if
true, otherwise disabled.
-
isFirstPageVisible
boolean isFirstPageVisible()
First page button visibility.
- Returns:
- The first page button will be visible if
true, otherwise hidden.
-
isPrevPageEnabled
boolean isPrevPageEnabled()
Previous page button status.
- Returns:
- The previous page button will be enabled if
true, otherwise disabled.
-
isPrevPageVisible
boolean isPrevPageVisible()
Previous page button visibility.
- Returns:
- The previous page button will be visible if
true, otherwise hidden.
-
getCurrentPage
int getCurrentPage()
Current page.
- Returns:
- The current page.
-
isNextPageEnabled
boolean isNextPageEnabled()
Next page button status.
- Returns:
- The next page button will be enabled if
true, otherwise disabled.
-
isNextPageVisible
boolean isNextPageVisible()
Next page button visibility.
- Returns:
- The next page button will be visible if
true, otherwise hidden.
-
isLastPageEnabled
boolean isLastPageEnabled()
Last page button status.
- Returns:
- The last page button will be enabled if
true, otherwise disabled.
-
isLastPageVisible
boolean isLastPageVisible()
Last page button visibility.
- Returns:
- The last page button will be visible if
true, otherwise hidden.
-
getTotal
Integer getTotal()
Show the total number of entities, if available.
- Returns:
- The total number of entities or
nullif not available.
-
-