public class ActiveLayerModelWrapperWithoutProgress extends Object implements TreeModel, TreeModelListener
| Constructor and Description |
|---|
ActiveLayerModelWrapperWithoutProgress(ActiveLayerModel model)
Creates a new ActiveLayerModelWrapperWithoutProgress object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTreeModelListener(TreeModelListener l) |
void |
addTreeToUpdate(JTree tree)
Adds a tree to update.
|
Object |
getChild(Object parent,
int index) |
int |
getChildCount(Object parent) |
int |
getIndexOfChild(Object parent,
Object child) |
ActiveLayerModel |
getModel()
DOCUMENT ME!
|
Object |
getRoot() |
boolean |
isLeaf(Object node) |
void |
removeTreeModelListener(TreeModelListener l) |
void |
removeTreeToUpdate(JTree tree)
Removes the given tree.
|
void |
setModel(ActiveLayerModel model)
DOCUMENT ME!
|
void |
treeNodesChanged(TreeModelEvent e) |
void |
treeNodesInserted(TreeModelEvent e) |
void |
treeNodesRemoved(TreeModelEvent e) |
void |
treeStructureChanged(TreeModelEvent e) |
void |
valueForPathChanged(TreePath path,
Object newValue) |
public ActiveLayerModelWrapperWithoutProgress(ActiveLayerModel model)
model - DOCUMENT ME!public int getChildCount(Object parent)
getChildCount in interface TreeModelpublic void valueForPathChanged(TreePath path, Object newValue)
valueForPathChanged in interface TreeModelpublic int getIndexOfChild(Object parent, Object child)
getIndexOfChild in interface TreeModelpublic void addTreeModelListener(TreeModelListener l)
addTreeModelListener in interface TreeModelpublic void removeTreeModelListener(TreeModelListener l)
removeTreeModelListener in interface TreeModelpublic void addTreeToUpdate(JTree tree)
Invokes the updateUI() method of the given tree after every fireTreeStructureChanged() invocation. This is required to refresh the path bounds of the tree. Without this refresh, the change of the name of a tree path will cause a display error.
tree - the tree to invoke updateUI()public void removeTreeToUpdate(JTree tree)
tree - tree to removeaddTreeToUpdate(Jtree)public ActiveLayerModel getModel()
public void setModel(ActiveLayerModel model)
model - the model to setpublic void treeNodesChanged(TreeModelEvent e)
treeNodesChanged in interface TreeModelListenerpublic void treeNodesInserted(TreeModelEvent e)
treeNodesInserted in interface TreeModelListenerpublic void treeNodesRemoved(TreeModelEvent e)
treeNodesRemoved in interface TreeModelListenerpublic void treeStructureChanged(TreeModelEvent e)
treeStructureChanged in interface TreeModelListenerCopyright © 2012–2025 cismet GmbH. All rights reserved.