Uses of Class
edu.umd.cs.piccolo.activities.PActivity
Packages that use PActivity
Package
Description
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
This package supports Piccolo activities.
This package supports Piccolo event handlers.
-
Uses of PActivity in edu.umd.cs.piccolo
Methods in edu.umd.cs.piccolo that return PActivityModifier and TypeMethodDescriptionPNode.animateToRelativePosition(Point2D srcPt, Point2D destPt, Rectangle2D destBounds, int millis) This will calculate the necessary transform in order to make this node appear at a particular position relative to the specified bounding box.Methods in edu.umd.cs.piccolo with parameters of type PActivityModifier and TypeMethodDescriptionbooleanPNode.addActivity(PActivity activity) Schedule the given activity with the root, note that only scheduled activities will be stepped.booleanPRoot.addActivity(PActivity activity) Add an activity to the activity scheduler associated with this root. -
Uses of PActivity in edu.umd.cs.piccolo.activities
Subclasses of PActivity in edu.umd.cs.piccolo.activitiesModifier and TypeClassDescriptionclassPColorActivity interpolates between two colors for its target over the duration of the animation.classPInterpolatingActivity interpolates between two states (source and destination) over the duration of the activity.classPTransformActivity interpolates between two transforms setting its target's transform as it goes.Methods in edu.umd.cs.piccolo.activities with parameters of type PActivityModifier and TypeMethodDescriptionvoidPActivity.PActivityDelegate.activityFinished(PActivity activity) Gets called when the activity finishes.voidPActivity.PActivityDelegate.activityStarted(PActivity activity) Gets called when the activity starts.voidPActivity.PActivityDelegate.activityStepped(PActivity activity) Gets called for each step of the activity.voidPActivityScheduler.addActivity(PActivity activity) Adds the given activity to the scheduler if not already found.voidPActivityScheduler.addActivity(PActivity activity, boolean processLast) Add this activity to the scheduler.voidPActivityScheduler.removeActivity(PActivity activity) Removes the given activity from the scheduled activities.voidPActivity.startAfter(PActivity first) Schedules this activity to start after the first activity has finished. -
Uses of PActivity in edu.umd.cs.piccolo.event
Methods in edu.umd.cs.piccolo.event that return PActivityModifier and TypeMethodDescriptionprotected PActivityPDragSequenceEventHandler.getDragActivity()Returns the scheduled activity that's updating the scene as a result to the current drag activity (if any).