public class ChatRoomListChangeEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
ChatRoomListChangeEvent(ChatRoomWrapper source,
int eventID)
Creates a new ChatRoom event according to the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
getEventID()
Returns an event id specifying whether the type of this event (e.g.
|
ChatRoomWrapper |
getSourceChatRoom()
Returns the source ChatRoom.
|
java.lang.String |
toString()
Returns a String representation of this GuiChatRoomEvent.
|
public static final int CHAT_ROOM_ADDED
public static final int CHAT_ROOM_REMOVED
public static final int CHAT_ROOM_CHANGED
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.public ChatRoomWrapper getSourceChatRoom()
public java.lang.String toString()
toString
in class java.util.EventObject
public int getEventID()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.