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

com::jgoodies::animation::animations::BasicTextAnimation Class Reference

Inheritance diagram for com::jgoodies::animation::animations::BasicTextAnimation:

com::jgoodies::animation::AbstractAnimation com::jgoodies::animation::Animation

List of all members.


Detailed Description

A basic text animation that fades in a text, changes the x and y scaling, the position, and the space between glyphs.

Author:
Karsten Lentzsch
Version:
Revision
1.1

See also:
com.jgoodies.animation.Animation

BasicTextLabel

AnimationFunction

com.jgoodies.animation.AnimationFunctions

Definition at line 52 of file BasicTextAnimation.java.


Public Member Functions

final void addAnimationListener (AnimationListener listener)
void animate (long time)
 BasicTextAnimation (BasicTextLabel label, long duration, String text, AnimationFunction colorFunction, AnimationFunction scaleXFunction, AnimationFunction scaleYFunction, AnimationFunction spaceFunction)
final long duration ()
final boolean isFreezed ()
boolean isOffsetEnabled ()
final void removeAnimationListener (AnimationListener listener)
void setOffsetEnabled (boolean b)
String toString ()

Static Public Member Functions

static AnimationFunction cinemaFadeColorFunction (long duration, Color baseColor)
static BasicTextAnimation defaultFade (BasicTextLabel label, long duration, String text, Color baseColor)
static AnimationFunction defaultFadeColorFunction (long duration, Color baseColor)
static AnimationFunction defaultOffsetFunction ()
static BasicTextAnimation defaultScale (BasicTextLabel label, long duration, String text, Color baseColor)
static AnimationFunction defaultScaleColorFunction (long duration, Color baseColor)
static AnimationFunction defaultScaleFunction (long duration)
static BasicTextAnimation defaultSpace (BasicTextLabel label, long duration, String text, Color baseColor)
static AnimationFunction defaultSpaceColorFunction (long duration, Color baseColor)
static AnimationFunction defaultSpaceFunction (long duration)

Protected Member Functions

void applyEffect (long time)
final void fireAnimationStarted (long time)
final void fireAnimationStopped (long time)

Private Attributes

final AnimationFunction colorFunction
final BasicTextLabel label
boolean offsetEnabled = false
final
AnimationFunctions.FloatFunction 
offsetFunction
final
AnimationFunctions.FloatFunction 
scaleXFunction
final
AnimationFunctions.FloatFunction 
scaleYFunction
final
AnimationFunctions.FloatFunction 
spaceFunction
final String text

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index