public class ChatRoomPropertyChangeFailedEvent
extends java.beans.PropertyChangeEvent
Modifier and Type | Field and Description |
---|---|
static int |
PROPERTY_NOT_SUPPORTED
Indicates that the current implementation doesn't support the given
property.
|
Constructor and Description |
---|
ChatRoomPropertyChangeFailedEvent(ChatRoom source,
java.lang.String propertyName,
java.lang.Object propertyValue,
java.lang.Object expectedValue,
int reasonCode,
java.lang.String reason)
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 |
---|---|
java.lang.Object |
getExpectedValue()
Return the expected after the change value of the property.
|
java.lang.Object |
getPropertyValue()
Returns the value of the property.
|
java.lang.String |
getReason()
Returns the reason of the failure.
|
int |
getReasonCode()
Returns the code of the failure.
|
ChatRoom |
getSourceChatRoom()
Returns the source chat room for this event.
|
java.lang.String |
toString()
Returns a String representation of this event.
|
public static final int PROPERTY_NOT_SUPPORTED
public ChatRoomPropertyChangeFailedEvent(ChatRoom source, java.lang.String propertyName, java.lang.Object propertyValue, java.lang.Object expectedValue, int reasonCode, java.lang.String reason)
source
- the ChatRoom, to which the property belongspropertyName
- the name of the propertypropertyValue
- the value of the propertyexpectedValue
- the expected after the change value of the propertyreasonCode
- the code indicating the reason for the failurereason
- more detailed explanation of the failurepublic ChatRoom getSourceChatRoom()
public java.lang.Object getPropertyValue()
public java.lang.Object getExpectedValue()
public int getReasonCode()
public java.lang.String getReason()
public java.lang.String toString()
toString
in class java.beans.PropertyChangeEvent
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.