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

org.dominokit.domino.ui.datatable.events.TablePageChangeEvent Maven / Gradle / Ivy

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

import org.dominokit.domino.ui.pagination.HasPagination;

public class TablePageChangeEvent implements TableEvent {

    public static final String PAGINATION_EVENT = "table-page-change";

    private final int page;
    private final HasPagination pagination;

    public TablePageChangeEvent(int page, HasPagination pagination) {
        this.page = page;
        this.pagination = pagination;
    }

    public int getPage() {
        return page;
    }

    public HasPagination getPagination() {
        return pagination;
    }

    @Override
    public String getType() {
        return PAGINATION_EVENT;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy