de.schwarzrot.ui.control.model
Class DynamicTreeModel
java.lang.Object
javax.swing.tree.DefaultTreeModel
de.schwarzrot.ui.control.model.DynamicTreeModel
- All Implemented Interfaces:
- Serializable, TreeModel
public class DynamicTreeModel
- extends DefaultTreeModel
- See Also:
- Serialized Form
Methods inherited from class javax.swing.tree.DefaultTreeModel |
asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getListeners, getPathToRoot, getPathToRoot, getTreeModelListeners, insertNodeInto, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, setAsksAllowsChildren, setRoot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicTreeModel
public DynamicTreeModel(TreeNode root)
DynamicTreeModel
public DynamicTreeModel(TreeNode root,
boolean askAllowsChildren)
addTreeModelListener
public void addTreeModelListener(TreeModelListener l)
- Specified by:
addTreeModelListener
in interface TreeModel
- Overrides:
addTreeModelListener
in class DefaultTreeModel
getChild
public Object getChild(Object parent,
int index)
- Specified by:
getChild
in interface TreeModel
- Overrides:
getChild
in class DefaultTreeModel
getChildCount
public int getChildCount(Object parent)
- Specified by:
getChildCount
in interface TreeModel
- Overrides:
getChildCount
in class DefaultTreeModel
getIndexOfChild
public int getIndexOfChild(Object parent,
Object child)
- Specified by:
getIndexOfChild
in interface TreeModel
- Overrides:
getIndexOfChild
in class DefaultTreeModel
getRoot
public Object getRoot()
- Specified by:
getRoot
in interface TreeModel
- Overrides:
getRoot
in class DefaultTreeModel
isLeaf
public boolean isLeaf(Object node)
- Specified by:
isLeaf
in interface TreeModel
- Overrides:
isLeaf
in class DefaultTreeModel
removeTreeModelListener
public void removeTreeModelListener(TreeModelListener l)
- Specified by:
removeTreeModelListener
in interface TreeModel
- Overrides:
removeTreeModelListener
in class DefaultTreeModel
valueForPathChanged
public void valueForPathChanged(TreePath path,
Object newValue)
- Specified by:
valueForPathChanged
in interface TreeModel
- Overrides:
valueForPathChanged
in class DefaultTreeModel
getLogger
protected final org.apache.commons.logging.Log getLogger()
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.