|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.animation.Animations
public final class Animations
This class consists only of static methods that either operate on animations or create useful standard animations.
Nested Class Summary | |
---|---|
static class |
Animations.OneTimeAnimation
Used to apply an effect one-time only. |
Method Summary | |
---|---|
static Animation |
offset(Animation animation,
long beginTime)
Creates and returns an animation that is defined by a given animation and offset; the resulting animation applies the original effect shifted in time. |
static Animation |
parallel(Animation... animations)
Creates and returns a parallel time container for the given animations, that is an animation that applies the effect of the given animations at the same time. |
static Animation |
parallel(List<Animation> animations)
Creates and returns a parallel time container, that is an animation that applies the effect of the given animations all at the same time. |
static Animation |
pause(long duration)
Creates and returns a pausing animation that has no effect but a duration. |
static Animation |
repeat(Animation animation,
float repeatCount)
Creates and returns an animation that is defined by repeating the given animation. |
static Animation |
repeat(Animation animation,
long duration)
Creates and returns an animation that is defined by repeating the given animation for the given duration. |
static Animation |
reverse(Animation animation)
Creates and returns an animation that is defined by reverting the given animation over the time. |
static Animation |
sequential(Animation... animations)
Creates and returns a sequenced time container that is an animation, that concatenates the given array of animations over the time. |
static Animation |
sequential(List<Animation> animations)
Creates and returns a sequenced time container that is an animation, that concatenates the given list of animations over the time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Animation offset(Animation animation, long beginTime)
animation
- the animation to shiftbeginTime
- the time to begin the shifted animation
public static Animation parallel(List<Animation> animations)
animations
- a List
of animations
public static Animation parallel(Animation... animations)
animations
- the animations to be parallized
public static Animation pause(long duration)
duration
- the pause duration
public static Animation repeat(Animation animation, float repeatCount)
animation
- the animation to repeatrepeatCount
- the number of repetitions
public static Animation repeat(Animation animation, long duration)
animation
- the animation to repeatduration
- the duration of the repeated animation
public static Animation reverse(Animation animation)
animation
- the animation to reverse
public static Animation sequential(List<Animation> animations)
animations
- a List
of animations
public static Animation sequential(Animation... animations)
animations
- the animations to be sequenced
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |