org.dominokit.domino.ui.datatable.plugins.DataTablePlugin Maven / Gradle / Ivy
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) {
}
}