package de.codecrafters.tableview.listeners;

/**
 * Listener interface to listen for clicks on table headers of a {@link de.codecrafters.tableview.SortableTableView}.
 *
 * @author ISchwarz
 */
public interface TableHeaderClickListener {

    /**
     * This method is called of a table header was clicked.
     *
     * @param columnIndex
     */
    void onHeaderClicked(int columnIndex);

}
