|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
com.jiexplorer.gui.tree.JITreeNode
public class JITreeNode
| Field Summary |
|---|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
JITreeNode(java.io.File file)
|
|
| Method Summary | |
|---|---|
void |
explore()
|
boolean |
getAllowsChildren()
|
java.io.File |
getFile()
|
long |
getSize()
Gets size of this file object. |
boolean |
isDirectory()
|
boolean |
isExplored()
|
boolean |
isLeaf()
|
boolean |
isRoot()
|
void |
refresh()
|
void |
setRoot(boolean root)
|
java.lang.String |
toString()
|
| Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getChildAfter, getChildAt, getChildBefore, getChildCount, 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, 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 |
| Constructor Detail |
|---|
public JITreeNode(java.io.File file)
| Method Detail |
|---|
public boolean getAllowsChildren()
getAllowsChildren in interface javax.swing.tree.TreeNodegetAllowsChildren in class javax.swing.tree.DefaultMutableTreeNodepublic boolean isLeaf()
isLeaf in interface javax.swing.tree.TreeNodeisLeaf in class javax.swing.tree.DefaultMutableTreeNodepublic java.io.File getFile()
public boolean isExplored()
public boolean isDirectory()
public void refresh()
public void explore()
public java.lang.String toString()
toString in class javax.swing.tree.DefaultMutableTreeNodepublic long getSize()
public final boolean isRoot()
isRoot in class javax.swing.tree.DefaultMutableTreeNodepublic final void setRoot(boolean root)
root - the root to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||