|
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.Objectjava.util.EventObject
net.java.sip.communicator.impl.gui.main.chatroomslist.ChatRoomListChangeEvent
public class ChatRoomListChangeEvent
Parent class for gui chat room events indicating addition and removal of chat rooms in the gui chat rooms list.
| Field Summary | |
|---|---|
static int |
CHAT_ROOM_ADDED
Indicates that the ChatRoomListChangeEvent instance was triggered by adding a ChatRoom in the gui. |
static int |
CHAT_ROOM_CHANGED
Indicates that the ChatRoomListChangeEvent instance was triggered by changing a ChatRoom in the gui (like changing its status, etc.). |
static int |
CHAT_ROOM_REMOVED
Indicates that the ChatRoomListChangeEvent instance was triggered by removing a ChatRoom from the gui. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ChatRoomListChangeEvent(ChatRoomWrapper source,
int eventID)
Creates a new ChatRoom event according to the specified parameters. |
|
| Method Summary | |
|---|---|
int |
getEventID()
Returns an event id specifying whether the type of this event (e.g. |
ChatRoomWrapper |
getSourceChatRoom()
Returns the source ChatRoom. |
String |
toString()
Returns a String representation of this GuiChatRoomEvent. |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CHAT_ROOM_ADDED
public static final int CHAT_ROOM_REMOVED
public static final int CHAT_ROOM_CHANGED
| Constructor Detail |
|---|
public ChatRoomListChangeEvent(ChatRoomWrapper source,
int eventID)
source - the ChatRoom instance that is added to the
ChatRoomsListeventID - one of the CHAT_ROOM_XXX static fields indicating the
nature of the event.| Method Detail |
|---|
public ChatRoomWrapper getSourceChatRoom()
public String toString()
toString in class EventObjectpublic int getEventID()
|
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 | |||||||||