01: package prefuse.data.event;
02:
03: import java.util.EventListener;
04:
05: import prefuse.data.Tuple;
06: import prefuse.data.tuple.TupleSet;
07:
08: /**
09: * Listener interface for monitoring changes to a TupleSet instance. Indicates
10: * when tuples are added or removed from the set.
11: *
12: * @author <a href="http://jheer.org">jeffrey heer</a>
13: */
14: public interface TupleSetListener extends EventListener {
15:
16: /**
17: * Notification that a TupleSet has changed.
18: * @param tset the TupleSet that has changed
19: * @param added an array (potentially zero-length) of added tuples
20: * @param removed an array (potentially zero-length) of removed tuples
21: */
22: public void tupleSetChanged(TupleSet tset, Tuple[] added,
23: Tuple[] removed);
24:
25: } // end of interface TupleSetListener
|