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

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

Creates and answers an animation, that provides a text fade-in and -out.

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 text fade

Definition at line 123 of file BasicTextAnimation.java.

References BasicTextAnimation(), and cinemaFadeColorFunction().

                         {

        return new BasicTextAnimation(
            label,
            duration,
            text,
            cinemaFadeColorFunction(duration, baseColor),
            //defaultFadeColorFunction(duration, baseColor),
            null,
            null,
            null);
    }


Generated by  Doxygen 1.6.0   Back to index