Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.contactlist.event
Class MetaContactListAdapter

java.lang.Object
  extended by net.java.sip.communicator.service.contactlist.event.MetaContactListAdapter
All Implemented Interfaces:
EventListener, MetaContactListListener

public class MetaContactListAdapter
extends Object
implements MetaContactListListener

The MetaContactListAdapter provides a default implementation of the MetaContactListListener, which can be registered with a MetaContactListService so that it will receive any changes that have occurred in the contact list layout.

Author:
Yana Stamcheva

Constructor Summary
MetaContactListAdapter()
           
 
Method Summary
 void childContactsReordered(MetaContactGroupEvent evt)
          Indicates that the order under which the child contacts were ordered inside the source group has changed.
 void metaContactAdded(MetaContactEvent evt)
          Indicates that a MetaContact has been successfully added to the MetaContact list.
 void metaContactAvatarUpdated(MetaContactAvatarUpdateEvent evt)
          Indicates that a new avatar is available for a MetaContact.
 void metaContactGroupAdded(MetaContactGroupEvent evt)
          Indicates that a MetaContactGroup has been successfully added to the MetaContact list.
 void metaContactGroupModified(MetaContactGroupEvent evt)
          Indicates that a MetaContactGroup has been modified (e.g.
 void metaContactGroupRemoved(MetaContactGroupEvent evt)
          Indicates that a MetaContactGroup has been removed from the MetaContact list.
 void metaContactModified(MetaContactModifiedEvent evt)
          Indicates that a MetaContact has been modified.
 void metaContactMoved(MetaContactMovedEvent evt)
          Indicates that a MetaContact has been moved inside the MetaContact list.
 void metaContactRemoved(MetaContactEvent evt)
          Indicates that a MetaContact has been removed from the MetaContact list.
 void metaContactRenamed(MetaContactRenamedEvent evt)
          Indicates that a MetaContact has been modified.
 void protoContactAdded(ProtoContactEvent evt)
          Indicates that a protocol specific Contact instance has been added to the list of protocol specific buddies in this MetaContact
 void protoContactModified(ProtoContactEvent evt)
          Indicates that one of the protocol specific Contact instances encapsulated by this MetaContact has been modified in some way.
 void protoContactMoved(ProtoContactEvent evt)
          Indicates that a protocol specific Contact instance has been moved from within one MetaContact to another.
 void protoContactRemoved(ProtoContactEvent evt)
          Indicates that a protocol specific Contact instance has been removed from the list of protocol specific buddies in this MetaContact
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaContactListAdapter

public MetaContactListAdapter()
Method Detail

metaContactAdded

public void metaContactAdded(MetaContactEvent evt)
Indicates that a MetaContact has been successfully added to the MetaContact list.

Specified by:
metaContactAdded in interface MetaContactListListener
Parameters:
evt - the MetaContactListEvent containing the corresponding contact

metaContactRenamed

public void metaContactRenamed(MetaContactRenamedEvent evt)
Indicates that a MetaContact has been modified.

Specified by:
metaContactRenamed in interface MetaContactListListener
Parameters:
evt - the MetaContactListEvent containing the corresponding contact

protoContactAdded

public void protoContactAdded(ProtoContactEvent evt)
Indicates that a protocol specific Contact instance has been added to the list of protocol specific buddies in this MetaContact

Specified by:
protoContactAdded in interface MetaContactListListener
Parameters:
evt - a reference to the corresponding ProtoContactEvent

protoContactModified

public void protoContactModified(ProtoContactEvent evt)
Indicates that one of the protocol specific Contact instances encapsulated by this MetaContact has been modified in some way. The event added to the list of protocol specific buddies in this MetaContact

Specified by:
protoContactModified in interface MetaContactListListener
Parameters:
evt - a reference to the corresponding ProtoContactEvent

protoContactRemoved

public void protoContactRemoved(ProtoContactEvent evt)
Indicates that a protocol specific Contact instance has been removed from the list of protocol specific buddies in this MetaContact

Specified by:
protoContactRemoved in interface MetaContactListListener
Parameters:
evt - a reference to the corresponding ProtoContactEvent

protoContactMoved

public void protoContactMoved(ProtoContactEvent evt)
Indicates that a protocol specific Contact instance has been moved from within one MetaContact to another.

Specified by:
protoContactMoved in interface MetaContactListListener
Parameters:
evt - a reference to the ProtoContactMovedEvent instance.

metaContactRemoved

public void metaContactRemoved(MetaContactEvent evt)
Indicates that a MetaContact has been removed from the MetaContact list.

Specified by:
metaContactRemoved in interface MetaContactListListener
Parameters:
evt - the MetaContactListEvent containing the corresponding contact

metaContactMoved

public void metaContactMoved(MetaContactMovedEvent evt)
Indicates that a MetaContact has been moved inside the MetaContact list.

Specified by:
metaContactMoved in interface MetaContactListListener
Parameters:
evt - the MetaContactListEvent containing the corresponding contact

metaContactGroupAdded

public void metaContactGroupAdded(MetaContactGroupEvent evt)
Indicates that a MetaContactGroup has been successfully added to the MetaContact list.

Specified by:
metaContactGroupAdded in interface MetaContactListListener
Parameters:
evt - the MetaContactListEvent containing the corresponding contact

metaContactGroupModified

public void metaContactGroupModified(MetaContactGroupEvent evt)
Indicates that a MetaContactGroup has been modified (e.g. a proto contact group was removed).

Specified by:
metaContactGroupModified in interface MetaContactListListener
Parameters:
evt - the MetaContactListEvent containing the corresponding contact

metaContactGroupRemoved

public void metaContactGroupRemoved(MetaContactGroupEvent evt)
Indicates that a MetaContactGroup has been removed from the MetaContact list.

Specified by:
metaContactGroupRemoved in interface MetaContactListListener
Parameters:
evt - the MetaContactListEvent containing the corresponding contact

childContactsReordered

public void childContactsReordered(MetaContactGroupEvent evt)
Indicates that the order under which the child contacts were ordered inside the source group has changed.

Specified by:
childContactsReordered in interface MetaContactListListener
Parameters:
evt - the MetaContactGroupEvent containing details of this event.

metaContactModified

public void metaContactModified(MetaContactModifiedEvent evt)
Indicates that a MetaContact has been modified.

Specified by:
metaContactModified in interface MetaContactListListener
Parameters:
evt - the MetaContactModifiedEvent containing the corresponding contact

metaContactAvatarUpdated

public void metaContactAvatarUpdated(MetaContactAvatarUpdateEvent evt)
Indicates that a new avatar is available for a MetaContact.

Specified by:
metaContactAvatarUpdated in interface MetaContactListListener
Parameters:
evt - the MetaContactAvatarUpdateEvent containing details of this event

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.