|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ChatContainer
| Method Summary | |
|---|---|
void |
addChat(ChatPanel chatPanel)
Adds a given ChatPanel to this chat window. |
void |
addChatChangeListener(ChatChangeListener listener)
Adds the given ChatChangeListener. |
int |
getChatCount()
Returns the number of all open chats. |
List<ChatPanel> |
getChats()
Returns all chats this ChatContainer contains. |
ChatPanel |
getCurrentChat()
Returns the currently selected chat panel. |
Frame |
getFrame()
Returns the frame to which this container belongs. |
void |
openChat(ChatPanel chatPanel,
boolean setSelected)
Opens the specified ChatPanel and optionally brings it to the front. |
void |
removeAllChats()
Removes all chats this ChatContainer contains. |
void |
removeChat(ChatPanel chatPanel)
Removes a given ChatPanel from this chat window. |
void |
removeChatChangeListener(ChatChangeListener listener)
Removes the given ChatChangeListener. |
void |
setChatIcon(ChatPanel chatPanel,
Icon icon)
Sets the icon for the given chat. |
void |
setChatTitle(ChatPanel chatPanel,
String title)
Sets the title of this chat container. |
void |
setCurrentChat(ChatPanel chatPanel)
Selects the chat tab which corresponds to the given MetaContact. |
void |
setTitle(String title)
Sets the title of this chat container. |
void |
setToolbarVisible(boolean b)
Shows or hides the Toolbar depending on the value of parameter b. |
void |
updateHistoryButtonState(ChatPanel chatPanel)
Updates history buttons state. |
| Method Detail |
|---|
void setTitle(String title)
title - the title to setvoid addChat(ChatPanel chatPanel)
chatPanel - The ChatPanel to add.void removeChat(ChatPanel chatPanel)
chatPanel - The ChatPanel to remove.void removeAllChats()
int getChatCount()
List<ChatPanel> getChats()
void openChat(ChatPanel chatPanel,
boolean setSelected)
chatPanel - the ChatPanel to be openedsetSelected - true if chatPanel (and respectively
this ChatContainer) should be brought to the front; otherwise,
falseChatPanel getCurrentChat()
void setCurrentChat(ChatPanel chatPanel)
chatPanel - The ChatPanel to select.
void setChatTitle(ChatPanel chatPanel,
String title)
chatPanel - the chat, for which we set the titletitle - the title to set
void setChatIcon(ChatPanel chatPanel,
Icon icon)
chatPanel - the chat, for which we want to set an iconicon - the icon to setvoid setToolbarVisible(boolean b)
b - if true, makes the Toolbar visible, otherwise hides the ToolbarFrame getFrame()
void addChatChangeListener(ChatChangeListener listener)
listener - the listener to addvoid removeChatChangeListener(ChatChangeListener listener)
listener - the listener to removevoid updateHistoryButtonState(ChatPanel chatPanel)
chatPanel -
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||