java.lang.Object
java.lang.Thread
com.ciphermod.cipherchat.MessagePoster
- All Implemented Interfaces:
- java.lang.Runnable
- class MessagePoster
- extends java.lang.Thread
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
|
Method Summary |
void |
pleaseStop()
|
void |
run()
The method of Thread that will be run if there is no Runnable object
associated with the Thread. |
protected void |
scrollToBottom()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, 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 |
_area
private javax.swing.JTextArea _area
_scroller
private javax.swing.JScrollPane _scroller
_client
private ChatClient _client
_stopRequested
private boolean _stopRequested
MessagePoster
public MessagePoster(javax.swing.JTextArea area,
javax.swing.JScrollPane scroller,
ChatClient client)
run
public void run()
- Description copied from class:
java.lang.Thread
- The method of Thread that will be run if there is no Runnable object
associated with the Thread. Thread's implementation does nothing at all.
scrollToBottom
protected void scrollToBottom()
pleaseStop
public void pleaseStop()