Package net.sf.colossus.webclient
Class ChatHandler
java.lang.Object
net.sf.colossus.webclient.ChatHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private String
private long
private final JButton
private static final String
private final JPanel
private static final String
private final JTextArea
private final JScrollBar
private final JScrollPane
private static final String
private final String
private long
private static final Logger
private boolean
private final JTextField
private boolean
private IWebServer
private static final int
private final String
private String
private final FormatWhen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
appendToDisplayArea
(String textToAppend) void
chatDeliver
(long when, String sender, String message, boolean resent) private void
chatDisplay
(long when, String sender, String message) private void
chatDisplayInEDT
(String textToAppend) getId()
getTab()
getTitle()
void
setLoginState
(boolean loggedIn, IWebServer server, String username) void
submitText
(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
-