@ThreadSafe public class Animation extends Object
AnimationManager
.TimingHandler
,
AnimationManager
Modifier and Type | Class and Description |
---|---|
static class |
Animation.Dimension |
static class |
Animation.RepeatBehavior
RepeatBehavior determines how each successive cycle will flow.
|
Modifier and Type | Field and Description |
---|---|
static int |
INFINITE
Used to specify unending duration or RepeatCount
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final int INFINITE
public void setInterpolator(org.jdesktop.animation.timing.interpolation.Interpolator interpolator)
interpolator
- the interpolator to use. One of fr.inria.zvtm.animation.interpolation.*public void setStartFraction(float startFraction)
startFraction
- initial fraction.IllegalArgumentException
- if startFraction is less than 0 or greater than 1IllegalStateException
- if animation is already running; this parameter may only
be changed prior to starting the animation or after the animation has endedCopyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.