|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.princeton.toy.TStdoutPane.Runner
protected class TStdoutPane.Runner
The Runner of a TStdoutPane blinks the stderrTextArea when an error occurs. This class is completely thread-safe in that the user need not worry about the current status of the Runner when he calls start() or stop().
Constructor Summary | |
---|---|
protected |
TStdoutPane.Runner()
Creates a new Runner. |
Method Summary | |
---|---|
void |
run()
Implement runnable to blink the stderrTextArea. |
protected void |
start()
Starts the blink thread if it hasn't started, or tells it to keep on going if it has. |
protected void |
stop()
Stops the blink thread at the next available opportunity, does nothing if the thread hasn't started. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TStdoutPane.Runner()
Method Detail |
---|
protected void start()
protected void stop()
public void run()
run
in interface Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |