com.jgoodies.animation.animations
Class GlyphAnimation

java.lang.Object
  extended by com.jgoodies.animation.AbstractAnimation
      extended by com.jgoodies.animation.animations.GlyphAnimation
All Implemented Interfaces:
Animation

public final class GlyphAnimation
extends AbstractAnimation

A text based animation that changes the scaling of the text's individual glyphs over the time.

Version:
$Revision: 1.1 $
Author:
Karsten Lentzsch

Constructor Summary
GlyphAnimation(GlyphLabel label, long duration, long glyphDelay, String text)
          Constructs an animation that changes the scaling of individual glyphs over the duration.
 
Method Summary
protected  void applyEffect(long time)
          Applies the effect: sets the text and time.
 
Methods inherited from class com.jgoodies.animation.AbstractAnimation
addAnimationListener, animate, duration, fireAnimationStarted, fireAnimationStopped, isFreezed, removeAnimationListener, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlyphAnimation

public GlyphAnimation(GlyphLabel label,
                      long duration,
                      long glyphDelay,
                      String text)
Constructs an animation that changes the scaling of individual glyphs over the duration.

Parameters:
label - the animation target label
duration - the animation duration
glyphDelay - a delay used to scale glyphs differently
text - the text to animation
Method Detail

applyEffect

protected void applyEffect(long time)
Applies the effect: sets the text and time.

Specified by:
applyEffect in class AbstractAnimation
Parameters:
time - the render time position


Copyright © 2001-2006 JGoodies Karsten Lentzsch. All Rights Reserved.