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

org.dominokit.domino.ui.datatable.plugins.DataTablePlugin Maven / Gradle / Ivy

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

import org.dominokit.domino.ui.datatable.ColumnConfig;
import org.dominokit.domino.ui.datatable.DataTable;
import org.dominokit.domino.ui.datatable.TableRow;
import org.dominokit.domino.ui.datatable.events.TableEvent;
import org.dominokit.domino.ui.datatable.events.TableEventListener;

public interface DataTablePlugin extends TableEventListener {

    default void init(DataTable dataTable) {
    }

    default void onBeforeAddTable(DataTable dataTable) {
    }

    default void onBeforeAddHeaders(DataTable dataTable) {
    }

    default void onAfterAddHeaders(DataTable dataTable) {
    }

    default void onHeaderAdded(DataTable dataTable, ColumnConfig column) {
    }

    default void onBodyAdded(DataTable dataTable) {
    }

    default void onBeforeAddRow(DataTable dataTable, TableRow tableRow) {
    }

    default void onRowAdded(DataTable dataTable, TableRow tableRow) {
    }

    default void onAllRowsAdded(DataTable dataTable) {
    }

    default void onAfterAddTable(DataTable dataTable) {
    }

    @Override
    default void handleEvent(TableEvent event) {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy