NASA World Wind

gov.nasa.worldwind.applications.gio.gidb
Class LayerListImpl

java.lang.Object
  extended by gov.nasa.worldwind.applications.gio.gidb.LayerListImpl
All Implemented Interfaces:
LayerList, Iterable<Layer>

public class LayerListImpl
extends Object
implements LayerList


Constructor Summary
LayerListImpl()
           
 
Method Summary
 void addLayer(int index, Layer layer)
           
 void addLayer(Layer layer)
           
 void addLayers(Collection<? extends Layer> c)
           
 void clearLayers()
           
 int getIndex(Layer layer)
           
 Layer getLayer(int index)
           
 int getLayerCount()
           
 Iterator<Layer> iterator()
           
 void removeLayer(int index)
           
 void setLayer(int index, Layer layer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayerListImpl

public LayerListImpl()
Method Detail

addLayer

public void addLayer(int index,
                     Layer layer)
Specified by:
addLayer in interface LayerList

addLayer

public void addLayer(Layer layer)
Specified by:
addLayer in interface LayerList

addLayers

public void addLayers(Collection<? extends Layer> c)
Specified by:
addLayers in interface LayerList

clearLayers

public void clearLayers()
Specified by:
clearLayers in interface LayerList

getIndex

public int getIndex(Layer layer)
Specified by:
getIndex in interface LayerList

getLayer

public Layer getLayer(int index)
Specified by:
getLayer in interface LayerList

getLayerCount

public int getLayerCount()
Specified by:
getLayerCount in interface LayerList

iterator

public Iterator<Layer> iterator()
Specified by:
iterator in interface Iterable<Layer>

removeLayer

public void removeLayer(int index)
Specified by:
removeLayer in interface LayerList

setLayer

public void setLayer(int index,
                     Layer layer)
Specified by:
setLayer in interface LayerList

NASA World Wind