|
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 | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.gui.main.chat.conference.ChatRoomWrapper
public class ChatRoomWrapper
The ChatRoomWrapper is the representation of the ChatRoom in the GUI. It stores the information for the chat room even when the corresponding protocol provider is not connected.
| Constructor Summary | |
|---|---|
ChatRoomWrapper(ChatRoomProviderWrapper parentProvider,
ChatRoom chatRoom)
Creates a ChatRoomWrapper by specifying the corresponding chat room. |
|
ChatRoomWrapper(ChatRoomProviderWrapper parentProvider,
String chatRoomID,
String chatRoomName)
Creates a ChatRoomWrapper by specifying the protocol provider, the identifier and the name of the chat room. |
|
| Method Summary | |
|---|---|
ChatRoom |
getChatRoom()
Returns the ChatRoom that this wrapper represents. |
String |
getChatRoomID()
Returns the identifier of the chat room. |
String |
getChatRoomName()
Returns the chat room name. |
ChatRoomProviderWrapper |
getParentProvider()
Returns the parent protocol provider. |
boolean |
isAutojoin()
Is room set to auto join on start-up. |
boolean |
isPersistent()
Returns true if the chat room is persistent,
otherwise - returns false. |
void |
setAutoJoin(boolean value)
Changes auto join value in configuration service. |
void |
setChatRoom(ChatRoom chatRoom)
Sets the ChatRoom that this wrapper represents. |
void |
setPersistent(boolean value)
Change persistence of this room. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChatRoomWrapper(ChatRoomProviderWrapper parentProvider,
String chatRoomID,
String chatRoomName)
parentProvider - the protocol provider to which the corresponding
chat room belongschatRoomID - the identifier of the corresponding chat roomchatRoomName - the name of the corresponding chat room
public ChatRoomWrapper(ChatRoomProviderWrapper parentProvider,
ChatRoom chatRoom)
parentProvider - the protocol provider to which the corresponding
chat room belongschatRoom - the chat room to which this wrapper corresponds.| Method Detail |
|---|
public ChatRoom getChatRoom()
public void setChatRoom(ChatRoom chatRoom)
chatRoom - the chat roompublic String getChatRoomName()
public String getChatRoomID()
public ChatRoomProviderWrapper getParentProvider()
public boolean isPersistent()
true if the chat room is persistent,
otherwise - returns false.
true if the chat room is persistent,
otherwise - returns false.public void setPersistent(boolean value)
value - set persistent state.public boolean isAutojoin()
public void setAutoJoin(boolean value)
value - change of auto join property.
|
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 | |||||||||