KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > prefuse > data > event > GraphListener


1 package prefuse.data.event;
2
3 import java.util.EventListener JavaDoc;
4
5 import prefuse.data.Graph;
6
7 /**
8  * Listner interface for monitoring changes to a graph or tree structure.
9  *
10  * @author <a HREF="http://jheer.org">jeffrey heer</a>
11  */

12 public interface GraphListener extends EventListener JavaDoc {
13     
14     /**
15      * Notification that a graph has changed.
16      * @param g the graph that has changed
17      * @param table the particular table within the graph that has changed
18      * @param start the starting row index of the changed table region
19      * @param end the ending row index of the changed table region
20      * @param col the column that has changed, or
21      * {@link EventConstants#ALL_COLUMNS} if the operation affects all
22      * columns
23      * @param type the type of modification, one of
24      * {@link EventConstants#INSERT}, {@link EventConstants#DELETE}, or
25      * {@link EventConstants#UPDATE}.
26      */

27     public void graphChanged(Graph g, String JavaDoc table,
28             int start, int end, int col, int type);
29     
30 } // end of interface GraphListener
31
Popular Tags