All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dominokit.domino.ui.pagination.HasPagination Maven / Gradle / Ivy

There is a newer version: 1.0.139
Show newest version
package org.dominokit.domino.ui.pagination;

public interface HasPagination{
    HasPagination gotoPage(int page);
    HasPagination gotoPage(int page, boolean silent);

    HasPagination nextPage();
    HasPagination previousPage();

    HasPagination nextPage(boolean silent);
    HasPagination previousPage(boolean silent);

    HasPagination gotoFirst();
    HasPagination gotoLast();

    HasPagination gotoFirst(boolean silent);
    HasPagination gotoLast(boolean silent);

    HasPagination markActivePage();
    HasPagination updatePages(int pages);
    HasPagination updatePages(int pages, int pageSize);
    HasPagination updatePagesByTotalCount(int totalCount);
    HasPagination updatePagesByTotalCount(int totalCount, int pageSize);

    HasPagination setPageSize(int pageSize);
    int getPageSize();
    int activePage();
    int getPagesCount();

    HasPagination onPageChanged(PageChangedCallBack pageChangedCallBack);

    @FunctionalInterface
    interface PageChangedCallBack {
        void onPageChanged(int pageNumber);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy