public class AdHocChatRoomListChangeEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
AD_HOC_CHAT_ROOM_ADDED
Indicates that the AdHocChatRoomListChangeEvent instance was triggered by
adding a AdHocChatRoom in the gui.
|
static int |
AD_HOC_CHAT_ROOM_CHANGED
Indicates that the AdHocChatRoomListChangeEvent instance was triggered by
changing a AdHocChatRoom in the gui (like changing its status, etc.).
|
static int |
AD_HOC_CHAT_ROOM_REMOVED
Indicates that the AdHocChatRoomListChangeEvent instance was triggered by
removing a AdHocChatRoom from the gui.
|
Constructor and Description |
---|
AdHocChatRoomListChangeEvent(AdHocChatRoomWrapper source,
int eventID)
Creates a new AdHocChatRoom 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.
|
AdHocChatRoomWrapper |
getSourceAdHocChatRoom()
Returns the source AdHocChatRoom.
|
java.lang.String |
toString()
Returns a String representation of this GuiAdHocChatRoomEvent.
|
public static final int AD_HOC_CHAT_ROOM_ADDED
public static final int AD_HOC_CHAT_ROOM_REMOVED
public static final int AD_HOC_CHAT_ROOM_CHANGED
public AdHocChatRoomListChangeEvent(AdHocChatRoomWrapper source, int eventID)
source
- the AdHocChatRoom instance that is added to the
AdHocChatRoomsListeventID
- one of the AD_HOC_CHAT_ROOM_XXX static fields indicating
the nature of the event.public AdHocChatRoomWrapper getSourceAdHocChatRoom()
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.