Class AnimatedLabel.BlendOverAnimation
- java.lang.Object
-
- com.jgoodies.animation.AbstractAnimation
-
- com.jgoodies.animation.swing.components.AnimatedLabel.BlendOverAnimation
-
- All Implemented Interfaces:
Animation
- Enclosing class:
- AnimatedLabel
private class AnimatedLabel.BlendOverAnimation extends AbstractAnimation
An animation that changes the colors of overlapping labels to implement a blend over effect.
-
-
Constructor Summary
Constructors Constructor Description BlendOverAnimation(long duration)
Constructs an animation that changes the colors of the prefix and suffix labels over the duration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
applyEffect
protected void applyEffect(long time)
Applies the effect: sets the text and time.- Specified by:
applyEffect
in classAbstractAnimation
- Parameters:
time
- the time point used to apply the effect
-
-