public class TimeAnimationImpl extends java.lang.Thread implements TimeAnimation
| Constructor and Description |
|---|
TimeAnimationImpl() |
| Modifier and Type | Method and Description |
|---|---|
TimeAnimationDataModel |
getDataModel()
Gets the data model for time animation.
|
void |
pauseAnimation()
Pauses the animation
|
void |
run() |
void |
setAnimateClient(AnimateClient client)
Sets the client which receives events from the animation
|
void |
startAnimation()
Starts the animation
|
void |
stopAnimation()
Stops the animation
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisAlivepublic void setAnimateClient(AnimateClient client)
TimeAnimationsetAnimateClient in interface TimeAnimationclient - Interface with the functions to call when the animation increase a step, ends
or an iteration endspublic TimeAnimationDataModel getDataModel()
TimeAnimationgetDataModel in interface TimeAnimationTimeAnimationDataModelpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void stopAnimation()
stopAnimation in interface TimeAnimationpublic void pauseAnimation()
pauseAnimation in interface TimeAnimationpublic void startAnimation()
startAnimation in interface TimeAnimation