|
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.ChatRoomMemberPropertyChangeEvent
public class ChatRoomMemberPropertyChangeEvent
A ChatRoomMemberPropertyChangeEvent is issued whenever a chat room member property has changed (such as the nickname for example). Event codes defined in this class describe properties whose changes are being announced through this event.
| Field Summary | |
|---|---|
static String |
MEMBER_NICKNAME
The nick name of the ChatRoomMember property. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ChatRoomMemberPropertyChangeEvent(ChatRoomMember source,
ChatRoom memberChatRoom,
String propertyName,
Object oldValue,
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. |
|
| Method Summary | |
|---|---|
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. |
String |
toString()
Returns a String representation of this event. |
| 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 MEMBER_NICKNAME
| Constructor Detail |
|---|
public ChatRoomMemberPropertyChangeEvent(ChatRoomMember source,
ChatRoom memberChatRoom,
String propertyName,
Object oldValue,
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.| Method Detail |
|---|
public ChatRoomMember getSourceChatRoomMember()
public ChatRoom getMemberChatRoom()
public String toString()
toString in class EventObject
|
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 | |||||||||