|
org.openide.explorer 6.5.22 1 | |||||||||
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
public class 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)
valueForPathChanged
in interface TreeModel
valueForPathChanged
in class DefaultTreeModel
|
org.openide.explorer 6.5.22 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |