|
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.contactsource.MetaContactQueryStatusEvent
public class MetaContactQueryStatusEvent
The MetaContactQueryStatusEvent is triggered each time a MetaContactQuery changes its status. Possible statuses are: QUERY_COMPLETED, QUERY_CANCELED and QUERY_ERROR.
| Field Summary | |
|---|---|
static int |
QUERY_CANCELED
Indicates that a query has been canceled. |
static int |
QUERY_COMPLETED
Indicates that a query has been completed. |
static int |
QUERY_ERROR
Indicates that a query has been stopped because of an error. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
MetaContactQueryStatusEvent(MetaContactQuery source,
int eventType)
Creates a MetaContactQueryStatusEvent by specifying the source MetaContactQuery and the eventType indicating why initially this event occurred. |
|
| Method Summary | |
|---|---|
int |
getEventType()
Returns the type of this event. |
MetaContactQuery |
getQuerySource()
Returns the ContactQuery that triggered this event. |
| 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 QUERY_COMPLETED
public static final int QUERY_CANCELED
public static final int QUERY_ERROR
| Constructor Detail |
|---|
public MetaContactQueryStatusEvent(MetaContactQuery source,
int eventType)
source - the initiator of the eventeventType - the type of the event. One of the QUERY_XXX constants
defined in this class| Method Detail |
|---|
public MetaContactQuery getQuerySource()
public int getEventType()
|
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 | |||||||||