Class LayerTreeModel
- java.lang.Object
-
- org.locationtech.jts.jump.util.SimpleTreeModel
-
- org.locationtech.jts.jump.workbench.model.LayerTreeModel
-
- All Implemented Interfaces:
TreeModel
public class LayerTreeModel extends SimpleTreeModel
JTree model for displaying the Layers, WMSLayers, and other Layerables contained in a LayerManager.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LayerTreeModel.Root
-
Nested classes/interfaces inherited from class org.locationtech.jts.jump.util.SimpleTreeModel
SimpleTreeModel.Folder
-
-
Constructor Summary
Constructors Constructor Description LayerTreeModel(LayerManagerProxy layerManagerProxy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List
getChildren(Object parent)
No need to handle Foldersvoid
valueForPathChanged(TreePath path, Object newValue)
-
Methods inherited from class org.locationtech.jts.jump.util.SimpleTreeModel
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, setFiringEvents
-
-
-
-
Constructor Detail
-
LayerTreeModel
public LayerTreeModel(LayerManagerProxy layerManagerProxy)
-
-
Method Detail
-
getChildren
public List getChildren(Object parent)
Description copied from class:SimpleTreeModel
No need to handle Folders- Specified by:
getChildren
in classSimpleTreeModel
- Parameters:
parent
- not a Folder
-
valueForPathChanged
public void valueForPathChanged(TreePath path, Object newValue)
- Specified by:
valueForPathChanged
in interfaceTreeModel
- Overrides:
valueForPathChanged
in classSimpleTreeModel
-
-