protected static class SVGAnimationEngine.DebugAnimationTickRunnable extends SVGAnimationEngine.AnimationTickRunnable
engRef, exceptionCount, MAX_EXCEPTION_COUNT, q, sumTime, time, timeIndex, times, waitTime
Constructor and Description |
---|
SVGAnimationEngine.DebugAnimationTickRunnable(RunnableQueue q,
SVGAnimationEngine eng) |
Modifier and Type | Method and Description |
---|---|
long |
getWaitTime()
Returns the system time that can be safely waited until before this
Runnable is run again. |
void |
resume()
Forces an animation update, if the
RunnableQueue is
currently waiting. |
void |
run()
Performs one tick of the animation.
|
getAnimationEngine
public SVGAnimationEngine.DebugAnimationTickRunnable(RunnableQueue q, SVGAnimationEngine eng)
public void resume()
SVGAnimationEngine.AnimationTickRunnable
RunnableQueue
is
currently waiting.resume
in class SVGAnimationEngine.AnimationTickRunnable
public long getWaitTime()
SVGAnimationEngine.AnimationTickRunnable
Runnable
is run again.getWaitTime
in interface RunnableQueue.IdleRunnable
getWaitTime
in class SVGAnimationEngine.AnimationTickRunnable
0
if no waiting can
be done, or Long.MAX_VALUE
if the Runnable
should not be run again at this timepublic void run()
SVGAnimationEngine.AnimationTickRunnable
run
in interface java.lang.Runnable
run
in class SVGAnimationEngine.AnimationTickRunnable
Copyright ? 2009 Apache Software Foundation. All Rights Reserved.