public class LayerTreeModel extends SimpleTreeModel
Modifier and Type | Class and Description |
---|---|
static class |
LayerTreeModel.ColorThemingValue |
static class |
LayerTreeModel.Root |
SimpleTreeModel.Folder
Constructor and Description |
---|
LayerTreeModel(LayerManagerProxy layerManagerProxy) |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getChildren(java.lang.Object parent)
No need to handle Folders
|
int |
getIndexOfChild(java.lang.Object parent,
java.lang.Object child) |
void |
valueForPathChanged(javax.swing.tree.TreePath path,
java.lang.Object newValue) |
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getRoot, isLeaf, removeTreeModelListener, setFiringEvents
public LayerTreeModel(LayerManagerProxy layerManagerProxy)
public int getIndexOfChild(java.lang.Object parent, java.lang.Object child)
getIndexOfChild
in interface javax.swing.tree.TreeModel
getIndexOfChild
in class SimpleTreeModel
public java.util.List getChildren(java.lang.Object parent)
SimpleTreeModel
getChildren
in class SimpleTreeModel
parent
- not a Folderpublic void valueForPathChanged(javax.swing.tree.TreePath path, java.lang.Object newValue)
valueForPathChanged
in interface javax.swing.tree.TreeModel
valueForPathChanged
in class SimpleTreeModel