aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/gui/event/ContactListListener.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/service/gui/event/ContactListListener.java')
-rw-r--r--src/net/java/sip/communicator/service/gui/event/ContactListListener.java50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/service/gui/event/ContactListListener.java b/src/net/java/sip/communicator/service/gui/event/ContactListListener.java
new file mode 100644
index 0000000..f6fa602
--- /dev/null
+++ b/src/net/java/sip/communicator/service/gui/event/ContactListListener.java
@@ -0,0 +1,50 @@
+/*
+ * Jitsi, the OpenSource Java VoIP and Instant Messaging client.
+ *
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package net.java.sip.communicator.service.gui.event;
+
+import java.util.*;
+
+/**
+ * Listens for events coming from mouse events over the contact list. For
+ * example a contact been clicked or a group been selected.
+ *
+ * @author Yana Stamcheva
+ */
+public interface ContactListListener extends EventListener
+{
+ /**
+ * Indicates that a group has been selected.
+ *
+ * @param evt the <tt>ContactListEvent</tt> that has been triggered from
+ * the user selection
+ */
+ public void groupClicked(ContactListEvent evt);
+
+ /**
+ * Indicates that a group has been selected.
+ *
+ * @param evt the <tt>ContactListEvent</tt> that has been triggered from
+ * the user selection
+ */
+ public void groupSelected(ContactListEvent evt);
+
+ /**
+ * Indicates that a contact has been clicked.
+ *
+ * @param evt the <tt>ContactListEvent</tt> that has been triggered from
+ * the user click
+ */
+ public void contactClicked(ContactListEvent evt);
+
+ /**
+ * Indicates that a contact has been selected.
+ *
+ * @param evt the <tt>ContactListEvent</tt> that has been triggered from
+ * the user selection
+ */
+ public void contactSelected(ContactListEvent evt);
+}