nl.tudelft.simulation.dsol.simulators
Class AnimatorWithThread.AnimationThread

java.lang.Object
  extended by java.lang.Thread
      extended by nl.tudelft.simulation.dsol.simulators.AnimatorWithThread.AnimationThread
All Implemented Interfaces:
Runnable
Enclosing class:
AnimatorWithThread

protected class AnimatorWithThread.AnimationThread
extends Thread

The thread to trigger the animation updates. The animationdelay is expressed in milleseconds between screen updates.

Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. License of use: Lesser General Public License (LGPL) , no warranty.

Version:
Feb 17, 2006
Author:
Alexander Verbraeck

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AnimatorWithThread.AnimationThread(AnimatorWithThread animator)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnimatorWithThread.AnimationThread

public AnimatorWithThread.AnimationThread(AnimatorWithThread animator)
Parameters:
animator - the animator
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
Thread.run()


Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.