public class MetaContactMovedEvent extends MetaContactPropertyChangeEvent
META_CONTACT_AVATAR_UPDATE, META_CONTACT_MODIFIED, META_CONTACT_MOVED, META_CONTACT_RENAMED, PROTO_CONTACT_ADDED, PROTO_CONTACT_MODIFIED, PROTO_CONTACT_MOVED, PROTO_CONTACT_REMOVED
Constructor and Description |
---|
MetaContactMovedEvent(MetaContact sourceContact,
MetaContactGroup oldParent,
MetaContactGroup newParent)
Createas an instance of this MetaContactMovedEvent using the
specified arguments.
|
Modifier and Type | Method and Description |
---|---|
MetaContactGroup |
getNewParent()
Returns the new parent of this meta contact.
|
MetaContactGroup |
getOldParent()
Returns the old parent of this meta contact.
|
getSourceMetaContact
public MetaContactMovedEvent(MetaContact sourceContact, MetaContactGroup oldParent, MetaContactGroup newParent)
sourceContact
- a reference to the MetaContact that this
event is about.oldParent
- a reference to the MetaContactGroup that
contained sourceContact before it was moved.newParent
- a refenrece to the MetaContactGroup that
contains sourceContact after it was moved.public MetaContactGroup getOldParent()
public MetaContactGroup getNewParent()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.