edu.princeton.toy
Class TSimStdout2Pane.Runner
java.lang.Object
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.
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 |
isRunning
protected boolean isRunning
TSimStdout2Pane.Runner
protected TSimStdout2Pane.Runner()
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