org.jscience.io
Class DirectoryTreeNode

java.lang.Object
  extended by org.jscience.io.FileTreeNode
      extended by org.jscience.io.DirectoryTreeNode
All Implemented Interfaces:
java.io.Serializable, javax.swing.tree.TreeNode

public class DirectoryTreeNode
extends FileTreeNode

DirectoryTreeNode implements a TreeNode that can be used to visualize a directory structure. Only directories are visible.

See Also:
FileTreeNode, JTree, DefaultTreeModel, Serialized Form

Constructor Summary
DirectoryTreeNode(java.io.File dir)
          initializes the DirectoryTreeNode with the given directory
 
Method Summary
 
Methods inherited from class org.jscience.io.FileTreeNode
children, equals, getAllowsChildren, getChildAt, getChildCount, getFile, getFilter, getIndex, getParent, isLeaf, refresh, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectoryTreeNode

public DirectoryTreeNode(java.io.File dir)
initializes the DirectoryTreeNode with the given directory

Parameters:
dir - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!