public final class BasicTextAnimations
extends java.lang.Object
BasicTextAnimation
Modifier and Type | Method and Description |
---|---|
static Animation |
defaultFade(BasicTextLabel label1,
BasicTextLabel label2,
long singleDuration,
long beginOffset,
java.lang.String separatedTexts,
java.awt.Color baseColor)
Creates and answers the default color fade text sequence.
|
static Animation |
defaultScale(BasicTextLabel label1,
BasicTextLabel label2,
long singleDuration,
long beginOffset,
java.lang.String separatedTexts,
java.awt.Color baseColor)
Creates and answers the default scaling text sequence.
|
static Animation |
defaultSpace(BasicTextLabel label1,
BasicTextLabel label2,
long singleDuration,
long beginOffset,
java.lang.String separatedTexts,
java.awt.Color baseColor)
Creates and answers the default glyph spacing text sequence.
|
public static Animation defaultFade(BasicTextLabel label1, BasicTextLabel label2, long singleDuration, long beginOffset, java.lang.String separatedTexts, java.awt.Color baseColor)
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 fadepublic static Animation defaultScale(BasicTextLabel label1, BasicTextLabel label2, long singleDuration, long beginOffset, java.lang.String separatedTexts, java.awt.Color baseColor)
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 fadepublic static Animation defaultSpace(BasicTextLabel label1, BasicTextLabel label2, long singleDuration, long beginOffset, java.lang.String separatedTexts, java.awt.Color baseColor)
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 fadeCopyright © 2001-2011 JGoodies Karsten Lentzsch. All Rights Reserved.