|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultTreeModel org.openide.explorer.view.NodeTreeModel
Model for displaying the nodes in tree.
Field Summary |
Fields inherited from class javax.swing.tree.DefaultTreeModel |
asksAllowsChildren, listenerList, root |
Constructor Summary | |
NodeTreeModel()
Creates new NodeTreeModel |
|
NodeTreeModel(Node root)
Creates new NodeTreeModel |
Method Summary | |
void |
setNode(Node root)
Changes the root of the model. |
void |
valueForPathChanged(TreePath path,
Object newValue)
This sets the user object of the TreeNode identified by path and posts a node changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeTreeModel()
public NodeTreeModel(Node root)
root
- the root of the modelMethod Detail |
public void setNode(Node root)
root
- the root of the modelpublic void valueForPathChanged(TreePath path, Object newValue)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |