|
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.MetaContactGroupEvent
public class MetaContactGroupEvent
| Field Summary | |
|---|---|
static int |
CHILD_CONTACTS_REORDERED
Indicates that the MetaContactGroupEvent instance was triggered by the fact that child contacts were reordered in the source group. |
static int |
CONTACT_GROUP_ADDED_TO_META_GROUP
Indicates that the MetaContactGroupEvent instance was triggered by adding a protocol specific ContactGroup to the source MetaContactGroup. |
static int |
CONTACT_GROUP_REMOVED_FROM_META_GROUP
Indicates that the MetaContactGroupEvent instance was triggered by the removal of a protocol specific ContactGroup in the source MetaContactGroup. |
static int |
CONTACT_GROUP_RENAMED_IN_META_GROUP
Indicates that the MetaContactGroupEvent instance was triggered by the renaming of a protocol specific ContactGroup in the source MetaContactGroup. |
static int |
META_CONTACT_GROUP_ADDED
Indicates that the MetaContactGroupEvent instance was triggered by adding a MetaContactGroup. |
static int |
META_CONTACT_GROUP_REMOVED
Indicates that the MetaContactGroupEvent instance was triggered by the removal of an existing MetaContactGroup. |
static int |
META_CONTACT_GROUP_RENAMED
Indicates that the MetaContactGroupEvent instance was triggered by the renaming of an existing MetaContactGroup. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
MetaContactGroupEvent(MetaContactGroup source,
ProtocolProviderService provider,
ContactGroup sourceProtoGroup,
int eventID)
Creates a new MetaContactGroup event according to the specified parameters. |
|
| Method Summary | |
|---|---|
int |
getEventID()
Returns an event id specifying whether the type of this event (e.g. |
MetaContactGroup |
getSourceMetaContactGroup()
Returns the source MetaContactGroup. |
ContactGroup |
getSourceProtoGroup()
Returns the proto group associated with this event or null if the event does not concern a particular source group. |
ProtocolProviderService |
getSourceProvider()
Returns the provider that the source contact belongs to. |
String |
toString()
Returns a String representation of this MetaContactGroupEvent |
| 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_GROUP_ADDED
public static final int META_CONTACT_GROUP_REMOVED
public static final int CONTACT_GROUP_REMOVED_FROM_META_GROUP
public static final int CHILD_CONTACTS_REORDERED
public static final int CONTACT_GROUP_RENAMED_IN_META_GROUP
public static final int CONTACT_GROUP_ADDED_TO_META_GROUP
public static final int META_CONTACT_GROUP_RENAMED
| Constructor Detail |
|---|
public MetaContactGroupEvent(MetaContactGroup source,
ProtocolProviderService provider,
ContactGroup sourceProtoGroup,
int eventID)
source - the MetaContactGroup instance that is added to the MetaContactListprovider - the ProtocolProviderService instance where this event
occurredsourceProtoGroup - the proto group associated with this event or
null if the event does not concern a particular source group.eventID - one of the METACONTACT_XXX static fields indicating the
nature of the event.| Method Detail |
|---|
public ProtocolProviderService getSourceProvider()
public ContactGroup getSourceProtoGroup()
public MetaContactGroup getSourceMetaContactGroup()
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 | |||||||||