swingx
Version 2005-08-19

org.jdesktop.swingx.treetable
Class FileNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.jdesktop.swingx.treetable.FileNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode

public class FileNode
extends DefaultMutableTreeNode

FileNode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
FileNode(File file)
           
 
Method Summary
 boolean getAllowsChildren()
           
protected  List getChildren()
           
 File getFile()
           
 boolean isLeaf()
           
 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, 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
 

Constructor Detail

FileNode

public FileNode(File file)
Method Detail

getAllowsChildren

public boolean getAllowsChildren()
Specified by:
getAllowsChildren in interface TreeNode
Overrides:
getAllowsChildren in class DefaultMutableTreeNode

getChildren

protected List getChildren()

getFile

public File getFile()

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface TreeNode
Overrides:
isLeaf in class DefaultMutableTreeNode

toString

public String toString()
Overrides:
toString in class DefaultMutableTreeNode

swingx
Version 2005-08-19