public abstract class LayerTree extends java.lang.Object implements java.lang.Iterable<Layer>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<LayerTree> |
children |
protected Controller |
controller |
protected LayerList |
layers |
protected java.lang.String |
name |
Constructor and Description |
---|
LayerTree(Controller controller) |
LayerTree(LayerList root) |
Modifier and Type | Method and Description |
---|---|
abstract void |
createLayers(java.lang.Object infoItem,
AVList params) |
java.lang.Object |
getChild(java.lang.String name) |
java.util.List<LayerTree> |
getChildren() |
java.lang.String |
getDisplayName() |
Layer |
getLayer(java.util.List<java.lang.String> path) |
LayerList |
getLayers() |
java.util.Iterator<LayerPath> |
getPathIterator(LayerPath basePath) |
boolean |
hasChildren() |
boolean |
hasLayers() |
java.util.Iterator<Layer> |
iterator() |
void |
setChildren(java.util.List<LayerTree> children) |
void |
setDisplayName(java.lang.String name) |
void |
setLayers(LayerList layerList) |
protected java.util.List<LayerTree> children
protected Controller controller
protected LayerList layers
protected java.lang.String name
public LayerTree(Controller controller)
public LayerTree(LayerList root)
public abstract void createLayers(java.lang.Object infoItem, AVList params)
public java.lang.Object getChild(java.lang.String name)
public java.util.List<LayerTree> getChildren()
public java.lang.String getDisplayName()
public Layer getLayer(java.util.List<java.lang.String> path)
public LayerList getLayers()
public boolean hasChildren()
public boolean hasLayers()
public java.util.Iterator<Layer> iterator()
iterator
in interface java.lang.Iterable<Layer>
public void setChildren(java.util.List<LayerTree> children)
public void setDisplayName(java.lang.String name)
public void setLayers(LayerList layerList)