Logo Search packages:      
Sourcecode: libjgoodies-animation-java version File versions  Download package

static BasicTextAnimation com::jgoodies::animation::animations::BasicTextAnimation::defaultScale ( BasicTextLabel  label,
long  duration,
String  text,
Color  baseColor 
) [inline, static]

Creates and answers an animation, that provides a text fade-in and -out and scales the text while fading out.

label the animation target component
duration the animation duration
text the text to fade in
baseColor the base color for the fade effect
an animation with a default scaling text effect

Definition at line 150 of file BasicTextAnimation.java.

References BasicTextAnimation(), defaultScaleColorFunction(), and defaultScaleFunction().

Generated by  Doxygen 1.6.0   Back to index