|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jChatBox.Chat.Event.ChatroomEvent
This class provides chatroom events. Events are generated by Charoom instances and should be consumed by ChatroomListener instances.
Field Summary | |
static int |
ADDINGMESSAGE
|
static int |
ADDINGUSER
|
static int |
BLACKLISTCLEARED
|
static int |
CHATROOMCLEARED
|
static int |
CHATROOMCLOSED
|
static int |
CHATROOMOPENED
|
static int |
IPUNBLACKLISTED
|
static int |
MESSAGEADDED
|
static int |
REMOVINGUSER
|
static int |
UNKNOWN
|
static int |
USERADDED
|
static int |
USERBLACKLISTED
|
static int |
USERREMOVED
|
Constructor Summary | |
ChatroomEvent(int id,
Chatroom source,
java.lang.Object desc)
Chatroom Event. |
Method Summary | |
java.lang.Object |
getDescription()
Optionnal description of the event. |
int |
getID()
Event's ID. |
Chatroom |
getSource()
Chatroom that generated the event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int UNKNOWN
public static final int CHATROOMOPENED
public static final int CHATROOMCLOSED
public static final int CHATROOMCLEARED
public static final int ADDINGUSER
public static final int USERADDED
public static final int REMOVINGUSER
public static final int USERREMOVED
public static final int ADDINGMESSAGE
public static final int MESSAGEADDED
public static final int USERBLACKLISTED
public static final int IPUNBLACKLISTED
public static final int BLACKLISTCLEARED
Constructor Detail |
public ChatroomEvent(int id, Chatroom source, java.lang.Object desc)
id
- of eventsource
- chatroom that generated the eventdesc
- optionnal object linked to the eventMethod Detail |
public int getID()
public java.lang.Object getDescription()
public Chatroom getSource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |