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 classLayerTreeModel.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 ListgetChildren(Object parent)No need to handle FoldersvoidvalueForPathChanged(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:SimpleTreeModelNo need to handle Folders- Specified by:
getChildrenin classSimpleTreeModel- Parameters:
parent- not a Folder
-
valueForPathChanged
public void valueForPathChanged(TreePath path, Object newValue)
- Specified by:
valueForPathChangedin interfaceTreeModel- Overrides:
valueForPathChangedin classSimpleTreeModel
-
-