prefuse.data.event
Interface GraphListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
JPrefuseTree.PrefuseTreeModel

public interface GraphListener
extends java.util.EventListener

Listner interface for monitoring changes to a graph or tree structure.

Author:
jeffrey heer

Method Summary
 void graphChanged(Graph g, java.lang.String table, int start, int end, int col, int type)
          Notification that a graph has changed.
 

Method Detail

graphChanged

void graphChanged(Graph g,
                  java.lang.String table,
                  int start,
                  int end,
                  int col,
                  int type)
Notification that a graph has changed.

Parameters:
g - the graph that has changed
table - the particular table within the graph that has changed
start - the starting row index of the changed table region
end - the ending row index of the changed table region
col - the column that has changed, or EventConstants.ALL_COLUMNS if the operation affects all columns
type - the type of modification, one of EventConstants.INSERT, EventConstants.DELETE, or EventConstants.UPDATE.


Copyright © 2007 Regents of the University of California