|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AnimationFunction | |
---|---|
com.jgoodies.animation | Contains the core types of the JGoodies Animation library |
com.jgoodies.animation.renderer | Contains prepared animation renderers |
com.jgoodies.animation.swing.animations | Contains a bunch of prepared animations and animation factories |
com.jgoodies.animation.swing.components | Consists of a bunch of prepared animated components |
Uses of AnimationFunction in com.jgoodies.animation |
---|
Classes in com.jgoodies.animation that implement AnimationFunction | |
---|---|
class |
AbstractAnimationFunction<T>
An abstract class that minimizes the effort required to implement the AnimationFunction interface. |
Fields in com.jgoodies.animation declared as AnimationFunction | |
---|---|
static AnimationFunction<Float> |
AnimationFunctions.ONE
A constant AnimationFunction that returns
1f all the time. |
static AnimationFunction<Float> |
AnimationFunctions.ZERO
A constant AnimationFunction that returns
0f all the time. |
Methods in com.jgoodies.animation that return AnimationFunction | ||
---|---|---|
static AnimationFunction<Color> |
AnimationFunctions.alphaColor(AnimationFunction<Integer> f,
Color baseColor)
Creates and returns an animation function that returns time-based sRGB colors that are built from a given base color and an animation function of alpha values. |
|
static
|
AnimationFunctions.concat(AnimationFunction<T>... functions)
Concatenates the given animation functions and returns a compound animation function that represents the concatenation. |
|
static
|
AnimationFunctions.constant(long duration,
T value)
Creates and returns an animation function that returns a constant value over the given duration. |
|
static
|
AnimationFunctions.discrete(long duration,
T... values)
Creates and returns a discrete animation function for the given duration and values. |
|
static
|
AnimationFunctions.discrete(long duration,
T[] values,
float[] keyTimes)
Creates and returns a discrete animation function for the given duration, values and interpolation key times. |
|
static AnimationFunction<Float> |
AnimationFunctions.fromBy(long duration,
float from,
float by)
Creates and returns a linear animation function for the given duration that returns Float in interval [from, from + by]. |
|
static AnimationFunction<Float> |
AnimationFunctions.fromTo(long duration,
float from,
float to)
Creates and returns a linear animation function with the given duration. |
|
static
|
AnimationFunctions.linear(long duration,
T[] values)
Creates and returns a linear animation function that is defined by an array of numeric values; these are distributed equally over the duration. |
|
static
|
AnimationFunctions.linear(long duration,
T[] values,
float[] keyTimes)
Creates and returns a linear animation function that is defined by an array of numeric values and an array of relative key times. |
|
static AnimationFunction<Color> |
AnimationFunctions.linearColors(long duration,
Color[] colors,
float[] keyTimes)
Creates an AnimationFunction that maps times
to instances of Color . |
|
static AnimationFunction<Integer> |
AnimationFunctions.random(int min,
int max,
float changeProbability)
Creates and returns an animation function that returns random values from the interval [min, max] with a given change probability. |
|
static
|
AnimationFunctions.repeat(AnimationFunction<T> f,
long repeatTime)
Creates and returns an animation function that is defined by repeating the specified animation function. |
|
static
|
AnimationFunctions.reverse(AnimationFunction<T> f)
Creates and returns an animation function that is defined by reverting the given animation function in time. |
Methods in com.jgoodies.animation with parameters of type AnimationFunction | ||
---|---|---|
static AnimationFunction<Color> |
AnimationFunctions.alphaColor(AnimationFunction<Integer> f,
Color baseColor)
Creates and returns an animation function that returns time-based sRGB colors that are built from a given base color and an animation function of alpha values. |
|
static
|
AnimationFunctions.concat(AnimationFunction<T>... functions)
Concatenates the given animation functions and returns a compound animation function that represents the concatenation. |
|
static
|
AnimationFunctions.repeat(AnimationFunction<T> f,
long repeatTime)
Creates and returns an animation function that is defined by repeating the specified animation function. |
|
static
|
AnimationFunctions.reverse(AnimationFunction<T> f)
Creates and returns an animation function that is defined by reverting the given animation function in time. |
Uses of AnimationFunction in com.jgoodies.animation.renderer |
---|
Constructors in com.jgoodies.animation.renderer with parameters of type AnimationFunction | |
---|---|
GlyphRenderer(String text,
AnimationFunction<Float> scaleFunction,
AnimationFunction<Float> translateFunction,
AnimationFunction<Color> colorFunction,
long glyphDelay)
Constructs a GlyphRenderer that paints
individual glyphs with different transforms. |
|
GlyphRenderer(String text,
AnimationFunction<Float> scaleFunction,
AnimationFunction<Float> translateFunction,
AnimationFunction<Color> colorFunction,
long glyphDelay)
Constructs a GlyphRenderer that paints
individual glyphs with different transforms. |
|
GlyphRenderer(String text,
AnimationFunction<Float> scaleFunction,
AnimationFunction<Float> translateFunction,
AnimationFunction<Color> colorFunction,
long glyphDelay)
Constructs a GlyphRenderer that paints
individual glyphs with different transforms. |
Uses of AnimationFunction in com.jgoodies.animation.swing.animations |
---|
Methods in com.jgoodies.animation.swing.animations that return AnimationFunction | |
---|---|
static AnimationFunction<Color> |
BasicTextAnimation.cinemaFadeColorFunction(long duration,
Color baseColor)
Creates and returns the color animation function for the default fade. |
static AnimationFunction<Color> |
BasicTextAnimation.defaultFadeColorFunction(long duration,
Color baseColor)
Creates and returns the color animation function for the default fade. |
static AnimationFunction<Integer> |
BasicTextAnimation.defaultOffsetFunction()
Returns the animation function for the default random position offset. |
static AnimationFunction<Float> |
FanAnimation.defaultRotationFunction(long duration)
Creates and answers an animation function for the default rotation. |
static AnimationFunction<Color> |
BasicTextAnimation.defaultScaleColorFunction(long duration,
Color baseColor)
Creates and returns the animation function for the default scaling. |
static AnimationFunction<Float> |
BasicTextAnimation.defaultScaleFunction(long duration)
Creates and returns the default scaling animation function. |
static AnimationFunction<Color> |
BasicTextAnimation.defaultSpaceColorFunction(long duration,
Color baseColor)
Creates and answers the color animation function for the default spacing animation. |
static AnimationFunction<Float> |
BasicTextAnimation.defaultSpaceFunction(long duration)
Creates and returns the default spacing animation function. |
Constructors in com.jgoodies.animation.swing.animations with parameters of type AnimationFunction | |
---|---|
BasicTextAnimation(BasicTextLabel label,
long duration,
String text,
AnimationFunction<Color> colorFunction,
AnimationFunction<Float> scaleXFunction,
AnimationFunction<Float> scaleYFunction,
AnimationFunction<Float> spaceFunction)
Constructs a text animation that fades in a text, scales it and fades it out. |
|
BasicTextAnimation(BasicTextLabel label,
long duration,
String text,
AnimationFunction<Color> colorFunction,
AnimationFunction<Float> scaleXFunction,
AnimationFunction<Float> scaleYFunction,
AnimationFunction<Float> spaceFunction)
Constructs a text animation that fades in a text, scales it and fades it out. |
|
BasicTextAnimation(BasicTextLabel label,
long duration,
String text,
AnimationFunction<Color> colorFunction,
AnimationFunction<Float> scaleXFunction,
AnimationFunction<Float> scaleYFunction,
AnimationFunction<Float> spaceFunction)
Constructs a text animation that fades in a text, scales it and fades it out. |
|
BasicTextAnimation(BasicTextLabel label,
long duration,
String text,
AnimationFunction<Color> colorFunction,
AnimationFunction<Float> scaleXFunction,
AnimationFunction<Float> scaleYFunction,
AnimationFunction<Float> spaceFunction)
Constructs a text animation that fades in a text, scales it and fades it out. |
|
FanAnimation(FanComponent fan,
long duration,
AnimationFunction<Float> rotationFunction)
Constructs an animation that rotates a fan using the given fan component, duration and rotation animation function. |
Uses of AnimationFunction in com.jgoodies.animation.swing.components |
---|
Methods in com.jgoodies.animation.swing.components that return AnimationFunction | |
---|---|
static AnimationFunction<Color> |
GlyphLabel.defaultColorFunction(long duration,
Color baseColor)
Creates and returns the default color function for the given duration and base color. |
static AnimationFunction<Float> |
GlyphLabel.defaultScaleFunction(long duration)
Creates and returns the default scale function for the given duration. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |