public class LocalPositionChangeEvent
extends java.beans.PropertyChangeEvent
Constructor and Description |
---|
LocalPositionChangeEvent(ProtocolProviderService source,
java.util.Map oldValue,
java.util.Map newValue)
Creates an event instance indicating a change of the property specified
by eventType from oldValue to newValue.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getNewGeolocation()
Returns the Geolocation of the provider after this event took place.
|
java.util.Map |
getOldGeolocation()
Returns the Geolocation of the provider before this event took place.
|
ProtocolProviderService |
getProvider()
Returns the provider that has genereted this event
|
java.lang.String |
toString()
Returns a String representation of this LocalPositionChangeEvent
|
public LocalPositionChangeEvent(ProtocolProviderService source, java.util.Map oldValue, java.util.Map newValue)
source
- the provider that generated the eventoldValue
- the Geolocation the source provider was int before entering
the new state.newValue
- the Geolocation the source provider is currently in.public ProtocolProviderService getProvider()
public java.util.Map getOldGeolocation()
public java.util.Map getNewGeolocation()
public java.lang.String toString()
toString
in class java.beans.PropertyChangeEvent
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.