Package repast.simphony.gis.legend
Class DefaultLayerManager
java.lang.Object
javax.swing.tree.DefaultTreeModel
repast.simphony.gis.legend.DefaultLayerManager
- All Implemented Interfaces:
Serializable,TreeModel,LayerManager
Deprecated.
2D piccolo based code is being removed
- See Also:
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Add a layer into the manager.voidDeprecated.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.voidremoveLayer(org.geotools.map.Layer layer, Object... path) Deprecated.Remove the layer that is at the supplied path.voidremovePath(Object... path) Deprecated.Remove the child object from the specified path.Methods inherited from class javax.swing.tree.DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged
-
Constructor Details
-
DefaultLayerManager
public DefaultLayerManager()Deprecated.
-
-
Method Details
-
addLayer
Deprecated.Description copied from interface:LayerManagerAdd a layer into the manager. The path will be defined hierarchically based on the series of Objects passed in as the path.- Specified by:
addLayerin interfaceLayerManager- Parameters:
layer- The layer to be managed.path- The hierarchical path that describes the location of the layer.
-
addPath
Deprecated.Description copied from interface:LayerManagerAdd the path into the hierarchy.- Specified by:
addPathin interfaceLayerManager- Parameters:
path- The path to add to the hierarchy
-
getChildren
Deprecated.Description copied from interface:LayerManagerReturn the non-leaf objects at the specified path.- Specified by:
getChildrenin interfaceLayerManager- Parameters:
path- The hierarchical path that describes the location of the layer.- Returns:
- The non-leaf children of the node defined by path.
-
getLayers
Deprecated.Description copied from interface:LayerManagerGet the layers that exist exactly at the path specified. This will not recursively get the layers.- Specified by:
getLayersin interfaceLayerManager- Parameters:
path- The hierarchical path that describes the location of the layer.- Returns:
- The layers at the path.
-
removeLayer
Deprecated.Description copied from interface:LayerManagerRemove the layer that is at the supplied path.- Specified by:
removeLayerin interfaceLayerManager- Parameters:
layer- The layer to be managed.path- The hierarchical path that describes the location of the layer.
-
removePath
Deprecated.Description copied from interface:LayerManagerRemove the child object from the specified path. This will remove all children of the specified child as well.- Specified by:
removePathin interfaceLayerManager- Parameters:
path- The parent path of the child to be removed.
-