public class DirectoryNode extends TreeNode
| Constructor and Description |
|---|
DirectoryNode(Directory directory) |
| Modifier and Type | Method and Description |
|---|---|
Enumeration |
children() |
TreeNode |
getChildAt(int childIndex) |
int |
getChildCount() |
int |
getIndex(TreeNode node) |
void |
sortChildren(Comparator<TreeNode> sort) |
add, getAllowsChildren, getNextInThread, getParent, getPrevInThread, getTreePath, getUserObject, getUserObjectIndex, insert, isLeaf, remove, remove, removeFromParent, set, setAllowsChildren, setParent, setUserObject, toStringpublic DirectoryNode(Directory directory)
public Enumeration children()
public TreeNode getChildAt(int childIndex)
getChildAt in interface TreeNodegetChildAt in class TreeNodepublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class TreeNodepublic int getIndex(TreeNode node)
public void sortChildren(Comparator<TreeNode> sort)
sortChildren in class TreeNodeCopyright © 2017. All rights reserved.