KickJava   Java API By Example, From Geeks To Geeks.

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


1 package prefuse.data.event;
2
3 import java.util.EventListener JavaDoc;
4
5 import prefuse.data.Tuple;
6 import prefuse.data.tuple.TupleSet;
7
8 /**
9  * 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 JavaDoc {
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, Tuple[] removed);
23     
24 } // end of interface TupleSetListener
25
Popular Tags