Class LocationDisplay.AutoPanModeChangedEvent

java.lang.Object
java.util.EventObject
com.esri.arcgisruntime.mapping.view.LocationDisplay.AutoPanModeChangedEvent
All Implemented Interfaces:
Serializable
Enclosing class:
LocationDisplay

public static final class LocationDisplay.AutoPanModeChangedEvent extends EventObject
Holds information from a change to the AutoPanMode of a LocationDisplay.
Since:
100.9.0
See Also:
  • Constructor Details

    • AutoPanModeChangedEvent

      public AutoPanModeChangedEvent(LocationDisplay source, LocationDisplay.AutoPanMode autoPanMode)
      Creates a new AutoPanModeChangedEvent with the given LocationDisplay and AutoPanMode.
      Parameters:
      source - the LocationDisplay that raised the event
      autoPanMode - the new AutoPanMode 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
    • getAutoPanMode

      public LocationDisplay.AutoPanMode getAutoPanMode()
      Gets the new AutoPanMode of the LocationDisplay.
      Returns:
      the new AutoPanMode of the LocationDisplay
      Since:
      100.9.0