t3.portfolios
Class AnimatorThread

java.lang.Object
  extended by java.lang.Thread
      extended by t3.portfolios.AnimatorThread
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
AnimatorJobsThread

public abstract class AnimatorThread
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AnimatorThread(long targetMsBetweenFrames, PortfolioServer ps)
           
 
Method Summary
 long getStartTime()
           
 boolean isCompleted()
           
 void reqToComplete()
           
 void run()
           
 void runOnComplete()
           
abstract  void runOnEachLoop()
           
 
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

AnimatorThread

public AnimatorThread(long targetMsBetweenFrames,
                      PortfolioServer ps)
Method Detail

reqToComplete

public final void reqToComplete()

isCompleted

public final boolean isCompleted()

runOnEachLoop

public abstract void runOnEachLoop()

runOnComplete

public void runOnComplete()

run

public final void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

getStartTime

public final long getStartTime()