Class PullThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--PullThread
All Implemented Interfaces:
java.lang.Runnable

public class PullThread
extends java.lang.Thread

Programm: WaveThread
Copyright: 2002 Andreas Gohr, Frank Schubert, Milan Altenburg
License: GPL2 or higher

Info: thread that calls repaint if queue has elements


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PullThread(Painting paint_canvas, CalcThread cl_thread)
          Constructor (starts Thread)
 
Method Summary
 void run()
          "main" of PullThread calls repaint of Painting if queue has elements
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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

PullThread

public PullThread(Painting paint_canvas,
                  CalcThread cl_thread)
Constructor (starts Thread)

Method Detail

run

public void run()
"main" of PullThread calls repaint of Painting if queue has elements

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread