Package com.esri.arcgisruntime.ogc.kml
Class KmlTour
- java.lang.Object
-
- com.esri.arcgisruntime.ogc.kml.KmlNode
-
- com.esri.arcgisruntime.ogc.kml.KmlTour
-
public final class KmlTour extends KmlNode
A KML tour is a type of KmlNode, it is usually associated with an executed playlist command.- Since:
- 100.4.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.arcgisruntime.ogc.kml.KmlNode
KmlNode.RefreshStatus
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addStatusChangedListener(KmlTourStatusChangedListener kmlTourStatusChangedListener)
Adds a listener to listen for the KML tour status changes.KmlTourStatus
getTourStatus()
Gets the current status.boolean
removeStatusChangedListener(KmlTourStatusChangedListener kmlTourStatusChangedListener)
Removes a status changed listener-
Methods inherited from class com.esri.arcgisruntime.ogc.kml.KmlNode
addIconUpdatedEventListener, addRefreshStatusChangedListener, getAddress, getBalloonBackgroundColor, getBalloonContent, getDescription, getExtent, getHighlightStyle, getId, getName, getParentNode, getRefreshError, getRefreshStatus, getSnippet, getSnippetMaxLines, getStyle, getTimeExtent, getUxIcon, getUxIconColor, getUxIconId, getViewpoint, isHighlighted, isVisible, removeIconUpdatedEventListener, removeRefreshStatusChangedListener, saveAsAsync, setAddress, setDescription, setHighlighted, setHighlightStyle, setId, setName, setSnippet, setSnippetMaxLines, setStyle, setTimeExtent, setViewpoint, setVisible
-
-
-
-
Method Detail
-
getTourStatus
public KmlTourStatus getTourStatus()
Gets the current status.- Returns:
- the current status
- Since:
- 100.5.0
-
addStatusChangedListener
public void addStatusChangedListener(KmlTourStatusChangedListener kmlTourStatusChangedListener)
Adds a listener to listen for the KML tour status changes.- Parameters:
kmlTourStatusChangedListener
- the listener- Throws:
java.lang.IllegalArgumentException
- if kmlTourStatusChangedListener is null- Since:
- 100.5.0
-
removeStatusChangedListener
public boolean removeStatusChangedListener(KmlTourStatusChangedListener kmlTourStatusChangedListener)
Removes a status changed listener- Parameters:
kmlTourStatusChangedListener
- the listener- Returns:
- true, if successful
- Since:
- 100.5.0
-
-