public class ContactPropertyChangeEvent
extends java.beans.PropertyChangeEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_DISPLAY_DETAILS
Indicates that a change has occurred in the display details of the source
contact.
|
static java.lang.String |
PROPERTY_DISPLAY_NAME
Indicates that a change has occurred in the display name of the source
contact.
|
static java.lang.String |
PROPERTY_IMAGE
Indicates that a change has occurred in the image of the source
contact.
|
static java.lang.String |
PROPERTY_PERSISTENT_DATA
Indicates that a change has occurred in the data that the contact is
storing in external sources.
|
Constructor and Description |
---|
ContactPropertyChangeEvent(Contact source,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Creates a ContactPropertyChangeEvent indicating that a change has
occurred for property propertyName in the source
contact and that its value has changed from oldValue to
newValue.
|
Modifier and Type | Method and Description |
---|---|
ContactGroup |
getParentContactGroup()
Returns a reference to the source contact parent ContactGroup.
|
ProtocolProviderService |
getProtocolProvider()
Returns a reference to the protocol provider where the event has
originated.
|
Contact |
getSourceContact()
Returns a reference to the Contact whose property has changed.
|
public static final java.lang.String PROPERTY_DISPLAY_NAME
public static final java.lang.String PROPERTY_IMAGE
public static final java.lang.String PROPERTY_PERSISTENT_DATA
public static final java.lang.String PROPERTY_DISPLAY_DETAILS
public ContactPropertyChangeEvent(Contact source, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
source
- the Contact 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 occurred.public Contact getSourceContact()
public ProtocolProviderService getProtocolProvider()
public ContactGroup getParentContactGroup()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.