public interface ChatSessionRenderer
Modifier and Type | Method and Description |
---|---|
void |
addChatConferenceCall(ConferenceDescription conferenceDescription)
Adds the given conferenceDescription to the list of chat
conferences in this chat renderer.
|
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 |
chatConferenceDescriptionSent(ConferenceDescription conferenceDescription)
This method is called when the local user publishes a
ConferenceDescription instance.
|
void |
removeAllChatContacts()
Removes all chat contacts from the contact list of the chat.
|
void |
removeChatConferenceCall(ConferenceDescription conferenceDescription)
Removes the given conferenceDescription from the list of chat
conferences in this chat panel 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 |
setChatIcon(javax.swing.Icon icon)
Sets the chat icon.
|
void |
setChatSubject(java.lang.String subject)
Sets the chat subject.
|
void |
setConferencesPanelVisible(boolean isVisible)
Sets the visibility of conferences panel to true or
false
|
void |
setContactName(ChatContact<?> chatContact,
java.lang.String name)
Sets the name of the given chat contact.
|
void |
setSelectedChatTransport(ChatTransport chatTransport,
boolean isMessageOrFileTransferReceived)
Sets the given chatTransport to be the selected chat transport.
|
void |
updateChatContactStatus(ChatContact<?> chatContact,
java.lang.String statusMessage)
Updates the status of the given chat contact.
|
void |
updateChatTransportStatus(ChatTransport chatTransport)
Updates the status of the given chat transport.
|
void setContactName(ChatContact<?> chatContact, java.lang.String name)
chatContact
- the chat contact to be modified.name
- the new name.void addChatTransport(ChatTransport chatTransport)
chatTransport
- the chat transport to add.void removeChatTransport(ChatTransport chatTransport)
chatTransport
- the chat transport to remove.void addChatContact(ChatContact<?> chatContact)
chatContact
- the chat contact to add.void removeChatContact(ChatContact<?> chatContact)
chatContact
- the chat contact to remove.void removeAllChatContacts()
void updateChatTransportStatus(ChatTransport chatTransport)
chatTransport
- the chat transport to update.void setSelectedChatTransport(ChatTransport chatTransport, boolean isMessageOrFileTransferReceived)
chatTransport
- the ChatTransport to selectisMessageOrFileTransferReceived
- Boolean telling us if this change
of the chat transport correspond to an effective switch to this new
transform (a mesaage received from this transport, or a file transfer
request received, or if the resource timeouted), or just a status update
telling us a new chatTransport is now available (i.e. another device has
startup).void updateChatContactStatus(ChatContact<?> chatContact, java.lang.String statusMessage)
chatContact
- the chat contact to update.statusMessage
- the status message to show to the user.void setChatSubject(java.lang.String subject)
subject
- the new subject to set.void setChatIcon(javax.swing.Icon icon)
icon
- the chat icon to setvoid addChatConferenceCall(ConferenceDescription conferenceDescription)
conferenceDescription
- the conference to add.void removeChatConferenceCall(ConferenceDescription conferenceDescription)
conferenceDescription
- the conference to remove.void setConferencesPanelVisible(boolean isVisible)
isVisible
- if true the panel is visible.void chatConferenceDescriptionSent(ConferenceDescription conferenceDescription)
conferenceDescription
- the ConferenceDescription instance
associated with the conference.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.