|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.animation.animations.BasicTextAnimations
public final class BasicTextAnimations
Provides a text animation that shows an overlapping sequence of texts using a bunch of different effects: color fade, scaling, glyph spacing.
BasicTextAnimation
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 fade
public 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 fade
public 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 fade
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |