edu.princeton.toy
Class TSimStdout2Pane.Runner

java.lang.Object
  extended by edu.princeton.toy.TSimStdout2Pane.Runner
All Implemented Interfaces:
Runnable
Enclosing class:
TSimStdout2Pane

protected class TSimStdout2Pane.Runner
extends Object
implements Runnable

Runner is a simple implementation of Runnable for the Thread started when the component's size changes.


Field Summary
protected  boolean isRunning
           
 
Constructor Summary
protected TSimStdout2Pane.Runner()
           
 
Method Summary
 void run()
          Implement Runnable to run the TSimStdout2Pane.
 void start()
          Causes the runner to start.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isRunning

protected boolean isRunning
Constructor Detail

TSimStdout2Pane.Runner

protected TSimStdout2Pane.Runner()
Method Detail

start

public void start()
Causes the runner to start. This should only be called by a Thread which has synchronized the TSimStdout2Pane and has checked that the Runner is not already running.


run

public void run()
Implement Runnable to run the TSimStdout2Pane.

Specified by:
run in interface Runnable