|
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
java.beans.PropertyChangeEvent
net.java.sip.communicator.service.protocol.event.WhiteboardParticipantChangeEvent
public class WhiteboardParticipantChangeEvent
WhiteboardParticipantChangeEvent-s are triggerred wheneve a change occurs in a WhiteboardParticipant. Dispatched events may be of one of the following types.
WHITEBOARD_PARTICIPANT_STATUS_CHANGE - indicates a change in the status of the participant.
WHITEBOARD_PARTICIPANT_DISPLAY_NAME_CHANGE - means that participant's display name has changed
WHITEBOARD_PARTICIPANT_IMAGE_CHANGE - participant updated photo.
| Field Summary | |
|---|---|
static String |
WHITEBOARD_PARTICIPANT_DISPLAY_NAME_CHANGE
An event type indicating that the corresponding event is caused by a change of the participant's display name. |
static String |
WHITEBOARD_PARTICIPANT_IMAGE_CHANGE
An event type indicating that the corresponding event is caused by a change of the participant's photo/picture. |
static String |
WHITEBOARD_PARTICIPANT_STATE_CHANGE
An event type indicating that the corresponding event is caused by a change of the WhiteboardParticipant's status. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
WhiteboardParticipantChangeEvent(WhiteboardParticipant source,
String type,
Object oldValue,
Object newValue)
Creates a WhiteboardParticipantChangeEvent with the specified source, type, oldValue and newValue. |
|
WhiteboardParticipantChangeEvent(WhiteboardParticipant source,
String type,
Object oldValue,
Object newValue,
String reason)
Creates a WhiteboardParticipantChangeEvent with the specified source, type, oldValue and newValue. |
|
| Method Summary | |
|---|---|
String |
getEventType()
Returns the type of this event. |
String |
getReasonString()
Returns a reason string further explaining the event (may be null). |
WhiteboardParticipant |
getSourceWhiteboardParticipant()
Returns the WhiteboardParticipant that this event is about. |
String |
toString()
Returns a String representation of this WhiteboardParticipantChangeEvent. |
| Methods inherited from class java.beans.PropertyChangeEvent |
|---|
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId |
| 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 String WHITEBOARD_PARTICIPANT_STATE_CHANGE
public static final String WHITEBOARD_PARTICIPANT_DISPLAY_NAME_CHANGE
public static final String WHITEBOARD_PARTICIPANT_IMAGE_CHANGE
| Constructor Detail |
|---|
public WhiteboardParticipantChangeEvent(WhiteboardParticipant source,
String type,
Object oldValue,
Object newValue)
source - the participant that produced the event.type - the type of the event
(i.e. address change, state change etc.).oldValue - the value of the changed property
before the event occurrednewValue - current value of the changed property.
public WhiteboardParticipantChangeEvent(WhiteboardParticipant source,
String type,
Object oldValue,
Object newValue,
String reason)
source - the participant that produced the event.type - the type of the event (i.e. address change, state change
etc.).oldValue - the value of the changed property before the event
occurrednewValue - current value of the changed property.reason - a string containing a human readable explanation for the
reason that triggerred this event (may be null).| Method Detail |
|---|
public String getEventType()
public String toString()
toString in class EventObjectpublic WhiteboardParticipant getSourceWhiteboardParticipant()
public String getReasonString()
|
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 | |||||||||