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.
Since:
100.9.0
See Also:
  • Constructor Details

    • 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 event
      location - the new LocationDataSource.Location of the LocationDisplay
      Since:
      100.9.0
  • Method Details

    • getSource

      public LocationDisplay getSource()
      Gets the LocationDisplay that raised the event.
      Overrides:
      getSource in class EventObject
      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