|
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.service.contactlist.event.MetaContactEvent
public class MetaContactEvent
Parent class for meta contact events indicating addition and removal of meta contacts in a meta contact list.
| Field Summary | |
|---|---|
static int |
META_CONTACT_ADDED
Indicates that the MetaContactEvent instance was triggered by adding a MetaContact. |
static int |
META_CONTACT_MOVED
Indicates that the MetaContactEvent instance was triggered by moving an existing MetaContact. |
static int |
META_CONTACT_REMOVED
Indicates that the MetaContactEvent instance was triggered by the removal of an existing MetaContact. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
MetaContactEvent(MetaContact source,
MetaContactGroup parentGroup,
int eventID)
Creates a new MetaContact event according to the specified parameters. |
|
| Method Summary | |
|---|---|
int |
getEventID()
Returns an event id specifying whether the type of this event (e.g. |
MetaContactGroup |
getParentGroup()
Returns the MetaContactGroup that the MetaContact belongs to. |
MetaContact |
getSourceMetaContact()
Returns the source MetaContact. |
String |
toString()
Returns a String representation of this MetaContactEvent |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int META_CONTACT_ADDED
public static final int META_CONTACT_REMOVED
public static final int META_CONTACT_MOVED
| Constructor Detail |
|---|
public MetaContactEvent(MetaContact source,
MetaContactGroup parentGroup,
int eventID)
source - the MetaContact instance that is added to the MetaContactListparentGroup - the MetaContactGroup underwhich the corresponding
MetaContact is locatedeventID - one of the METACONTACT_XXX static fields indicating the
nature of the event.| Method Detail |
|---|
public MetaContact getSourceMetaContact()
public MetaContactGroup getParentGroup()
public String toString()
toString in class EventObjectpublic int getEventID()
|
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 | |||||||||