wjhk.jupload2.gui
Class JUploadTextArea.LogMessageThread

java.lang.Object
  extended by java.lang.Thread
      extended by wjhk.jupload2.gui.JUploadTextArea.LogMessageThread
All Implemented Interfaces:
Runnable
Enclosing class:
JUploadTextArea

static class JUploadTextArea.LogMessageThread
extends Thread

A thread, that will be called in the EventDispatcherThread, to have a tread-safe update of the GUI. This thread is responsible to display one String.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  boolean isRunning
          Indicates whether the JUploadTextArea.LogMessageThread should go on.
(package private)  int textLength
          The length of the current content of the JUploadTextArea.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JUploadTextArea.LogMessageThread(JUploadTextArea textArea)
           
 
Method Summary
 void run()
          The run method of the Runnable Interface
 void unload()
          Free any used ressources.
 
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

isRunning

boolean isRunning
Indicates whether the JUploadTextArea.LogMessageThread should go on. Cleared by the unload() method.


textLength

int textLength
The length of the current content of the JUploadTextArea.

Constructor Detail

JUploadTextArea.LogMessageThread

JUploadTextArea.LogMessageThread(JUploadTextArea textArea)
Parameters:
textArea -
Method Detail

run

public void run()
The run method of the Runnable Interface

Specified by:
run in interface Runnable
Overrides:
run in class Thread

unload

public void unload()
Free any used ressources. Actually close the LogMessageThread thread.