|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.gui.chat.ChatUIManager
Manages all chat session and provides an interface to access each chat session.
Method Summary | |
void |
acceptChat(com.limegroup.gnutella.chat.Chatter chatter)
Accepts a new chat session with a new user. |
void |
chatErrorMessage(com.limegroup.gnutella.chat.Chatter chatter,
java.lang.String str)
Display an error message in the chat gui for the specified chat session. |
void |
chatUnavailable(com.limegroup.gnutella.chat.Chatter chatter)
Lets the user know that a host is no longer available. |
static ChatUIManager |
instance()
Returns the single instance of this class, following singleton. |
void |
recieveMessage(com.limegroup.gnutella.chat.Chatter chatter)
Receives a message for the session associated with the specified Chatter instance. |
void |
removeChat(com.limegroup.gnutella.chat.Chatter chatter)
Removes the specified chat session from the list of active sessions. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ChatUIManager instance()
public void acceptChat(com.limegroup.gnutella.chat.Chatter chatter)
public void removeChat(com.limegroup.gnutella.chat.Chatter chatter)
public void recieveMessage(com.limegroup.gnutella.chat.Chatter chatter)
chatter
- the Chatter instance with which the new
message is associatedpublic void chatUnavailable(com.limegroup.gnutella.chat.Chatter chatter)
public void chatErrorMessage(com.limegroup.gnutella.chat.Chatter chatter, java.lang.String str)
chatter
- the Chatter instance associated with the errorstr
- the error message to display
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |