Package | Description |
---|---|
com.jgoodies.animation |
Contains the core types of the JGoodies Animation library.
|
com.jgoodies.animation.animations |
Contains a bunch of prepared animations and animation factories.
|
com.jgoodies.animation.components |
Consists of a bunch of prepared animated components.
|
com.jgoodies.animation.renderer |
Contains prepared animation renderers.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAnimationFunction
An abstract class that minimizes the effort required to implement
the
AnimationFunction interface. |
Modifier and Type | Field and Description |
---|---|
static AnimationFunction |
AnimationFunctions.ONE
A constant
AnimationFunction that returns
1 all the time. |
static AnimationFunction |
AnimationFunctions.ZERO
A constant
AnimationFunction that returns
0.0f all the time. |
Modifier and Type | Method and Description |
---|---|
static AnimationFunction |
AnimationFunctions.alphaColor(AnimationFunction f,
java.awt.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 AnimationFunction |
AnimationFunctions.concat(AnimationFunction first,
AnimationFunction second)
Concatenates the fiven animation functions and returns a compound
animation function that represents the concatenation.
|
static AnimationFunction |
AnimationFunctions.constant(long duration,
java.lang.Object value)
Creates and returns an animation function that returns a constant value
over the given duration.
|
static AnimationFunction |
AnimationFunctions.discrete(long duration,
java.lang.Object[] values)
Creates and returns a discrete animation function for the
given duration and values.
|
static AnimationFunction |
AnimationFunctions.discrete(long duration,
java.lang.Object[] values,
float[] keyTimes)
Creates and returns a discrete animation function for the given duration,
values and interpolation key times.
|
static AnimationFunction |
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 |
AnimationFunctions.fromTo(long duration,
float from,
float to)
Ceates and returns a linear animation function with the given duration.
|
static AnimationFunction |
AnimationFunctions.linear(long duration,
java.lang.Object[] 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 AnimationFunction |
AnimationFunctions.linear(long duration,
java.lang.Object[] 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 |
AnimationFunctions.linearColors(long duration,
java.awt.Color[] colors,
float[] keyTimes)
Creates an
AnimationFunction that maps times
to instances of Color . |
static AnimationFunction |
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 AnimationFunction |
AnimationFunctions.repeat(AnimationFunction f,
long repeatTime)
Creates and returns an animation function that is defined
by repeating the specified animation function.
|
static AnimationFunction |
AnimationFunctions.reverse(AnimationFunction f)
Creates and returns an animation function that is defined
by reverting the given animation function in time.
|
Modifier and Type | Method and Description |
---|---|
static AnimationFunction |
AnimationFunctions.alphaColor(AnimationFunction f,
java.awt.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.FloatFunction |
AnimationFunctions.asFloat(AnimationFunction f)
Creates a time-based function that wraps the given Float-based animation
function to return the corresponding float values.
|
static AnimationFunction |
AnimationFunctions.concat(AnimationFunction first,
AnimationFunction second)
Concatenates the fiven animation functions and returns a compound
animation function that represents the concatenation.
|
static AnimationFunction |
AnimationFunctions.repeat(AnimationFunction f,
long repeatTime)
Creates and returns an animation function that is defined
by repeating the specified animation function.
|
static AnimationFunction |
AnimationFunctions.reverse(AnimationFunction f)
Creates and returns an animation function that is defined
by reverting the given animation function in time.
|
Modifier and Type | Method and Description |
---|---|
static AnimationFunction |
BasicTextAnimation.cinemaFadeColorFunction(long duration,
java.awt.Color baseColor)
Creates and answers the color animation function for the default fade.
|
static AnimationFunction |
BasicTextAnimation.defaultFadeColorFunction(long duration,
java.awt.Color baseColor)
Creates and answers the color animation function for the default fade.
|
static AnimationFunction |
BasicTextAnimation.defaultOffsetFunction()
Returns the animation function for the default random position offset.
|
static AnimationFunction |
FanAnimation.defaultRotationFunction(long duration)
Creates and answers an animation function for the default rotation.
|
static AnimationFunction |
BasicTextAnimation.defaultScaleColorFunction(long duration,
java.awt.Color baseColor)
Creates and answers the animation function for the default scaling.
|
static AnimationFunction |
BasicTextAnimation.defaultScaleFunction(long duration)
Creates and answers the default scaling animation function.
|
static AnimationFunction |
BasicTextAnimation.defaultSpaceColorFunction(long duration,
java.awt.Color baseColor)
Creates and answers the color animation function for
the default spacing animation.
|
static AnimationFunction |
BasicTextAnimation.defaultSpaceFunction(long duration)
Creates and answers the default spacing animation function.
|
Constructor and Description |
---|
BasicTextAnimation(BasicTextLabel label,
long duration,
java.lang.String text,
AnimationFunction colorFunction,
AnimationFunction scaleXFunction,
AnimationFunction scaleYFunction,
AnimationFunction spaceFunction)
Constructs a text animation, that fades in a text, scales it and
fades it out.
|
FanAnimation(FanComponent fan,
long duration,
AnimationFunction rotationFunction)
Constructs an animation that rotates a fan using the given fan component,
duration and rotation animation function.
|
Modifier and Type | Method and Description |
---|---|
static AnimationFunction |
GlyphLabel.defaultColorFunction(long duration,
java.awt.Color baseColor)
Creates and returns the default color function for the given duration
and base color.
|
static AnimationFunction |
GlyphLabel.defaultScaleFunction(long duration)
Creates and returns the default scale function for the given duration.
|
Constructor and Description |
---|
GlyphRenderer(java.lang.String text,
AnimationFunction scaleFunction,
AnimationFunction translateFunction,
AnimationFunction colorFunction,
long glyphDelay)
Constructs a
GlyphRenderer that paints
individual glyphs with different transforms. |
Copyright © 2001-2006 JGoodies Karsten Lentzsch. All Rights Reserved.