Module com.esri.arcgisruntime
Class LocationDisplay.LocationChangedEvent
java.lang.Object
java.util.EventObject
com.esri.arcgisruntime.mapping.view.LocationDisplay.LocationChangedEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
LocationDisplay
Holds information from a change to the Location of a LocationDisplay.
- Since:
- 100.9.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionLocationChangedEvent
(LocationDisplay source, LocationDataSource.Location location) Creates a new LocationChangedEvent with the given LocationDisplay and Location. -
Method Summary
Modifier and TypeMethodDescriptionGets the new LocationDataSource.Location of the LocationDisplayGets the LocationDisplay that raised the event.Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
LocationChangedEvent
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 Details
-
getSource
Gets the LocationDisplay that raised the event.- Overrides:
getSource
in classEventObject
- Returns:
- the LocationDisplay that raised the event
- Since:
- 100.9.0
-
getLocation
Gets the new LocationDataSource.Location of the LocationDisplay- Returns:
- the new Location
- Since:
- 100.9.0
-