Class PagingNavigationIncrementLink<T>

    • Field Detail

      • pageable

        protected final IPageable pageable
        The PageableListView the page links are referring to.
    • Constructor Detail

      • PagingNavigationIncrementLink

        public PagingNavigationIncrementLink​(String id,
                                             IPageable pageable,
                                             int increment)
        Constructor.
        Parameters:
        id - See Component
        pageable - The pageable component the page links are referring to
        increment - increment by
    • Method Detail

      • getPageNumber

        public final long getPageNumber()
        Determines the next page number for the pageable component.
        Returns:
        the new page number
      • isFirst

        public boolean isFirst()
        Returns:
        True if it is referring to the first page of the underlying PageableListView.
      • isLast

        public boolean isLast()
        Returns:
        True if it is referring to the last page of the underlying PageableListView.