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 Type
    Method
    Description
    void
    addLayer(org.geotools.map.Layer layer, Object... path)
    Deprecated.
    Add a layer into the manager.
    void
    addPath(Object... path)
    Deprecated.
    Add the path into the hierarchy.
    Deprecated.
    Return the non-leaf objects at the specified path.
    Collection<org.geotools.map.Layer>
    getLayers(Object... path)
    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

      void addLayer(org.geotools.map.Layer layer, Object... path)
      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

      void removeLayer(org.geotools.map.Layer layer, Object... path)
      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

      Collection<org.geotools.map.Layer> getLayers(Object... path)
      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

      void addPath(Object... path)
      Deprecated.
      Add the path into the hierarchy.
      Parameters:
      path - The path to add to the hierarchy
    • getChildren

      Collection<Object> getChildren(Object... path)
      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

      void removePath(Object... path)
      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.