public class DirectoryNode extends FileSystemNode
Node.Action, Node.ActionListener
Modifier and Type | Field and Description |
---|---|
protected static java.text.Collator |
COLLATOR |
file
Constructor and Description |
---|
DirectoryNode(java.io.File dir) |
DirectoryNode(java.io.File dir,
boolean showFiles) |
DirectoryNode(java.io.File dir,
boolean showFiles,
java.lang.String displayName) |
Modifier and Type | Method and Description |
---|---|
void |
doubleClicked() |
protected boolean |
isGzip(java.io.File file) |
boolean |
isLeaf() |
protected Node[] |
loadChildren() |
getIcon, getName, getName, showPopupMenu
getChildren, refresh
public DirectoryNode(java.io.File dir)
public DirectoryNode(java.io.File dir, boolean showFiles)
public DirectoryNode(java.io.File dir, boolean showFiles, java.lang.String displayName)
public boolean isLeaf()
isLeaf
in interface Node
isLeaf
in class FileSystemNode
public void doubleClicked()
doubleClicked
in interface Node
doubleClicked
in class FileSystemNode
protected Node[] loadChildren()
loadChildren
in class FileSystemNode
protected boolean isGzip(java.io.File file)