Class LayerTreeModel
- java.lang.Object
-
- com.vividsolutions.jump.util.SimpleTreeModel
-
- com.vividsolutions.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.ColorThemingValuestatic classLayerTreeModel.RasterStyleValueIntvstatic classLayerTreeModel.RasterStyleValueRampstatic classLayerTreeModel.Rootstatic interfaceLayerTreeModel.SymbolizationLeafNode
-
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 FoldersintgetIndexOfChild(Object parent, Object child)voidvalueForPathChanged(TreePath path, Object newValue)-
Methods inherited from class com.vividsolutions.jump.util.SimpleTreeModel
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getRoot, isLeaf, removeTreeModelListener, setFiringEvents
-
-
-
-
Constructor Detail
-
LayerTreeModel
public LayerTreeModel(LayerManagerProxy layerManagerProxy)
-
-
Method Detail
-
getIndexOfChild
public int getIndexOfChild(Object parent, Object child)
- Specified by:
getIndexOfChildin interfaceTreeModel- Overrides:
getIndexOfChildin classSimpleTreeModel
-
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
-
-