Package | Description |
---|---|
edu.umd.cs.piccolo |
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
|
edu.umd.cs.piccolo.activities |
This package supports Piccolo activities.
|
edu.umd.cs.piccolo.event |
This package supports Piccolo event handlers.
|
edu.umd.cs.piccolox.activities |
This package provides additional support for Piccolo activities.
|
edu.umd.cs.piccolox.event |
This package provides additional Piccolo event handlers.
|
Modifier and Type | Method and Description |
---|---|
PActivity |
PNode.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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PRoot.addActivity(PActivity activity)
Add an activity to the activity scheduler associated with this root.
|
boolean |
PNode.addActivity(PActivity activity)
Schedule the given activity with the root, note that only scheduled
activities will be stepped.
|
Modifier and Type | Class and Description |
---|---|
class |
PColorActivity
PColorActivity interpolates between two colors for its target over the
duration of the animation.
|
class |
PInterpolatingActivity
PInterpolatingActivity interpolates between two states (source and
destination) over the duration of the activity.
|
class |
PTransformActivity
PTransformActivity interpolates between two transforms setting its
target's transform as it goes.
|
Modifier and Type | Method and Description |
---|---|
void |
PActivity.PActivityDelegate.activityFinished(PActivity activity)
Gets called when the activity finishes.
|
void |
PActivity.PActivityDelegate.activityStarted(PActivity activity)
Gets called when the activity starts.
|
void |
PActivity.PActivityDelegate.activityStepped(PActivity activity)
Gets called for each step of the activity.
|
void |
PActivityScheduler.addActivity(PActivity activity)
Adds the given activity to the scheduler if not already found.
|
void |
PActivityScheduler.addActivity(PActivity activity,
boolean processLast)
Add this activity to the scheduler.
|
void |
PActivityScheduler.removeActivity(PActivity activity)
Removes the given activity from the scheduled activities.
|
void |
PActivity.startAfter(PActivity first)
Schedules this activity to start after the first activity has finished.
|
Modifier and Type | Method and Description |
---|---|
protected PActivity |
PDragSequenceEventHandler.getDragActivity()
Returns the scheduled activity that's updating the scene as a result to
the current drag activity (if any).
|
Modifier and Type | Class and Description |
---|---|
class |
PPathActivity
PPathActivity is the abstract base class for all path activity
interpolators.
|
class |
PPositionPathActivity
PPositionPathActivity animates through a sequence of points.
|
Modifier and Type | Method and Description |
---|---|
protected PActivity |
PNavigationEventHandler.animateCameraViewTransformTo(PCamera camera,
AffineTransform targetTransform,
int duration)
Animates the camera's view transform into the provided one over the
duration provided.
|
PActivity |
PNavigationEventHandler.directCameraViewToFocus(PCamera camera,
PNode newFocus,
int duration)
Animates the Camera's view so that it contains the new focus node.
|
Copyright © 1995-2012 Piccolo2D. All Rights Reserved.