KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > prefuse > activity > ActivityListener


1 package prefuse.activity;
2
3 import java.util.EventListener JavaDoc;
4
5 /**
6  * Callback interface by which interested classes can be notified of
7  * the progress of a scheduled activity.
8  *
9  * @author <a HREF="http://jheer.org">jeffrey heer</a>
10  */

11 public interface ActivityListener extends EventListener JavaDoc {
12
13     /**
14      * Called when an activity has been scheduled with an ActivityManager
15      * @param a the scheduled Activity
16      */

17     public void activityScheduled(Activity a);
18     
19     /**
20      * Called when an activity is first started.
21      * @param a the started Activity
22      */

23     public void activityStarted(Activity a);
24     
25     /**
26      * Called when an activity is stepped.
27      * @param a the stepped Activity
28      */

29     public void activityStepped(Activity a);
30     
31     /**
32      * Called when an activity finishes.
33      * @param a the finished Activity
34      */

35     public void activityFinished(Activity a);
36     
37     /**
38      * Called when an activity is cancelled.
39      * @param a the cancelled Activity
40      */

41     public void activityCancelled(Activity a);
42     
43 } // end of interface ActivityListener
44
Popular Tags