net.refractions.udig.project.ui
Class AnimationUpdater
java.lang.Object
net.refractions.udig.project.ui.AnimationUpdater
public class AnimationUpdater
- extends java.lang.Object
Responsible for updating the viewport when animations need their next animation frame to be displayed.
- Author:
- jeichar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnimationUpdater
public AnimationUpdater(ViewportPane display,
short frameInterval)
run
public void run()
setTesting
public static void setTesting(boolean isTesting)
- should only be used for testing purposes.
- Parameters:
testing
-
runTimer
public static void runTimer(IMapDisplay mapDisplay,
IAnimation animation)
getAnimations
public java.util.List<IAnimation> getAnimations()
- Returns:
- Returns the animations.
getFrameInterval
public short getFrameInterval()
- Returns:
- Returns the frameInterval.