|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--Interpreter.Utils.OutputThread
Thread che legge da uno stream di input per scrivere su una TextArea.
| Field Summary | |
boolean |
stop
Se si setta questa variabile a true si indica al thread di fermarsi. |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
| Constructor Summary | |
OutputThread(InputBuffer In,
javax.swing.JTextArea Area)
Costruisce un nuovo OutputThread. |
|
| Method Summary | |
void |
run()
Ciclo di esecuzione. |
| Methods inherited from class java.lang.Thread |
activeCount,
checkAccess,
countStackFrames,
currentThread,
destroy,
dumpStack,
enumerate,
getContextClassLoader,
getName,
getPriority,
getThreadGroup,
interrupt,
interrupted,
isAlive,
isDaemon,
isInterrupted,
join,
join,
join,
resume,
setContextClassLoader,
setDaemon,
setName,
setPriority,
sleep,
sleep,
start,
stop,
stop,
suspend,
toString,
yield |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public boolean stop
| Constructor Detail |
public OutputThread(InputBuffer In,
javax.swing.JTextArea Area)
In - buffer da cui viene letto l'input.Area - l'area di testo su cui viene scritto. Per evitare conflitti viene sempre utilizzata
l'area in modo esclusivo tramite un synchronized(area).| Method Detail |
public void run()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||