public abstract class BaseTreeModel<T> extends AbstractTreeModel implements ChildrenProvider<T>
Disposable.Parent
disposed, listeners
Constructor and Description |
---|
BaseTreeModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getChild(java.lang.Object object,
int index) |
int |
getChildCount(java.lang.Object object) |
int |
getIndexOfChild(java.lang.Object object,
java.lang.Object child) |
boolean |
isLeaf(java.lang.Object object) |
addTreeModelListener, dispose, removeTreeModelListener, treeNodesChanged, treeNodesInserted, treeNodesRemoved, treeStructureChanged, valueForPathChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren
public boolean isLeaf(java.lang.Object object)
isLeaf
in interface javax.swing.tree.TreeModel
public int getChildCount(java.lang.Object object)
getChildCount
in interface javax.swing.tree.TreeModel
public java.lang.Object getChild(java.lang.Object object, int index)
getChild
in interface javax.swing.tree.TreeModel
public int getIndexOfChild(java.lang.Object object, java.lang.Object child)
getIndexOfChild
in interface javax.swing.tree.TreeModel