public class WhiteboardChangeEvent
extends java.beans.PropertyChangeEvent
WHITEBOARD_STATE_CHANGE - indicates a change in the state of a Whiteboard.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
WHITEBOARD_STATE_CHANGE
An event type indicating that the corresponding event is caused by a
change of the Whiteboard state.
|
Constructor and Description |
---|
WhiteboardChangeEvent(WhiteboardSession source,
java.lang.String type,
java.lang.Object oldValue,
java.lang.Object newValue)
Creates a WhiteboardChangeEvent with the specified source, type, oldValue
and newValue.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEventType()
Returns the type of this event.
|
WhiteboardSession |
getSourceWhiteboard()
The Whiteboard on which the event has occurred.
|
java.lang.String |
toString()
Returns a String representation of this WhiteboardChangeEvent.
|
public static final java.lang.String WHITEBOARD_STATE_CHANGE
public WhiteboardChangeEvent(WhiteboardSession source, java.lang.String type, java.lang.Object oldValue, java.lang.Object newValue)
source
- the participant that produced the event.type
- the type of the event (the name of the property that has
changed).oldValue
- the value of the changed property before the event
occurrednewValue
- current value of the changed property.public java.lang.String getEventType()
public java.lang.String toString()
toString
in class java.beans.PropertyChangeEvent
public WhiteboardSession getSourceWhiteboard()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.