Uses of Interface
com.jgoodies.animation.AnimationFunction
-
Packages that use AnimationFunction Package Description 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 Modifier and Type Class Description classAbstractAnimationFunction<T>An abstract class that minimizes the effort required to implement theAnimationFunctioninterface.private static classAnimationFunctions.AlphaColorAnimationFunctionHelper class for animation functions that answer translucent colors.private static classAnimationFunctions.ColorFunctionHelper class for interpolating colors.private static classAnimationFunctions.InterpolatedAnimationFunction<T>Helper class for interpolation based animation functions.private static classAnimationFunctions.RandomAnimationFunctionProduces and returns random Integer values.private static classAnimationFunctions.RepeatedAnimationFunction<T>Helper class used to repeat or sequence an animation function.private static classAnimationFunctions.ReversedAnimationFunction<T>Helper class for reversing an animation function.private static classAnimationFunctions.SequencedAnimationFunction<T>Helper class to compose an animation functions from a sequences of such functions.Fields in com.jgoodies.animation declared as AnimationFunction Modifier and Type Field Description private AnimationFunction<java.lang.Integer>AnimationFunctions.ColorFunction. alphaFunctionRefers to an AnimationFunction of float values that maps a time to the alpha value of an sRGB color value.private AnimationFunction<java.lang.Integer>AnimationFunctions.ColorFunction. blueFunctionRefers to an AnimationFunction of float values that maps a time to the blue component of an sRGB color value.private AnimationFunction<T>AnimationFunctions.RepeatedAnimationFunction. fprivate AnimationFunction<T>AnimationFunctions.ReversedAnimationFunction. fprivate AnimationFunction<java.lang.Integer>AnimationFunctions.AlphaColorAnimationFunction. fAlphaprivate AnimationFunction<java.lang.Integer>AnimationFunctions.ColorFunction. greenFunctionRefers to an AnimationFunction of float values that maps a time to the green component of an sRGB color value.static AnimationFunction<java.lang.Float>AnimationFunctions. ONEA constantAnimationFunctionthat returns1fall the time.private AnimationFunction<java.lang.Integer>AnimationFunctions.ColorFunction. redFunctionRefers to an AnimationFunction of float values that maps a time to the red component of an sRGB color value.static AnimationFunction<java.lang.Float>AnimationFunctions. ZEROA constantAnimationFunctionthat returns0fall the time.Fields in com.jgoodies.animation with type parameters of type AnimationFunction Modifier and Type Field Description private java.util.List<AnimationFunction<T>>AnimationFunctions.SequencedAnimationFunction. functionsMethods in com.jgoodies.animation that return AnimationFunction Modifier and Type Method Description static AnimationFunction<java.awt.Color>AnimationFunctions. alphaColor(AnimationFunction<java.lang.Integer> 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 <T> AnimationFunction<T>AnimationFunctions. concat(AnimationFunction<T>... functions)Concatenates the given animation functions and returns a compound animation function that represents the concatenation.static <T> AnimationFunction<T>AnimationFunctions. constant(long duration, T value)Creates and returns an animation function that returns a constant value over the given duration.static <T> AnimationFunction<T>AnimationFunctions. discrete(long duration, T... values)Creates and returns a discrete animation function for the given duration and values.static <T> AnimationFunction<T>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<java.lang.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<java.lang.Float>AnimationFunctions. fromTo(long duration, float from, float to)Creates and returns a linear animation function with the given duration.static <T extends java.lang.Number>
AnimationFunction<T>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 <T extends java.lang.Number>
AnimationFunction<T>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<java.awt.Color>AnimationFunctions. linearColors(long duration, java.awt.Color[] colors, float[] keyTimes)Creates anAnimationFunctionthat maps times to instances ofColor.static AnimationFunction<java.lang.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 <T> AnimationFunction<T>AnimationFunctions. repeat(AnimationFunction<T> f, long repeatTime)Creates and returns an animation function that is defined by repeating the specified animation function.static <T> AnimationFunction<T>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 Modifier and Type Method Description static AnimationFunction<java.awt.Color>AnimationFunctions. alphaColor(AnimationFunction<java.lang.Integer> 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 <T> AnimationFunction<T>AnimationFunctions. concat(AnimationFunction<T>... functions)Concatenates the given animation functions and returns a compound animation function that represents the concatenation.static <T> AnimationFunction<T>AnimationFunctions. repeat(AnimationFunction<T> f, long repeatTime)Creates and returns an animation function that is defined by repeating the specified animation function.static <T> AnimationFunction<T>AnimationFunctions. reverse(AnimationFunction<T> f)Creates and returns an animation function that is defined by reverting the given animation function in time.Constructors in com.jgoodies.animation with parameters of type AnimationFunction Constructor Description AlphaColorAnimationFunction(AnimationFunction<java.lang.Integer> fAlpha, java.awt.Color baseColor)RepeatedAnimationFunction(AnimationFunction<T> f, long repeatTime)ReversedAnimationFunction(AnimationFunction<T> f)Constructor parameters in com.jgoodies.animation with type arguments of type AnimationFunction Constructor Description SequencedAnimationFunction(java.util.List<AnimationFunction<T>> functions) -
Uses of AnimationFunction in com.jgoodies.animation.renderer
Fields in com.jgoodies.animation.renderer declared as AnimationFunction Modifier and Type Field Description private AnimationFunction<java.awt.Color>GlyphRenderer. colorFunctionprivate AnimationFunction<java.lang.Float>GlyphRenderer. scaleFunctionConstructors in com.jgoodies.animation.renderer with parameters of type AnimationFunction Constructor Description GlyphRenderer(java.lang.String text, AnimationFunction<java.lang.Float> scaleFunction, AnimationFunction<java.lang.Float> translateFunction, AnimationFunction<java.awt.Color> colorFunction, long glyphDelay)Constructs aGlyphRendererthat paints individual glyphs with different transforms. -
Uses of AnimationFunction in com.jgoodies.animation.swing.animations
Fields in com.jgoodies.animation.swing.animations declared as AnimationFunction Modifier and Type Field Description private AnimationFunction<java.awt.Color>BasicTextAnimation. colorFunctionprivate AnimationFunction<java.lang.Integer>BasicTextAnimation. offsetFunctionprivate AnimationFunction<java.lang.Float>FanAnimation. rotationFunctionprivate AnimationFunction<java.lang.Float>BasicTextAnimation. scaleXFunctionprivate AnimationFunction<java.lang.Float>BasicTextAnimation. scaleYFunctionprivate AnimationFunction<java.lang.Float>BasicTextAnimation. spaceFunctionMethods in com.jgoodies.animation.swing.animations that return AnimationFunction Modifier and Type Method Description static AnimationFunction<java.awt.Color>BasicTextAnimation. cinemaFadeColorFunction(long duration, java.awt.Color baseColor)Creates and returns the color animation function for the default fade.static AnimationFunction<java.awt.Color>BasicTextAnimation. defaultFadeColorFunction(long duration, java.awt.Color baseColor)Creates and returns the color animation function for the default fade.static AnimationFunction<java.lang.Integer>BasicTextAnimation. defaultOffsetFunction()Returns the animation function for the default random position offset.static AnimationFunction<java.lang.Float>FanAnimation. defaultRotationFunction(long duration)Creates and answers an animation function for the default rotation.static AnimationFunction<java.awt.Color>BasicTextAnimation. defaultScaleColorFunction(long duration, java.awt.Color baseColor)Creates and returns the animation function for the default scaling.static AnimationFunction<java.lang.Float>BasicTextAnimation. defaultScaleFunction(long duration)Creates and returns the default scaling animation function.static AnimationFunction<java.awt.Color>BasicTextAnimation. defaultSpaceColorFunction(long duration, java.awt.Color baseColor)Creates and answers the color animation function for the default spacing animation.static AnimationFunction<java.lang.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 Constructor Description BasicTextAnimation(BasicTextLabel label, long duration, java.lang.String text, AnimationFunction<java.awt.Color> colorFunction, AnimationFunction<java.lang.Float> scaleXFunction, AnimationFunction<java.lang.Float> scaleYFunction, AnimationFunction<java.lang.Float> spaceFunction)Constructs a text animation that fades in a text, scales it and fades it out.FanAnimation(FanComponent fan, long duration, AnimationFunction<java.lang.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 Modifier and Type Method Description static AnimationFunction<java.awt.Color>GlyphLabel. defaultColorFunction(long duration, java.awt.Color baseColor)Creates and returns the default color function for the given duration and base color.static AnimationFunction<java.lang.Float>GlyphLabel. defaultScaleFunction(long duration)Creates and returns the default scale function for the given duration.
-