com.joctopus.ui.joctopus
Class ChatterUI

java.lang.Object
  extended by java.lang.Thread
      extended by com.joctopus.ui.joctopus.ChatterUI
All Implemented Interfaces:
java.lang.Runnable

public class ChatterUI
extends java.lang.Thread

The main chatter ui

Since:
1.0

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 javax.swing.JFrame chatFrame
           
static int FILE_TRANSFER
           
 java.lang.StringBuffer handshakeMessage
           
 int mode
           
 java.lang.String path
           
static int RECIEVE
           
static int SEND
           
static int TEXT_CHAT
           
 javax.swing.JTextArea txtChatArea
           
 java.util.Vector vFiles
           
 java.util.Vector vVirtualPath
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ChatterUI()
           
 
Method Summary
 void createAndShowGUI()
           
 java.lang.String getChatHistory()
           
 java.lang.String getChatMessageToSend()
           
 ChatPanel getChatTab()
           
 javax.swing.JTable getChatterTable()
           
 FileTransferPanel getFileTransferTab()
           
 javax.swing.JScrollPane getScrollChatterTable()
           
 javax.swing.JTabbedPane getTabWorkArea()
           
 void run()
           
 
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

txtChatArea

public javax.swing.JTextArea txtChatArea

chatFrame

public final javax.swing.JFrame chatFrame

FILE_TRANSFER

public static final int FILE_TRANSFER
See Also:
Constant Field Values

TEXT_CHAT

public static final int TEXT_CHAT
See Also:
Constant Field Values

RECIEVE

public static final int RECIEVE
See Also:
Constant Field Values

SEND

public static final int SEND
See Also:
Constant Field Values

mode

public int mode

vVirtualPath

public java.util.Vector vVirtualPath

vFiles

public java.util.Vector vFiles

handshakeMessage

public java.lang.StringBuffer handshakeMessage

path

public java.lang.String path
Constructor Detail

ChatterUI

public ChatterUI()
Method Detail

getFileTransferTab

public FileTransferPanel getFileTransferTab()

getChatTab

public ChatPanel getChatTab()

getTabWorkArea

public javax.swing.JTabbedPane getTabWorkArea()

getScrollChatterTable

public javax.swing.JScrollPane getScrollChatterTable()

getChatterTable

public javax.swing.JTable getChatterTable()

createAndShowGUI

public void createAndShowGUI()

run

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

getChatHistory

public java.lang.String getChatHistory()

getChatMessageToSend

public java.lang.String getChatMessageToSend()