Uses of Interface
com.jgoodies.animation.AnimationFunction

Packages that use AnimationFunction
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. 
 

Uses of AnimationFunction in com.jgoodies.animation
 

Classes in com.jgoodies.animation that implement AnimationFunction
 class AbstractAnimationFunction
          An abstract class that minimizes the effort required to implement the AnimationFunction interface.
 

Fields in com.jgoodies.animation declared as AnimationFunction
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.
 

Methods in com.jgoodies.animation that return AnimationFunction
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.
 

Methods in com.jgoodies.animation with parameters of type AnimationFunction
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.
 

Uses of AnimationFunction in com.jgoodies.animation.animations
 

Methods in com.jgoodies.animation.animations that return AnimationFunction
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.
 

Constructors in com.jgoodies.animation.animations with parameters of type AnimationFunction
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.
 

Uses of AnimationFunction in com.jgoodies.animation.components
 

Methods in com.jgoodies.animation.components that return AnimationFunction
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.
 

Uses of AnimationFunction in com.jgoodies.animation.renderer
 

Constructors in com.jgoodies.animation.renderer with parameters of type AnimationFunction
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.