Package | Description |
---|---|
org.piccolo2d |
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
|
org.piccolo2d.activities |
This package supports Piccolo activities.
|
org.piccolo2d.event |
This package supports 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).
|
Copyright © 1995-2013 Piccolo2D. All Rights Reserved.