com.threerings.crowd.chat.client
Interface ChatDisplay

All Known Implementing Classes:
HistoryList

public interface ChatDisplay

A chat display provides a means by which chat messages can be displayed. The chat display will be notified when chat messages of various sorts have been received by the client.


Method Summary
 void clear()
          Called to clear the chat display.
 boolean displayMessage(ChatMessage msg, boolean alreadyDisplayed)
          Called to display a chat message.
 

Method Detail

clear

void clear()
Called to clear the chat display.


displayMessage

boolean displayMessage(ChatMessage msg,
                       boolean alreadyDisplayed)
Called to display a chat message.

Parameters:
alreadyDisplayed - true if a previous chat display in the list has already displayed this message, false otherwise.
Returns:
true if the message was displayed, false if not.