|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.inria.zvtm.animation.Animation
@ThreadSafe public class Animation
This class represents an animation.
An Animation has a subject (object that will be animated e.g. Glyph,
Camera, Portal...) and a dimension (characteristic that will be animated
e.g. position, color, altitude...).
Animation management (creating, starting, stopping, pausing or cancelling animations)
is done by the AnimationManager.
TimingHandler,
AnimationManager| Nested Class Summary | |
|---|---|
static class |
Animation.Dimension
|
static class |
Animation.RepeatBehavior
RepeatBehavior determines how each successive cycle will flow. |
| Field Summary | |
|---|---|
static int |
INFINITE
Used to specify unending duration or RepeatCount |
| Method Summary | |
|---|---|
void |
setInterpolator(org.jdesktop.animation.timing.interpolation.Interpolator interpolator)
Sets the interpolator for this Animation. |
void |
setStartFraction(float startFraction)
Sets the initial fraction at which the first animation cycle will begin. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int INFINITE
| Method Detail |
|---|
public void setInterpolator(org.jdesktop.animation.timing.interpolation.Interpolator interpolator)
public void setStartFraction(float startFraction)
startFraction - initial fraction.
IllegalArgumentException - if startFraction is less than 0 or greater than 1
IllegalStateException - if animation is already running; this parameter may only
be changed prior to starting the animation or after the animation has ended
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||