at.tuwien.ifs.somtoolbox.apps.viewer.controls.multichannelPlayback
Class TimeUpdateThread

java.lang.Object
  extended by java.lang.Thread
      extended by at.tuwien.ifs.somtoolbox.apps.viewer.controls.multichannelPlayback.TimeUpdateThread
All Implemented Interfaces:
Runnable

public class TimeUpdateThread
extends Thread

updates the time displayed in the control frame, interval: 1 second

Version:
$Id: TimeUpdateThread.java 3358 2010-02-11 14:35:07Z mayer $
Author:
Ewald Peiszer

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
private  boolean bPaused
           
private  boolean bQuitLoop
           
private  long lPausesDuration
          Duration of all pauses accumulated in millisecs
private  long lPauseStarted
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TimeUpdateThread()
           
 
Method Summary
 void end_pause()
           
 void run()
           
 void start_pause()
           
 void stop_it()
           
 
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
 

Field Detail

bQuitLoop

private boolean bQuitLoop

bPaused

private boolean bPaused

lPauseStarted

private long lPauseStarted

lPausesDuration

private long lPausesDuration
Duration of all pauses accumulated in millisecs

Constructor Detail

TimeUpdateThread

public TimeUpdateThread()
Method Detail

run

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

stop_it

public void stop_it()

start_pause

public void start_pause()

end_pause

public void end_pause()