|
Java 2 Platform v1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.tree.DefaultMutableTreeNode | +--edu.umich.visualsoar.dialogs.DirectoryNode
Nested Class Summary |
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode |
|
Field Summary | |
private static edu.umich.visualsoar.dialogs.DirectoryFilter |
directoryFilter
|
private boolean |
explored
|
private java.lang.String |
name
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
DirectoryNode(java.io.File inFile)
assumptions: the File Passed in must be a directory |
Method Summary | |
int |
compareTo(java.lang.Object o)
|
void |
explore()
|
boolean |
getAllowsChildren()
|
int |
getChildCount()
|
java.io.File |
getDirectory()
|
boolean |
isExplored()
|
boolean |
isLeaf()
|
java.lang.String |
toString()
|
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getChildAfter, getChildAt, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, 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 |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static edu.umich.visualsoar.dialogs.DirectoryFilter directoryFilter
private boolean explored
private java.lang.String name
Constructor Detail |
public DirectoryNode(java.io.File inFile)
Method Detail |
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
getAllowsChildren
in class javax.swing.tree.DefaultMutableTreeNode
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
isLeaf
in class javax.swing.tree.DefaultMutableTreeNode
public java.io.File getDirectory()
public boolean isExplored()
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
getChildCount
in class javax.swing.tree.DefaultMutableTreeNode
public void explore()
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
Java 2 Platform v1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |