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

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

Creates and answers an animation, that provides a text fade-in and -out and increases the glyph spacing.

Parameters:
label the animation target component
duration the animation duration
text the text to fade in
baseColor the base color for the fade effect
Returns:
an animation with a default glyph spacing effect

Definition at line 176 of file BasicTextAnimation.java.

References BasicTextAnimation(), defaultSpaceColorFunction(), and defaultSpaceFunction().

                         {

        return new BasicTextAnimation(
            label,
            duration,
            text,
            defaultSpaceColorFunction(duration, baseColor),
            null,
            null,
            defaultSpaceFunction(duration));
    }


Generated by  Doxygen 1.6.0   Back to index