Package gov.nih.mipav.view.dialogs
Class JDialogInstallPlugin.JFileTreeNode
java.lang.Object
gov.nih.mipav.view.dialogs.JDialogInstallPlugin.JFileTreeNode
- All Implemented Interfaces:
TreeNode
- Enclosing class:
JDialogInstallPlugin
A node in the file tree.
- Author:
- senseneyj
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJFileTreeNode(File child) Creates a new file tree node.JFileTreeNode(File file, boolean isFileSystemRoot, TreeNode parent) Creates a new file tree node. -
Method Summary
Modifier and TypeMethodDescriptionEnumeration<? extends TreeNode> children()booleangetChildAt(int childIndex) intgetFile()intprivate booleanisAJavaContainer(File file) Whether file qualifies as being a Java container (this is anything that may include or is a class file).booleanisLeaf()
-
Field Details
-
Constructor Details
-
JFileTreeNode
Creates a new file tree node.- Parameters:
file- Node fileisFileSystemRoot- whether the file is a file system rootparent- parent node
-
JFileTreeNode
Creates a new file tree node.
-
-
Method Details
-
children
-
getFile
-
getAllowsChildren
public boolean getAllowsChildren()- Specified by:
getAllowsChildrenin interfaceTreeNode
-
getChildAt
- Specified by:
getChildAtin interfaceTreeNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCountin interfaceTreeNode
-
getIndex
-
getParent
-
isLeaf
public boolean isLeaf() -
isAJavaContainer
Whether file qualifies as being a Java container (this is anything that may include or is a class file).
-