Package edu.umd.cs.piccolo.activities
Interface PActivity.PActivityDelegate
- Enclosing class:
- PActivity
public static interface PActivity.PActivityDelegate
PActivityDelegate is used by classes to learn about and act on the
different states that a PActivity goes through, such as when the activity
starts and stops stepping.
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivityFinished(PActivity activity) Gets called when the activity finishes.voidactivityStarted(PActivity activity) Gets called when the activity starts.voidactivityStepped(PActivity activity) Gets called for each step of the activity.
-
Method Details
-
activityStarted
Gets called when the activity starts.- Parameters:
activity- activity that started
-
activityStepped
Gets called for each step of the activity.- Parameters:
activity- activity that is stepping
-
activityFinished
Gets called when the activity finishes.- Parameters:
activity- activity that finished
-