Class LocationDisplay.LocationChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.esri.arcgisruntime.mapping.view.LocationDisplay.LocationChangedEvent
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- LocationDisplay
public static final class LocationDisplay.LocationChangedEvent extends EventObject
Holds information from a change to the Location of a LocationDisplay.
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
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.-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
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.9.0
-
-
Method Detail
-
getSource
public LocationDisplay getSource()
Gets the LocationDisplay that raised the event.- Overrides:
getSource
in classEventObject
- Returns:
- the LocationDisplay that raised the event
- Since:
- 100.9.0
-
getLocation
public LocationDataSource.Location getLocation()
Gets the new LocationDataSource.Location of the LocationDisplay- Returns:
- the new Location
- Since:
- 100.9.0
-
-