Package repast.simphony.gis.legend
Interface LayerManager
- All Known Implementing Classes:
DefaultLayerManager
public interface LayerManager
Deprecated.
2D piccolo based code is being removed
This interface is designed to support complex hierarchies as the structure
for a set of layers describing a map.
- Author:
- howe
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Add a layer into the manager.void
Deprecated.Add the path into the hierarchy.getChildren
(Object... path) Deprecated.Return the non-leaf objects at the specified path.Collection<org.geotools.map.Layer>
Deprecated.Get the layers that exist exactly at the path specified.void
removeLayer
(org.geotools.map.Layer layer, Object... path) Deprecated.Remove the layer that is at the supplied path.void
removePath
(Object... path) Deprecated.Remove the child object from the specified path.
-
Method Details
-
addLayer
Deprecated.Add a layer into the manager. The path will be defined hierarchically based on the series of Objects passed in as the path.- Parameters:
path
- The hierarchical path that describes the location of the layer.layer
- The layer to be managed.
-
removeLayer
Deprecated.Remove the layer that is at the supplied path.- Parameters:
path
- The hierarchical path that describes the location of the layer.layer
- The layer to be managed.
-
getLayers
Deprecated.Get the layers that exist exactly at the path specified. This will not recursively get the layers.- Parameters:
path
- The hierarchical path that describes the location of the layer.- Returns:
- The layers at the path.
-
addPath
Deprecated.Add the path into the hierarchy.- Parameters:
path
- The path to add to the hierarchy
-
getChildren
Deprecated.Return the non-leaf objects at the specified path.- Parameters:
path
- The hierarchical path that describes the location of the layer.- Returns:
- The non-leaf children of the node defined by path.
-
removePath
Deprecated.Remove the child object from the specified path. This will remove all children of the specified child as well.- Parameters:
path
- The parent path of the child to be removed.child
- The child to remove from the path.
-