java.lang.Object
com.esri.arcgisruntime.layers.ArcGISSublayer
com.esri.arcgisruntime.layers.ArcGISTiledSublayer
- All Implemented Interfaces:
 RemoteResource,LayerContent,Loadable,PopupSource
A sublayer of an ArcGIS tiled layer.
 
 A tiled sublayer can be an individual layer or table in a cached ArcGIS map service.
 This property is available once its ArcGISTiledLayer is loaded or you can
 obtain a collection of sublayers from another tiled sublayer by using ArcGISSublayer.getSublayers().
- Since:
 - 100.0.0
 
- 
Property Summary
Properties inherited from class com.esri.arcgisruntime.layers.ArcGISSublayer
loadError, loadStatus - 
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a deep copy of this ArcGISTiledSublayer instance.voidsetVisible(boolean isVisible) Shows or hides this sublayer from a map.Methods inherited from class com.esri.arcgisruntime.layers.ArcGISSublayer
addDoneLoadingListener, addLoadStatusChangedListener, cancelLoad, canChangeVisibility, canScaleSymbols, canShowInLegend, copyTo, fetchLegendInfosAsync, getCredential, getDefinitionExpression, getId, getLoadError, getLoadStatus, getMapServiceSublayerInfo, getMaxScale, getMinScale, getName, getOpacity, getPopupDefinition, getRenderer, getRequestConfiguration, getSubLayerContents, getSublayers, getUri, isLabelsEnabled, isPopupEnabled, isVisible, isVisibleAtScale, loadAsync, loadErrorProperty, loadStatusProperty, removeDoneLoadingListener, removeLoadStatusChangedListener, retryLoadAsync, setCanShowInLegend, setCredential, setPopupDefinition, setPopupEnabled, setRenderer, setRequestConfiguration 
- 
Method Details
- 
setVisible
public void setVisible(boolean isVisible) Description copied from class:ArcGISSublayerShows or hides this sublayer from a map.The default value for a sublayer's visibility is set to true.
- Specified by:
 setVisiblein interfaceLayerContent- Overrides:
 setVisiblein classArcGISSublayer- Parameters:
 isVisible- true makes the sublayer visible, false makes it invisible- See Also:
 
 - 
copy
Creates a deep copy of this ArcGISTiledSublayer instance.- Specified by:
 copyin classArcGISSublayer- Returns:
 - a deep copy of this ArcGISTiledSublayer instance, which means that copies of all fields of this layer are made including its loading state
 - Since:
 - 100.1.0
 
 
 -