gov.nasa.worldwindx.applications.worldwindow.util
Class LayerTree
java.lang.Object
gov.nasa.worldwindx.applications.worldwindow.util.LayerTree
- All Implemented Interfaces:
- Iterable<Layer>
- Direct Known Subclasses:
- WMSLayerTree
public abstract class LayerTree
- extends Object
- implements Iterable<Layer>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
children
protected List<LayerTree> children
controller
protected Controller controller
layers
protected LayerList layers
name
protected String name
LayerTree
public LayerTree(Controller controller)
LayerTree
public LayerTree(LayerList root)
createLayers
public abstract void createLayers(Object infoItem,
AVList params)
getChild
public Object getChild(String name)
getChildren
public List<LayerTree> getChildren()
getDisplayName
public String getDisplayName()
getLayer
public Layer getLayer(List<String> path)
getLayers
public LayerList getLayers()
getPathIterator
public Iterator<LayerPath> getPathIterator(LayerPath basePath)
hasChildren
public boolean hasChildren()
hasLayers
public boolean hasLayers()
iterator
public Iterator<Layer> iterator()
- Specified by:
iterator in interface Iterable<Layer>
setChildren
public void setChildren(List<LayerTree> children)
setDisplayName
public void setDisplayName(String name)
setLayers
public void setLayers(LayerList layerList)