|
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
java.beans.PropertyChangeEvent
net.java.sip.communicator.service.protocol.event.ProviderPresenceStatusChangeEvent
public class ProviderPresenceStatusChangeEvent
Instances of this class represent a change in the status of the provider that triggerred them.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ProviderPresenceStatusChangeEvent(ProtocolProviderService source,
PresenceStatus oldValue,
PresenceStatus newValue)
Creates an event instance indicating a change of the property specified by eventType from oldValue to newValue. |
|
| Method Summary | |
|---|---|
PresenceStatus |
getNewStatus()
Returns the status of the provider after this event took place. |
PresenceStatus |
getOldStatus()
Returns the status of the provider before this event took place. |
ProtocolProviderService |
getProvider()
Returns the provider that has genereted this event |
String |
toString()
Returns a String representation of this ProviderPresenceStatusChangeEvent |
| Methods inherited from class java.beans.PropertyChangeEvent |
|---|
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId |
| 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 |
| Constructor Detail |
|---|
public ProviderPresenceStatusChangeEvent(ProtocolProviderService source,
PresenceStatus oldValue,
PresenceStatus newValue)
source - the provider that generated the eventoldValue - the status the source provider was int before enetering
the new state.newValue - the status the source provider is currently in.| Method Detail |
|---|
public ProtocolProviderService getProvider()
public PresenceStatus getOldStatus()
public PresenceStatus getNewStatus()
public String toString()
toString in class EventObject
|
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 | |||||||||