Package com.esri.arcgisruntime.mapping
Class ArcGISScene.BasemapChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.esri.arcgisruntime.mapping.ArcGISScene.BasemapChangedEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ArcGISScene
public static final class ArcGISScene.BasemapChangedEvent extends java.util.EventObjectAn event which indicates that the Basemap of the source has changed.- Since:
- 100.0.0 for JavaSE and 100.1.0 for Android
- See Also:
ArcGISScene.BasemapChangedListener,ArcGISScene.addBasemapChangedListener(com.esri.arcgisruntime.mapping.ArcGISScene.BasemapChangedListener),GeoModel.setBasemap(com.esri.arcgisruntime.mapping.Basemap),Basemap, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BasemapChangedEvent(ArcGISScene source, Basemap oldBasemap)Creates a BasemapChangedEvent instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasemapgetOldBasemap()Gets the Basemap of the ArcGISScene prior to the event.ArcGISScenegetSource()Gets the ArcGISScene which raised the event.
-
-
-
Constructor Detail
-
BasemapChangedEvent
public BasemapChangedEvent(ArcGISScene source, Basemap oldBasemap)
Creates a BasemapChangedEvent instance.- Parameters:
source- the source which raised the eventoldBasemap- the source's Basemap prior to the event, can be null- Since:
- 100.0.0 for JavaSE and 100.1.0 for Android
-
-
Method Detail
-
getSource
public ArcGISScene getSource()
Gets the ArcGISScene which raised the event.- Overrides:
getSourcein classjava.util.EventObject- Returns:
- the ArcGISScene which raised the event
- Since:
- 100.0.0 for JavaSE and 100.1.0 for Android
-
getOldBasemap
public Basemap getOldBasemap()
Gets the Basemap of the ArcGISScene prior to the event.- Returns:
- the Basemap of the ArcGISScene prior to the event
- Since:
- 100.0.0 for JavaSE and 100.1.0 for Android
-
-