Package gov.nasa.worldwind.layer
Class LayerList
- java.lang.Object
-
- gov.nasa.worldwind.layer.LayerList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllLayers(LayerList list)
void
addAllLayers(java.lang.Iterable<? extends Layer> iterable)
void
addLayer(int index, Layer layer)
void
addLayer(Layer layer)
void
clearLayers()
int
count()
Layer
getLayer(int index)
int
indexOfLayer(Layer layer)
int
indexOfLayerNamed(java.lang.String name)
int
indexOfLayerWithProperty(java.lang.Object key, java.lang.Object value)
java.util.Iterator<Layer>
iterator()
boolean
removeAllLayers(java.lang.Iterable<? extends Layer> layers)
Layer
removeLayer(int index)
boolean
removeLayer(Layer layer)
void
render(RenderContext rc)
Layer
setLayer(int index, Layer layer)
-
-
-
Method Detail
-
count
public int count()
-
getLayer
public Layer getLayer(int index)
-
indexOfLayer
public int indexOfLayer(Layer layer)
-
indexOfLayerNamed
public int indexOfLayerNamed(java.lang.String name)
-
indexOfLayerWithProperty
public int indexOfLayerWithProperty(java.lang.Object key, java.lang.Object value)
-
addLayer
public void addLayer(Layer layer)
-
addLayer
public void addLayer(int index, Layer layer)
-
addAllLayers
public void addAllLayers(LayerList list)
-
addAllLayers
public void addAllLayers(java.lang.Iterable<? extends Layer> iterable)
-
removeLayer
public boolean removeLayer(Layer layer)
-
removeLayer
public Layer removeLayer(int index)
-
removeAllLayers
public boolean removeAllLayers(java.lang.Iterable<? extends Layer> layers)
-
clearLayers
public void clearLayers()
-
iterator
@NonNull public java.util.Iterator<Layer> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<Layer>
-
render
public void render(RenderContext rc)
-
-