|
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.contactsource.ContactQueryStatusEvent
public class ContactQueryStatusEvent
The ContactQueryStatusEvent is triggered each time a ContactQuery 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 | |
|---|---|
ContactQueryStatusEvent(ContactQuery source,
int eventType)
Creates a ContactQueryStatusEvent by specifying the source ContactQuery and the eventType indicating why initially this event occurred. |
|
| Method Summary | |
|---|---|
int |
getEventType()
Returns the type of this event. |
ContactQuery |
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 ContactQueryStatusEvent(ContactQuery 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 ContactQuery 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 | |||||||||