All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.hdf.jhv.RemoteFileDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----ncsa.hdf.jhv.RemoteFileDialog
- public class RemoteFileDialog
- extends Dialog
The RemoteFileDialog class displays a dialog window
from which the user can select a file from remote machine.
Since it is a modal dialog, when the application calls its
show method to display the dialog, it blocks the rest of the
application until the user has chosen a file.
- Version:
- 1.1.3 October 15 1997
- Author:
- Peter X. Cao
-
RemoteFileDialog(Frame, String, String, int, Image, Image, Image)
-
-
addTreeNode(HDFTree, FileTreeNode)
- add a node and all the subnodes to the tree
-
getFile()
- Gets the selected file of this file dialog.
-
getFiles(FileTreeNode, String)
-
-
getParentFrame()
- return the parent frame of the dialog.
-
init(String)
- initialize the tree
-
printTree(FileTreeNode, String)
- printout the tree for degub purpose
-
setFile(String)
- Sets the selected file
RemoteFileDialog
public RemoteFileDialog(Frame parent,
String title,
String host,
int port,
Image expandedImg,
Image collapsedImg,
Image fileImg)
init
public void init(String path)
- initialize the tree
printTree
public void printTree(FileTreeNode node,
String indent)
- printout the tree for degub purpose
getFile
public String getFile()
- Gets the selected file of this file dialog.
getParentFrame
public Frame getParentFrame()
- return the parent frame of the dialog.
setFile
public synchronized void setFile(String file)
- Sets the selected file
- Parameters:
- file - the file being set.
addTreeNode
public void addTreeNode(HDFTree tree,
FileTreeNode node)
- add a node and all the subnodes to the tree
- Parameters:
- tree - the HDFTree
- node - The FileTreeNode
getFiles
public void getFiles(FileTreeNode parent,
String path)
All Packages Class Hierarchy This Package Previous Next Index