com.isti.jplotresp
Class RespProcessingThread

java.lang.Object
  extended by com.isti.jplotresp.RespProcessingThread
All Implemented Interfaces:
java.lang.Runnable

public class RespProcessingThread
extends java.lang.Object
implements java.lang.Runnable

Class RespProcessingThread creates a new thread to process parameters.


Constructor Summary
RespProcessingThread(PlotRun plotRunObj, RespEntryPanel ePanel, boolean plotFlag)
          Constructs a 'RespProcessingThread' object that is used to run the processing under a different thread.
 
Method Summary
protected static int nextThreadNum()
          Returns (and increments) the next thread number for autonumbering anonymous threads.
 void run()
          Executing method for thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RespProcessingThread

public RespProcessingThread(PlotRun plotRunObj,
                            RespEntryPanel ePanel,
                            boolean plotFlag)
Constructs a 'RespProcessingThread' object that is used to run the processing under a different thread.

Parameters:
plotRunObj - is a PlotRun object.
ePanel - is the parent RespEntryPanel object.
plotFlag - true for plot output, false for files output.
Method Detail

nextThreadNum

protected static int nextThreadNum()
Returns (and increments) the next thread number for autonumbering anonymous threads.

Returns:
the next thread number.

run

public void run()
Executing method for thread.

Specified by:
run in interface java.lang.Runnable