public class ChatRoomMemberPropertyChangeEvent
extends java.beans.PropertyChangeEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MEMBER_NICKNAME
The nick name of the ChatRoomMember property.
|
static java.lang.String |
MEMBER_PRESENCE
The presence status of the ChatRoomMember property.
|
Constructor and Description |
---|
ChatRoomMemberPropertyChangeEvent(ChatRoomMember source,
ChatRoom memberChatRoom,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Creates a ChatRoomMemberPropertyChangeEvent indicating that a
change has occurred for property propertyName in the
source chat room member and that its value has changed from
oldValue to newValue.
|
Modifier and Type | Method and Description |
---|---|
ChatRoom |
getMemberChatRoom()
Returns the chat room, to which the corresponding member belongs.
|
ChatRoomMember |
getSourceChatRoomMember()
Returns the member of the chat room, for which this event is about.
|
java.lang.String |
toString()
Returns a String representation of this event.
|
public static final java.lang.String MEMBER_NICKNAME
public static final java.lang.String MEMBER_PRESENCE
public ChatRoomMemberPropertyChangeEvent(ChatRoomMember source, ChatRoom memberChatRoom, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
source
- the ChatRoomMember whose property has changed.memberChatRoom
- the ChatRoom of the memberpropertyName
- 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 ChatRoomMember getSourceChatRoomMember()
public ChatRoom getMemberChatRoom()
public java.lang.String toString()
toString
in class java.beans.PropertyChangeEvent
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.