com.vividsolutions.jump.workbench.model
Class LayerTreeModel

java.lang.Object
  extended by com.vividsolutions.jump.util.SimpleTreeModel
      extended by com.vividsolutions.jump.workbench.model.LayerTreeModel
All Implemented Interfaces:
javax.swing.tree.TreeModel

public class LayerTreeModel
extends SimpleTreeModel

JTree model for displaying the Layers, WMSLayers, and other Layerables contained in a LayerManager.


Nested Class Summary
static class LayerTreeModel.Root
           
 
Nested classes/interfaces inherited from class com.vividsolutions.jump.util.SimpleTreeModel
SimpleTreeModel.Folder
 
Constructor Summary
LayerTreeModel(LayerManagerProxy layerManagerProxy)
           
 
Method Summary
 java.util.List getChildren(java.lang.Object parent)
          No need to handle Folders
 void valueForPathChanged(javax.swing.tree.TreePath path, java.lang.Object newValue)
           
 
Methods inherited from class com.vividsolutions.jump.util.SimpleTreeModel
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, setFiringEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayerTreeModel

public LayerTreeModel(LayerManagerProxy layerManagerProxy)
Method Detail

getChildren

public java.util.List getChildren(java.lang.Object parent)
Description copied from class: SimpleTreeModel
No need to handle Folders

Specified by:
getChildren in class SimpleTreeModel
Parameters:
parent - not a Folder

valueForPathChanged

public void valueForPathChanged(javax.swing.tree.TreePath path,
                                java.lang.Object newValue)
Specified by:
valueForPathChanged in interface javax.swing.tree.TreeModel
Overrides:
valueForPathChanged in class SimpleTreeModel