Class ChatHandler
java.lang.Object
net.sf.colossus.webclient.ChatHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate longprivate final JButtonprivate static final Stringprivate final JPanelprivate static final Stringprivate final JTextAreaprivate final JScrollBarprivate final JScrollPaneprivate static final Stringprivate final Stringprivate longprivate static final Loggerprivate booleanprivate final JTextFieldprivate booleanprivate IWebServerprivate static final intprivate final Stringprivate Stringprivate final FormatWhen -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidappendToDisplayArea(String textToAppend) voidchatDeliver(long when, String sender, String message, boolean resent) private voidchatDisplay(long when, String sender, String message) private voidchatDisplayInEDT(String textToAppend) getId()getTab()getTitle()voidsetLoginState(boolean loggedIn, IWebServer server, String username) voidsubmitText(Object source)
-
Field Details
-
LOGGER
-
chatSubmitButtonText
- See Also:
-
textAreaHeight
private static final int textAreaHeight- See Also:
-
id
-
title
-
username
-
server
-
chatTab
-
chatSubmitButton
-
displayArea
-
displayScrollPane
-
displayScrollBar
-
newMessage
-
whenFormatter
-
loginState
private boolean loginState -
lastMsgWhen
private long lastMsgWhen -
resentMode
private boolean resentMode -
afterResentWhen
private long afterResentWhen -
afterResentSender
-
afterResentMessage
-
dashes
- See Also:
-
doubledashes
- See Also:
-
-
Constructor Details
-
ChatHandler
-
-
Method Details
-
getId
-
getTitle
-
getTab
-
setLoginState
-
submitText
-
chatDeliver
-
chatDisplay
-
chatDisplayInEDT
-
appendToDisplayArea
-