java.lang.Object
de.grogra.util.TreeModelSupport
de.grogra.util.SubTree
- All Implemented Interfaces:
Disposable
,EventListener
,TreeModelListener
,TreeModel
- Direct Known Subclasses:
UISubTree
-
Field Summary
Fields inherited from class de.grogra.util.TreeModelSupport
NODES_CHANGED, NODES_INSERTED, NODES_REMOVED, STRUCTURE_CHANGED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
final void
dispose()
protected void
protected void
int
getChildCount
(Object parent) int
getIndexOfChild
(Object parent, Object child) getRoot()
boolean
void
void
void
void
void
valueForPathChanged
(TreePath path, Object newValue) Methods inherited from class de.grogra.util.TreeModelSupport
addTreeModelListener, clearListeners, fireTreeModelEvent, fireTreeModelEvent, fireTreeModelEvent, fireTreeModelEvent, hasListeners, removeTreeModelListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.tree.TreeModel
addTreeModelListener, removeTreeModelListener
-
Field Details
-
tree
-
pathToRoot
-
-
Constructor Details
-
SubTree
-
-
Method Details
-
getRoot
-
getChildCount
- Specified by:
getChildCount
in interfaceTreeModel
-
isLeaf
-
getChild
-
getIndexOfChild
- Specified by:
getIndexOfChild
in interfaceTreeModel
-
valueForPathChanged
- Specified by:
valueForPathChanged
in interfaceTreeModel
-
firstListenerAdded
protected void firstListenerAdded()- Overrides:
firstListenerAdded
in classTreeModelSupport
-
allListenersRemoved
protected void allListenersRemoved()- Overrides:
allListenersRemoved
in classTreeModelSupport
-
treeNodesChanged
- Specified by:
treeNodesChanged
in interfaceTreeModelListener
-
treeNodesInserted
- Specified by:
treeNodesInserted
in interfaceTreeModelListener
-
treeNodesRemoved
- Specified by:
treeNodesRemoved
in interfaceTreeModelListener
-
treeStructureChanged
- Specified by:
treeStructureChanged
in interfaceTreeModelListener
-
dispose
public final void dispose()- Specified by:
dispose
in interfaceDisposable
-
disposeImpl
protected void disposeImpl()
-