org.mbari.swing.tree
Class FileSystemNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byorg.mbari.swing.tree.FileSystemNode
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode
Direct Known Subclasses:
DirNode, FileNode

public abstract class FileSystemNode
extends javax.swing.tree.DefaultMutableTreeNode

Reprents a File or directory node in a tree. To create a tree of just directories use the DirNode class. For a tree of files and directories use FileNode.



MBARI provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of the Monterey Bay Aquarium Research Institute to assist in its use, correction, modification, or enhancement. This information should not be published or distributed to third parties without specific written permission from MBARI.


Copyright 2002 MBARI.
MBARI Proprietary Information. All rights reserved.


$Log: FileSystemNode.java,v $ Revision 1.1.1.1 2002/07/02 22:07:12 brian refresh import Revision 1.4 2002/01/30 00:23:56 brian Added comments to all classes and methods. Tested the accuracy of AsciiRasterGridReader and AsciiRasterGridWriter. Also checked the the GridUtil was populating the spatial grids correctly and accurately. The data files generated matched up perfectly with the orginal text files. Also implemented an RovAltitudeFilter class to encapsulate different filtering methods.


Version:
: $Revision: 1.1.1.1 $
Author:
: $Author: brian $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
FileSystemNode(java.io.File file)
           
 
Method Summary
abstract  void explore()
           
 boolean getAllowsChildren()
           
 java.io.File getFile()
           
 boolean isDirectory()
           
 boolean isExplored()
           
 boolean isLeaf()
           
 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, 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

FileSystemNode

public FileSystemNode(java.io.File file)
Method Detail

getAllowsChildren

public boolean getAllowsChildren()

isLeaf

public boolean isLeaf()

getFile

public java.io.File getFile()

isExplored

public boolean isExplored()

isDirectory

public boolean isDirectory()

toString

public java.lang.String toString()

explore

public abstract void explore()