Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.mapping
Class ArcGISMap.BasemapChangedEvent
java.lang.Object
java.util.EventObject
com.esri.arcgisruntime.mapping.ArcGISMap.BasemapChangedEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
ArcGISMap
An event which indicates that the Basemap of the ArcGISMap has changed.
- Since:
- 100.0.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionBasemapChangedEvent
(ArcGISMap source, Basemap oldBasemap) Creates a BasemapChangedEvent instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the Basemap of the ArcGISMap prior to the event.Gets the ArcGISMap which raised the event.Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
BasemapChangedEvent
Creates a BasemapChangedEvent instance.- Parameters:
source
- the ArcGISMap which raised the eventoldBasemap
- the ArcGISMap's Basemap prior to the event, can be null- Since:
- 100.0.0
-
-
Method Details
-
getSource
Gets the ArcGISMap which raised the event.- Overrides:
getSource
in classEventObject
- Returns:
- the ArcGISMap which raised the event
- Since:
- 100.0.0
-
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
-