Interface EntitiesList.PaginationConstraints

  • Enclosing class:
    EntitiesList<T>

    public static interface EntitiesList.PaginationConstraints

    The pagination constraints for view's pager component.

    • 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 null if not available.