|
||||||||||
| 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(long beginTime,
Animation animation)
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 animation1,
Animation animation2)
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 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(float repeatCount,
Animation animation)
Creates and answers an animation that is defined by repeating the given animation. |
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(Animation first,
Animation second)
Creates and returns an animation that is defined by concatenating the two given animations. |
static Animation |
sequential(List 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(long beginTime,
Animation animation)
beginTime - the time to begin the shifted animationanimation - the animation to shift
public static Animation parallel(List animations)
animations - a List of animations
public static Animation parallel(Animation animation1,
Animation animation2)
animation1 - one of the animations to parallelizeanimation2 - the other animation to parallelize
public static Animation pause(long duration)
duration - the pause duration
public static Animation repeat(float repeatCount,
Animation animation)
repeatCount - the number of repetitionsanimation - the animation to repeat
public static Animation reverse(Animation animation)
animation - the animation to reverse
public static Animation sequential(List animations)
animations - a List of animations
public static Animation sequential(Animation[] animations)
animations - an array of animations
public static Animation sequential(Animation first,
Animation second)
first - the first animation in the sequencesecond - the second animation in the sequence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||