com.jgoodies.animation.animations
Class GlyphAnimation
java.lang.Object
com.jgoodies.animation.AbstractAnimation
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. |
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 labelduration
- the animation durationglyphDelay
- a delay used to scale glyphs differentlytext
- the text to animation
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.