Class LocationDisplay.LocationChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.esri.arcgisruntime.mapping.view.LocationDisplay.LocationChangedEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- LocationDisplay
public static final class LocationDisplay.LocationChangedEvent extends java.util.EventObject
Holds information from a change to the Location of a LocationDisplay.
-
-
Constructor Summary
Constructors Constructor Description LocationChangedEvent(LocationDisplay source, LocationDataSource.Location location)
Creates a new LocationChangedEvent with the given LocationDisplay and Location.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationDataSource.Location
getLocation()
Gets the new LocationDataSource.Location of the LocationDisplayLocationDisplay
getSource()
Gets the LocationDisplay that raised the event.
-
-
-
Constructor Detail
-
LocationChangedEvent
public LocationChangedEvent(LocationDisplay source, LocationDataSource.Location location)
Creates a new LocationChangedEvent with the given LocationDisplay and Location.- Parameters:
source
- the LocationDisplay that raised the eventlocation
- the new LocationDataSource.Location of the LocationDisplay- Since:
- 100.0.0
-
-
Method Detail
-
getSource
public LocationDisplay getSource()
Gets the LocationDisplay that raised the event.- Overrides:
getSource
in classjava.util.EventObject
- Returns:
- the LocationDisplay that raised the event
- Since:
- 100.0.0
-
getLocation
public LocationDataSource.Location getLocation()
Gets the new LocationDataSource.Location of the LocationDisplay- Returns:
- the new Location
- Since:
- 100.0.0
-
-