edu.princeton.toy
Class TSimStdin2Pane.Runner
java.lang.Object
edu.princeton.toy.TSimStdin2Pane.Runner
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- TSimStdin2Pane
protected class TSimStdin2Pane.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 TSimStdin2Pane. |
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
TSimStdin2Pane.Runner
protected TSimStdin2Pane.Runner()
start
public void start()
- Causes the runner to start. This should only be called by a Thread which has
synchronized the TSimStdin2Pane and has checked that the Runner is not already running.
run
public void run()
- Implement Runnable to run the TSimStdin2Pane.
- Specified by:
run
in interface Runnable