Class AjaxPagingNavigation

    • Constructor Detail

      • AjaxPagingNavigation

        public AjaxPagingNavigation​(String id,
                                    IPageable pageable)
        Constructor.
        Parameters:
        id - See Component
        pageable - The underlying pageable component to navigate
      • AjaxPagingNavigation

        public AjaxPagingNavigation​(String id,
                                    IPageable pageable,
                                    IPagingLabelProvider labelProvider)
        Constructor.
        Parameters:
        id - See Component
        pageable - The underlying pageable component to navigate
        labelProvider - The label provider for the text that the links should be displaying.
    • Method Detail

      • newPagingNavigationLink

        protected Link<?> newPagingNavigationLink​(String id,
                                                  IPageable pageable,
                                                  long pageIndex)
        Factory method for creating ajaxian page number links.
        Overrides:
        newPagingNavigationLink in class PagingNavigation
        Parameters:
        id - link id
        pageable - the pageable
        pageIndex - the index the link points to
        Returns:
        the ajaxified page number link.