com.jgoodies.animation

Class Animations.OneTimeAnimation

Enclosing Class:
Animations
Implemented Interfaces:
Animation

public static abstract class Animations.OneTimeAnimation
extends AbstractAnimation

Used to apply an effect one-time only.

Constructor Summary

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, animate, applyEffect, duration, fireAnimationStarted, fireAnimationStopped, isFreezed, removeAnimationListener, toString

Constructor Details

OneTimeAnimation

public OneTimeAnimation()
Constructs a OneTimeAnimation.

Method Details

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 interface AbstractAnimation
Parameters:
time - the time used to determine the animation effect

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