|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.java.sip.communicator.impl.gui.main.contactlist.ContactListEvent
public class ContactListEvent
The ContactListEvent is triggered when a contact or a group is clicked in the contact list.
| Field Summary | |
|---|---|
static int |
CONTACT_CLICKED
Indicates that the ContactListEvent instance was triggered by selecting a contact in the contact list. |
static int |
GROUP_CLICKED
Indicates that the ContactListEvent instance was triggered by selecting a group in the contact list. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ContactListEvent(Object source,
int eventID,
int clickCount)
Creates a new ContactListEvent according to the specified parameters. |
|
| Method Summary | |
|---|---|
int |
getClickCount()
Returns the number of click of this event. |
int |
getEventID()
Returns an event id specifying whether the type of this event (CONTACT_SELECTED or PROTOCOL_CONTACT_SELECTED) |
UIContact |
getSourceContact()
Returns the UIContactDescriptor for which this event occured. |
UIGroup |
getSourceGroup()
Returns the UIGroupDescriptor for which this event occured. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CONTACT_CLICKED
public static final int GROUP_CLICKED
| Constructor Detail |
|---|
public ContactListEvent(Object source,
int eventID,
int clickCount)
source - the MetaContact which was selectedeventID - one of the XXX_SELECTED static fields indicating the
nature of the event.clickCount - the number of clicks that was produced when clicking
over the contact list| Method Detail |
|---|
public int getEventID()
public UIContact getSourceContact()
public UIGroup getSourceGroup()
public int getClickCount()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||