org.sourcejammer.client.gui.logger
Class MessageDisplayStream.WriteThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--org.sourcejammer.client.gui.logger.MessageDisplayStream.WriteThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
MessageDisplayStream

private class MessageDisplayStream.WriteThread
extends java.lang.Thread


Field Summary
private  javax.swing.JTextArea displayArea
           
private  boolean mbRunning
           
private  MessageDisplayStream parent
           
private  org.sourcejammer.util.Queue queue
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MessageDisplayStream.WriteThread(javax.swing.JTextArea displayArea, MessageDisplayStream parent)
           
 
Method Summary
 void addMessage(java.lang.String s)
           
 boolean isRunning()
           
 void run()
           
 void writeToDisplayArea(java.lang.String s)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, 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

queue

private org.sourcejammer.util.Queue queue

displayArea

private javax.swing.JTextArea displayArea

parent

private MessageDisplayStream parent

mbRunning

private boolean mbRunning
Constructor Detail

MessageDisplayStream.WriteThread

public MessageDisplayStream.WriteThread(javax.swing.JTextArea displayArea,
                                        MessageDisplayStream parent)
Method Detail

isRunning

public boolean isRunning()

addMessage

public void addMessage(java.lang.String s)

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

writeToDisplayArea

public void writeToDisplayArea(java.lang.String s)


Copyright 2003 Soucejammer project.