com.jgoodies.animation.animations
Class BasicTextAnimations
java.lang.Object
com.jgoodies.animation.animations.BasicTextAnimations
public final class BasicTextAnimations
extends java.lang.Object
Provides a text animation that shows an overlapping sequence of
texts using a bunch of different effects: color fade, scaling, glyph spacing.
static Animation | defaultFade(BasicTextLabel label1, BasicTextLabel label2, long singleDuration, long beginOffset, String separatedTexts, Color baseColor) - Creates and answers the default color fade text sequence.
|
static Animation | defaultScale(BasicTextLabel label1, BasicTextLabel label2, long singleDuration, long beginOffset, String separatedTexts, Color baseColor) - Creates and answers the default scaling text sequence.
|
static Animation | defaultSpace(BasicTextLabel label1, BasicTextLabel label2, long singleDuration, long beginOffset, String separatedTexts, Color baseColor) - Creates and answers the default glyph spacing text sequence.
|
defaultFade
public static Animation defaultFade(BasicTextLabel label1,
BasicTextLabel label2,
long singleDuration,
long beginOffset,
String separatedTexts,
Color baseColor)
Creates and answers the default color fade text sequence.
label1
- a text label used to blend overlabel2
- a second text label used to blend oversingleDuration
- the duration of a single animationbeginOffset
- an initial animation time offsetseparatedTexts
- a sequence of texts in a string separated
by the | characterbaseColor
- the base color for the fade
defaultScale
public static Animation defaultScale(BasicTextLabel label1,
BasicTextLabel label2,
long singleDuration,
long beginOffset,
String separatedTexts,
Color baseColor)
Creates and answers the default scaling text sequence.
label1
- a text label used to blend overlabel2
- a second text label used to blend oversingleDuration
- the duration of a single animationbeginOffset
- an initial animation time offsetseparatedTexts
- a sequence of texts in a string separated
by the | characterbaseColor
- the base color for the fade
- a default scaling blend over animation
defaultSpace
public static Animation defaultSpace(BasicTextLabel label1,
BasicTextLabel label2,
long singleDuration,
long beginOffset,
String separatedTexts,
Color baseColor)
Creates and answers the default glyph spacing text sequence.
label1
- a text label used to blend overlabel2
- a second text label used to blend oversingleDuration
- the duration of a single animationbeginOffset
- an initial animation time offsetseparatedTexts
- a sequence of texts in a string separated
by the | characterbaseColor
- the base color for the fade
- a default space blend over animation
Copyright © 2001-2006 JGoodies Karsten Lentzsch. All Rights Reserved.