Class DefaultLayerManager

java.lang.Object
javax.swing.tree.DefaultTreeModel
repast.simphony.gis.legend.DefaultLayerManager
All Implemented Interfaces:
Serializable, TreeModel, LayerManager

public class DefaultLayerManager extends DefaultTreeModel implements LayerManager
Deprecated.
2D piccolo based code is being removed
See Also:
  • Constructor Details

    • DefaultLayerManager

      public DefaultLayerManager()
      Deprecated.
  • Method Details

    • addLayer

      public void addLayer(org.geotools.map.Layer layer, Object... path)
      Deprecated.
      Description copied from interface: LayerManager
      Add a layer into the manager. The path will be defined hierarchically based on the series of Objects passed in as the path.
      Specified by:
      addLayer in interface LayerManager
      Parameters:
      layer - The layer to be managed.
      path - The hierarchical path that describes the location of the layer.
    • addPath

      public void addPath(Object... path)
      Deprecated.
      Description copied from interface: LayerManager
      Add the path into the hierarchy.
      Specified by:
      addPath in interface LayerManager
      Parameters:
      path - The path to add to the hierarchy
    • getChildren

      public Collection<Object> getChildren(Object... path)
      Deprecated.
      Description copied from interface: LayerManager
      Return the non-leaf objects at the specified path.
      Specified by:
      getChildren in interface LayerManager
      Parameters:
      path - The hierarchical path that describes the location of the layer.
      Returns:
      The non-leaf children of the node defined by path.
    • getLayers

      public Collection<org.geotools.map.Layer> getLayers(Object... path)
      Deprecated.
      Description copied from interface: LayerManager
      Get the layers that exist exactly at the path specified. This will not recursively get the layers.
      Specified by:
      getLayers in interface LayerManager
      Parameters:
      path - The hierarchical path that describes the location of the layer.
      Returns:
      The layers at the path.
    • removeLayer

      public void removeLayer(org.geotools.map.Layer layer, Object... path)
      Deprecated.
      Description copied from interface: LayerManager
      Remove the layer that is at the supplied path.
      Specified by:
      removeLayer in interface LayerManager
      Parameters:
      layer - The layer to be managed.
      path - The hierarchical path that describes the location of the layer.
    • removePath

      public void removePath(Object... path)
      Deprecated.
      Description copied from interface: LayerManager
      Remove the child object from the specified path. This will remove all children of the specified child as well.
      Specified by:
      removePath in interface LayerManager
      Parameters:
      path - The parent path of the child to be removed.