org.sourcejammer.client.gui.dialog
Class FileSystemRootNode

java.lang.Object
  |
  +--javax.swing.tree.DefaultMutableTreeNode
        |
        +--org.sourcejammer.client.gui.dialog.FileNode
              |
              +--org.sourcejammer.client.gui.dialog.FileSystemRootNode
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class FileSystemRootNode
extends FileNode

Title: SourceJammer v 0.1.0 Description: Copyright: Copyright (c) 2001 Company:

Version:
$Revision: 1.3 $
Author:
Robert MacGrogan
See Also:
Serialized Form

Field Summary
(package private)  boolean mbShowFiles
           
 
Fields inherited from class org.sourcejammer.client.gui.dialog.FileNode
fileList, vecAllChildren
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
FileSystemRootNode(boolean bShowFiles, boolean bShowHidden)
           
 
Method Summary
 void explore()
           
 boolean getAllowsChildren()
           
 java.io.File getFile()
           
 boolean isDirectory()
           
 boolean isLeaf()
           
 void refreshDisplay()
           
 java.lang.String toString()
           
 
Methods inherited from class org.sourcejammer.client.gui.dialog.FileNode
getFileList, hideHidden, isExplored, isShowHidden, setExplored, setShowHidden, showHidden
 
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
 

Field Detail

mbShowFiles

boolean mbShowFiles
Constructor Detail

FileSystemRootNode

public FileSystemRootNode(boolean bShowFiles,
                          boolean bShowHidden)
Method Detail

getAllowsChildren

public boolean getAllowsChildren()
Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode
Overrides:
getAllowsChildren in class FileNode

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface javax.swing.tree.TreeNode
Overrides:
isLeaf in class FileNode

toString

public java.lang.String toString()
Overrides:
toString in class FileNode

getFile

public java.io.File getFile()
Overrides:
getFile in class FileNode

isDirectory

public boolean isDirectory()
Overrides:
isDirectory in class FileNode

explore

public void explore()
Overrides:
explore in class FileNode

refreshDisplay

public void refreshDisplay()
Overrides:
refreshDisplay in class FileNode


Copyright 2003 Soucejammer project.