public abstract class MetaContactPropertyChangeEvent
extends java.beans.PropertyChangeEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
META_CONTACT_AVATAR_UPDATE
Indicates that the MetaContactEvent instance was triggered by the update
of an Avatar for one of its encapsulated contacts.
|
static java.lang.String |
META_CONTACT_MODIFIED
Indicates that the meta contact has been modified.
|
static java.lang.String |
META_CONTACT_MOVED
Indicates that the source meta contact has moved from one location to
another.
|
static java.lang.String |
META_CONTACT_RENAMED
Indicates that the meta contact has been renamed.
|
static java.lang.String |
PROTO_CONTACT_ADDED
Indicates that the MetaContactEvent instance was triggered by the
a protocol specific contact to a new MetaContact parent.
|
static java.lang.String |
PROTO_CONTACT_MODIFIED
Indicates that the meta contact has been modified.
|
static java.lang.String |
PROTO_CONTACT_MOVED
Indicates that the MetaContactEvent instance was triggered by moving
addition of a protocol specific contact to an existing MetaContact.
|
static java.lang.String |
PROTO_CONTACT_REMOVED
Indicates that the MetaContactEvent instance was triggered by the
removal of a protocol specific contact from an existing MetaContact.
|
Constructor and Description |
---|
MetaContactPropertyChangeEvent(MetaContact source,
java.lang.String eventName,
java.lang.Object oldValue,
java.lang.Object newValue)
Creates an instnace of this event.
|
Modifier and Type | Method and Description |
---|---|
MetaContact |
getSourceMetaContact()
Returns a reference to the MetaContact that this event is about
|
public static final java.lang.String META_CONTACT_MOVED
public static final java.lang.String META_CONTACT_RENAMED
public static final java.lang.String PROTO_CONTACT_REMOVED
public static final java.lang.String PROTO_CONTACT_ADDED
public static final java.lang.String PROTO_CONTACT_MOVED
public static final java.lang.String META_CONTACT_AVATAR_UPDATE
public static final java.lang.String PROTO_CONTACT_MODIFIED
public static final java.lang.String META_CONTACT_MODIFIED
public MetaContactPropertyChangeEvent(MetaContact source, java.lang.String eventName, java.lang.Object oldValue, java.lang.Object newValue)
source
- the MetaContact that this event is about.eventName
- one of the META_CONTACT_XXXED String strings
indicating the exact typ of this event.oldValue
- the value of the changed property before the change
had occurred.newValue
- the value of the changed property after the chagne has
occurred.public MetaContact getSourceMetaContact()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.