Package tripleplay.anim
Class Animation
java.lang.Object
tripleplay.anim.Animation
- Direct Known Subclasses:
Animation.Action
,Animation.Delay
,Animation.Flip
,Animation.Interped
,Animation.Repeat
,PlayMovie
Represents a single component of an animation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Executes an action and completes immediately.static class
Delays a specified number of milliseconds.static class
Processes aFlipbook
.static interface
Used to cancel animations after they've been started.static class
A base class for animations that interpolate values.static class
Animates a single scalar value.static class
Repeats its underlying animation over and over again (until removed).static class
An animation that shakes a layer randomly in the x and y directions.static class
Animates a pair of scalar values (usually a position).static interface
Used by animations to update a target value.static interface
Used by animations to update a target value. -
Method Summary
-
Method Details
-
then
Returns a builder for constructing an animation that will be queued up for execution when the current animation completes. Note: only a single animation can be chained on this returned animation builder. You cannot queue up multiple animations to fire in parallel using the builder returned by this method. UseAnimGroup
for that. -
handle
Returns a handle on this collection of animations which can be used to cancel the animation. This handle references the root animation in this chain of animations, and will cancel all (as yet uncompleted) animations in the chain. -
toString
-