Class Sentence.WordAdder

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--Sentence.WordAdder

protected class Sentence.WordAdder
extends java.lang.Thread

Thread utility class which adds all words to the given sentence. Required because the loader is not running in the Swing thread, so Sentence has the Swing thread execute this class.

Author:
Mike Jahr
See Also:
Sentence

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Sentence.WordAdder(Sentence ins)
           
 
Method Summary
 void run()
           
 
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
 

Constructor Detail

Sentence.WordAdder

public Sentence.WordAdder(Sentence ins)
Method Detail

run

public void run()
Overrides:
run in class java.lang.Thread