public class WhiteboardParticipantEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
WHITEBOARD_PARTICIPANT_ADDED
An event id value indicating that this event is about the fact that
the source whiteboard participant has joined the source whiteboard.
|
static int |
WHITEBOARD_PARTICIPANT_REMOVED
An event id value indicating that this event is about the fact that
the source whiteboard participant has left the source whiteboard.
|
Constructor and Description |
---|
WhiteboardParticipantEvent(WhiteboardSession source,
WhiteboardParticipant sourceWhiteboardParticipant,
int eventID)
Creates a whiteboard participant event instance indicating that
an event with id eventID has happened
to sourceWhiteboardParticipant in sourceWhiteboard
|
Modifier and Type | Method and Description |
---|---|
int |
getEventID()
Returnst one of the WHITEBOARD_PARTICIPANT_XXX member ints indicating
the type of this event.
|
WhiteboardSession |
getSourceWhiteboard()
Returns the whiteboard session that produced this event.
|
WhiteboardParticipant |
getSourceWhiteboardParticipant()
Returns the whiteboard participant that this event is about.
|
java.lang.String |
toString()
Returns a String representation of this
WhiteboardParticipantEvent.
|
public static final int WHITEBOARD_PARTICIPANT_ADDED
public static final int WHITEBOARD_PARTICIPANT_REMOVED
public WhiteboardParticipantEvent(WhiteboardSession source, WhiteboardParticipant sourceWhiteboardParticipant, int eventID)
sourceWhiteboardParticipant
- the whiteboard participant that this
event is about.source
- the whiteboard that the source whiteboard participant is
associated with.eventID
- one of the WHITEBOARD_PARTICIPANT_XXX member ints
indicating the type of this event.public int getEventID()
public WhiteboardSession getSourceWhiteboard()
public WhiteboardParticipant getSourceWhiteboardParticipant()
public java.lang.String toString()
toString
in class java.util.EventObject
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.