|
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.ChatRoomPropertyChangeFailedEvent
public class ChatRoomPropertyChangeFailedEvent
Dispatched to indicate that a change of a chat room property has failed. The modification of a property could fail, because the implementation doesn't support such a property.
| Field Summary | |
|---|---|
static int |
PROPERTY_NOT_SUPPORTED
Indicates that the current implementation doesn't support the given property. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ChatRoomPropertyChangeFailedEvent(ChatRoom source,
String propertyName,
Object propertyValue,
Object expectedValue,
int reasonCode,
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. |
|
| Method Summary | |
|---|---|
Object |
getExpectedValue()
Return the expected after the change value of the property. |
Object |
getPropertyValue()
Returns the value of the property. |
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. |
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 int PROPERTY_NOT_SUPPORTED
| Constructor Detail |
|---|
public ChatRoomPropertyChangeFailedEvent(ChatRoom source,
String propertyName,
Object propertyValue,
Object expectedValue,
int reasonCode,
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 failure| Method Detail |
|---|
public ChatRoom getSourceChatRoom()
public Object getPropertyValue()
public Object getExpectedValue()
public int getReasonCode()
public String getReason()
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 | |||||||||