|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.tree.DefaultMutableTreeNode | +--org.skunk.swing.filechooser.LocalFileChooser.FileNode
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
LocalFileChooser.FileNode(java.io.File f)
|
Method Summary | |
java.util.Enumeration |
children()
|
int |
compareTo(java.lang.Object other)
|
javax.swing.tree.TreeNode |
getChildAt(int index)
|
int |
getChildCount()
|
java.io.File |
getFile()
|
int |
getIndex(javax.swing.tree.TreeNode child)
|
static LocalFileChooser.FileNode |
getRootNode()
|
boolean |
isLeaf()
|
static boolean |
isRoot(java.io.File f)
|
static java.io.File[] |
listRoots()
equivalent to calling File.listRoots(), but retrieves statically cached information. |
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LocalFileChooser.FileNode(java.io.File f)
Method Detail |
public static final boolean isRoot(java.io.File f)
public static java.io.File[] listRoots()
public static LocalFileChooser.FileNode getRootNode()
public int getChildCount()
getChildCount
in class javax.swing.tree.DefaultMutableTreeNode
public boolean isLeaf()
isLeaf
in class javax.swing.tree.DefaultMutableTreeNode
public javax.swing.tree.TreeNode getChildAt(int index)
getChildAt
in class javax.swing.tree.DefaultMutableTreeNode
public int getIndex(javax.swing.tree.TreeNode child)
getIndex
in class javax.swing.tree.DefaultMutableTreeNode
public java.util.Enumeration children()
children
in class javax.swing.tree.DefaultMutableTreeNode
public java.io.File getFile()
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |