Package | Description |
---|---|
com.jgoodies.animation.swing.animations |
Contains a bunch of prepared animations and animation factories.
|
Modifier and Type | Method and Description |
---|---|
static Animation |
BasicTextAnimations.defaultFade(BasicTextLabel label1,
BasicTextLabel label2,
long singleDuration,
long beginOffset,
String separatedTexts,
Color baseColor)
Creates and answers the default color fade text sequence.
|
static BasicTextAnimation |
BasicTextAnimation.defaultFade(BasicTextLabel label,
long duration,
String text,
Color baseColor)
Creates and returns an animation for a text fade-in and -out.
|
static Animation |
BasicTextAnimations.defaultScale(BasicTextLabel label1,
BasicTextLabel label2,
long singleDuration,
long beginOffset,
String separatedTexts,
Color baseColor)
Creates and answers the default scaling text sequence.
|
static BasicTextAnimation |
BasicTextAnimation.defaultScale(BasicTextLabel label,
long duration,
String text,
Color baseColor)
Creates and answers an animation, that provides a text fade-in
and -out and scales the text while fading out.
|
static Animation |
BasicTextAnimations.defaultSpace(BasicTextLabel label1,
BasicTextLabel label2,
long singleDuration,
long beginOffset,
String separatedTexts,
Color baseColor)
Creates and answers the default glyph spacing text sequence.
|
static BasicTextAnimation |
BasicTextAnimation.defaultSpace(BasicTextLabel label,
long duration,
String text,
Color baseColor)
Creates and answers an animation, that provides a text fade-in
and -out and increases the glyph spacing.
|
Constructor and Description |
---|
BasicTextAnimation(BasicTextLabel label,
long duration,
String text,
AnimationFunction<Color> colorFunction,
AnimationFunction<Float> scaleXFunction,
AnimationFunction<Float> scaleYFunction,
AnimationFunction<Float> spaceFunction)
Constructs a text animation that fades in a text, scales it and
fades it out.
|
Copyright © 2001-2011 JGoodies Karsten Lentzsch. All Rights Reserved.