com.jgoodies.animation
Class Animations.OneTimeAnimation

java.lang.Object
  extended by com.jgoodies.animation.AbstractAnimation
      extended by com.jgoodies.animation.Animations.OneTimeAnimation
All Implemented Interfaces:
Animation
Enclosing class:
Animations

public abstract static class Animations.OneTimeAnimation
extends AbstractAnimation

Used to apply an effect one-time only.


Constructor Summary
Animations.OneTimeAnimation()
          Constructs a OneTimeAnimation.
 
Method Summary
 void animate(long time)
          Applies the effect to the animation target, only if is hasn't been applied before.
 
Methods inherited from class com.jgoodies.animation.AbstractAnimation
addAnimationListener, applyEffect, 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

Animations.OneTimeAnimation

public Animations.OneTimeAnimation()
Constructs a OneTimeAnimation.

Method Detail

animate

public void animate(long time)
Applies the effect to the animation target, only if is hasn't been applied before.

Specified by:
animate in interface Animation
Overrides:
animate in class AbstractAnimation
Parameters:
time - the time used to determine the animation effect


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