org.jdesktop.swing.treetable
Class FileNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byorg.jdesktop.swing.treetable.FileNode
All Implemented Interfaces:
Cloneable, MutableTreeNode, Serializable, 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()

getChildren

protected List getChildren()

getFile

public File getFile()

isLeaf

public boolean isLeaf()

toString

public String toString()


Copyright 2004 by Sun Microsystems, Inc. All Rights Reserved.