org.atzberger.mango.jython
Class Atz_Jython_Thread

java.lang.Object
  extended by java.lang.Thread
      extended by org.atzberger.mango.jython.Atz_Jython_Thread
All Implemented Interfaces:
java.lang.Runnable

public class Atz_Jython_Thread
extends java.lang.Thread

Thread running the Jython interactive interpreter.

Author:
Paul J. Atzberger
See Also:
http://www.atzberger.org

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  Atz_Jython_InputActionListener atz_Jython_InputActionListener
           
protected  Atz_Jython_Console_useReflection console
           
protected  Atz_Jython_ErrorStream_JTextPane errorBuffer
           
protected  Atz_Jython_InputStream_JTextPane inputBuffer
           
protected  Atz_Jython_JTextPane jTextPane_JythonConsole
           
protected  Atz_Jython_OutputStream_JTextPane outputBuffer
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 void run()
          Entry point when the thread is up and running.
 void terminateJythonInterpreter()
          Terminate the interpreter.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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

jTextPane_JythonConsole

protected Atz_Jython_JTextPane jTextPane_JythonConsole

atz_Jython_InputActionListener

protected Atz_Jython_InputActionListener atz_Jython_InputActionListener

console

protected Atz_Jython_Console_useReflection console

inputBuffer

protected Atz_Jython_InputStream_JTextPane inputBuffer

outputBuffer

protected Atz_Jython_OutputStream_JTextPane outputBuffer

errorBuffer

protected Atz_Jython_ErrorStream_JTextPane errorBuffer
Method Detail

terminateJythonInterpreter

public void terminateJythonInterpreter()
Terminate the interpreter.


run

public void run()
Entry point when the thread is up and running.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread