Class ArcGISMap.BasemapChangedEvent

java.lang.Object
java.util.EventObject
com.esri.arcgisruntime.mapping.ArcGISMap.BasemapChangedEvent
All Implemented Interfaces:
Serializable
Enclosing class:
ArcGISMap

public static final class ArcGISMap.BasemapChangedEvent extends EventObject
An event which indicates that the Basemap of the ArcGISMap has changed.
Since:
100.0.0
See Also:
  • Constructor Details

    • BasemapChangedEvent

      public BasemapChangedEvent(ArcGISMap source, Basemap oldBasemap)
      Creates a BasemapChangedEvent instance.
      Parameters:
      source - the ArcGISMap which raised the event
      oldBasemap - the ArcGISMap's Basemap prior to the event, can be null
      Since:
      100.0.0
  • Method Details

    • getSource

      public ArcGISMap getSource()
      Gets the ArcGISMap which raised the event.
      Overrides:
      getSource in class EventObject
      Returns:
      the ArcGISMap which raised the event
      Since:
      100.0.0
    • getOldBasemap

      public Basemap getOldBasemap()
      Gets the Basemap of the ArcGISMap prior to the event.
      Returns:
      the Basemap of the ArcGISMap prior to the event
      Since:
      100.0.0