diff options
author | Yana Stamcheva <yana@jitsi.org> | 2010-05-20 15:00:15 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2010-05-20 15:00:15 +0000 |
commit | ab366d7717d88c2b20e18856f7969b77837cfeae (patch) | |
tree | defc5dbc058c285ab07dd5ada47e49a6913741fd /src/net/java/sip/communicator/impl/gui/main/contactlist/contactsource/MetaContactQueryListener.java | |
parent | 2fb1f2db0cbae837e4295a164daf5a1cc790d0ed (diff) | |
download | jitsi-ab366d7717d88c2b20e18856f7969b77837cfeae.zip jitsi-ab366d7717d88c2b20e18856f7969b77837cfeae.tar.gz jitsi-ab366d7717d88c2b20e18856f7969b77837cfeae.tar.bz2 |
Fixes contact list behavior and introduces more smooth writing in the search field.
Diffstat (limited to 'src/net/java/sip/communicator/impl/gui/main/contactlist/contactsource/MetaContactQueryListener.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/contactlist/contactsource/MetaContactQueryListener.java | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/contactlist/contactsource/MetaContactQueryListener.java b/src/net/java/sip/communicator/impl/gui/main/contactlist/contactsource/MetaContactQueryListener.java new file mode 100644 index 0000000..ff2422d --- /dev/null +++ b/src/net/java/sip/communicator/impl/gui/main/contactlist/contactsource/MetaContactQueryListener.java @@ -0,0 +1,38 @@ +/* + * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + */ +package net.java.sip.communicator.impl.gui.main.contactlist.contactsource; + +import net.java.sip.communicator.service.contactlist.*; + +/** + * The <tt>MetaContactQueryListener</tt> listens for events coming from a + * <tt>MetaContactListService</tt> filtering. + * + * @author Yana Stamcheva + */ +public interface MetaContactQueryListener +{ + /** + * Indicates that a <tt>MetaContact</tt> has been received for a search in + * the <tt>MetaContactListService</tt>. + * @param metaContact the received <tt>MetaContact</tt> + */ + public void metaContactReceived(MetaContactQueryEvent event); + + /** + * Indicates that a <tt>MetaGroup</tt> has been received from a search in + * the <tt>MetaContactListService</tt>. + * @param metaGroup the <tt>MetaGroup</tt> that has been received + */ + public void metaGroupReceived(MetaGroupQueryEvent event); + + /** + * Indicates that a query has changed its status. + * @param event the <tt>MetaContactQueryStatusEvent</tt> that notified us + */ + public void metaContactQueryStatusChanged(MetaContactQueryStatusEvent event); +} |