Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.main.chat
Interface ChatSessionRenderer

All Known Implementing Classes:
ChatPanel

public interface ChatSessionRenderer

The ChatSessionRenderer is the connector between the ChatSession and the ChatPanel, which represents the UI part of the chat.

Author:
Yana Stamcheva

Method Summary
 void addChatContact(ChatContact<?> chatContact)
          Adds the given chat contact to the UI.
 void addChatTransport(ChatTransport chatTransport)
          Adds the given chat transport to the UI.
 void removeAllChatContacts()
          Removes all chat contacts from the contact list of the chat.
 void removeChatContact(ChatContact<?> chatContact)
          Removes the given chat contact from the UI.
 void removeChatTransport(ChatTransport chatTransport)
          Removes the given chat transport from the UI.
 void setChatSubject(String subject)
          Sets the chat subject.
 void setContactName(ChatContact<?> chatContact, String name)
          Sets the name of the given chat contact.
 void updateChatContactStatus(ChatContact<?> chatContact, String statusMessage)
          Updates the status of the given chat contact.
 void updateChatTransportStatus(ChatTransport chatTransport)
          Updates the status of the given chat transport.
 

Method Detail

setContactName

void setContactName(ChatContact<?> chatContact,
                    String name)
Sets the name of the given chat contact.

Parameters:
chatContact - the chat contact to be modified.
name - the new name.

addChatTransport

void addChatTransport(ChatTransport chatTransport)
Adds the given chat transport to the UI.

Parameters:
chatTransport - the chat transport to add.

removeChatTransport

void removeChatTransport(ChatTransport chatTransport)
Removes the given chat transport from the UI.

Parameters:
chatTransport - the chat transport to remove.

addChatContact

void addChatContact(ChatContact<?> chatContact)
Adds the given chat contact to the UI.

Parameters:
chatContact - the chat contact to add.

removeChatContact

void removeChatContact(ChatContact<?> chatContact)
Removes the given chat contact from the UI.

Parameters:
chatContact - the chat contact to remove.

removeAllChatContacts

void removeAllChatContacts()
Removes all chat contacts from the contact list of the chat.


updateChatTransportStatus

void updateChatTransportStatus(ChatTransport chatTransport)
Updates the status of the given chat transport.

Parameters:
chatTransport - the chat transport to update.

updateChatContactStatus

void updateChatContactStatus(ChatContact<?> chatContact,
                             String statusMessage)
Updates the status of the given chat contact.

Parameters:
chatContact - the chat contact to update.
statusMessage - the status message to show to the user.

setChatSubject

void setChatSubject(String subject)
Sets the chat subject.

Parameters:
subject - the new subject to set.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.