public class ChatRoomPropertyChangeEvent
extends java.beans.PropertyChangeEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHAT_ROOM_SUBJECT
The name of the ChatRoom subject property.
|
static java.lang.String |
CHAT_ROOM_USER_NICKNAME
The name of the ChatRoom subject property.
|
Constructor and Description |
---|
ChatRoomPropertyChangeEvent(ChatRoom source,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Creates a ChatRoomPropertyChangeEvent indicating that a change
has occurred for property propertyName in the source
chat room and that its value has changed from oldValue to
newValue.
|
Modifier and Type | Method and Description |
---|---|
ChatRoom |
getSourceChatRoom()
Returns the source chat room for this event.
|
java.lang.String |
toString()
Returns a String representation of this event.
|
public static final java.lang.String CHAT_ROOM_SUBJECT
public static final java.lang.String CHAT_ROOM_USER_NICKNAME
public ChatRoomPropertyChangeEvent(ChatRoom source, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
source
- the ChatRoom whose property has changed.propertyName
- the name of the property that has changed.oldValue
- the value of the property before the change occurred.newValue
- the value of the property after the change.public ChatRoom getSourceChatRoom()
public java.lang.String toString()
toString
in class java.beans.PropertyChangeEvent
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.