|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JvExplorerNode
Interface defining a node of the hierarchial data displayed by a JvExplorer. This node is essentially a JvDynamicTreeNode with
some special features including per-node icons.
JvExplorer,
JvExplorerModel| Method Summary | |
|---|---|
void |
add(MutableTreeNode newChild)
Removes newChild from its parent and makes it a child of
this node by adding it to the end of this node's child array. |
Icon |
getIcon()
Return the node's icon. |
TreeNode[] |
getPath()
Returns the path from the root, to get to this node. |
String |
getPathName()
Return the complete path name of this node from the root. |
JvExplorerModel |
getTreeModel()
Returns the JvExplorerModel containing this node. |
Object |
getUserObject()
Returns this node's user object. |
void |
setIcon(Icon icon)
Set the icon to be displayed for this node. |
| Methods inherited from interface javax.swing.tree.MutableTreeNode |
|---|
insert, remove, remove, removeFromParent, setParent, setUserObject |
| Methods inherited from interface javax.swing.tree.TreeNode |
|---|
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
| Method Detail |
|---|
JvExplorerModel getTreeModel()
JvExplorerModel containing this node.
JvExplorerModel containing this nodeTreeNode[] getPath()
String getPathName()
void add(MutableTreeNode newChild)
newChild from its parent and makes it a child of
this node by adding it to the end of this node's child array.
newChild - node to add as a child of this nodeObject getUserObject()
void setIcon(Icon icon)
icon - the node's iconIcon getIcon()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||