aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListListener.java
blob: e6f31e06fb066104febddf18be97a3eb7cadabbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * 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.impl.gui.main.contactlist;

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 contact has been clicked.
     * @param evt the <tt>ContactListEvent</tt> that has been triggered from
     * the user click
     */
    public void contactClicked(ContactListEvent evt);
}