1 package prefuse.data.event; 2 3 import java.util.EventListener; 4 5 import prefuse.data.Table; 6 7 /** 8 * Listener interface for monitoring changes to a table. 9 * 10 * @author <a HREF="http://jheer.org">jeffrey heer</a> 11 */ 12 public interface TableListener extends EventListener { 13 14 /** 15 * Notification that a table has changed. 16 * @param t the table that has changed 17 * @param start the starting row index of the changed table region 18 * @param end the ending row index of the changed table region 19 * @param col the column that has changed, or 20 * {@link EventConstants#ALL_COLUMNS} if the operation affects all 21 * columns 22 * @param type the type of modification, one of 23 * {@link EventConstants#INSERT}, {@link EventConstants#DELETE}, or 24 * {@link EventConstants#UPDATE}. 25 */ 26 public void tableChanged(Table t, int start, int end, int col, int type); 27 28 } // end of interface TableListener