| java.lang.Object com.jgoodies.animation.Animations
Animations | final public class Animations (Code) | | This class consists only of static methods that either
operate on animations or create useful standard animations.
author: Karsten Lentzsch version: $Revision: 1.1 $ |
Method Summary | |
public 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. | public 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. | public 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. | public static Animation | pause(long duration) Creates and returns a pausing animation that has no effect
but a duration. | public static Animation | repeat(float repeatCount, Animation animation) Creates and answers an animation that is defined by repeating
the given animation. | public static Animation | reverse(Animation animation) Creates and returns an animation that is defined by reverting
the given animation over the time. | public 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. | public 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. | public static Animation | sequential(Animation first, Animation second) Creates and returns an animation that is defined by concatenating
the two given animations. |
offset | public static Animation offset(long beginTime, Animation animation)(Code) | | Creates and returns an animation that is defined by a given
animation and offset; the resulting animation applies
the original effect shifted in time.
Parameters: beginTime - the time to begin the shifted animation Parameters: animation - the animation to shift the shifted animation |
parallel | public static Animation parallel(List animations)(Code) | | Creates and returns a parallel time container, that is an animation
that applies the effect of the given animations all at the same time.
Parameters: animations - a List of animations a parallel time container for the given animations |
parallel | public static Animation parallel(Animation animation1, Animation animation2)(Code) | | 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.
Parameters: animation1 - one of the animations to parallelize Parameters: animation2 - the other animation to parallelize the parallelized animation |
pause | public static Animation pause(long duration)(Code) | | Creates and returns a pausing animation that has no effect
but a duration. It is useful in combination with sequenced
and parallel time containers.
Parameters: duration - the pause duration an animation that has no effect |
repeat | public static Animation repeat(float repeatCount, Animation animation)(Code) | | Creates and answers an animation that is defined by repeating
the given animation. The result's duration is the
duration times repeatCount.
Parameters: repeatCount - the number of repetitions Parameters: animation - the animation to repeat the repeated animation |
reverse | public static Animation reverse(Animation animation)(Code) | | Creates and returns an animation that is defined by reverting
the given animation over the time.
Parameters: animation - the animation to reverse the reversed animation |
sequential | public static Animation sequential(List animations)(Code) | | Creates and returns a sequenced time container that is an animation,
that concatenates the given list of animations over the time.
Parameters: animations - a List of animations the sequenced animation |
sequential | public static Animation sequential(Animation[] animations)(Code) | | Creates and returns a sequenced time container that is an animation,
that concatenates the given array of animations over the time.
Parameters: animations - an array of animations the sequenced animation |
sequential | public static Animation sequential(Animation first, Animation second)(Code) | | Creates and returns an animation that is defined by concatenating
the two given animations.
Parameters: first - the first animation in the sequence Parameters: second - the second animation in the sequence a sequenced animation |
|
|