Package gov.nih.mipav.view
Class ViewDirectoryChooser
java.lang.Object
gov.nih.mipav.view.ViewDirectoryChooser
THIS CLASS IS MOST LIKELY TO BE DESTROYED!!!!!!!!!!
Displays a chooser for selecting a directory.
- Version:
- 0.1 Dec. 6, 2001
- Author:
- Lynne Pusanik
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringDOCUMENT ME!private ComponentDOCUMENT ME!private ViewUserInterfaceDOCUMENT ME! -
Constructor Summary
ConstructorsConstructorDescriptionCreates a dialog for choosing a directory.ViewDirectoryChooser(Component parent) Creates a dialog for choosing a directory with a parent frame. -
Method Summary
Modifier and TypeMethodDescriptionchooseDirectory(String initialDirectory) Shows the file dialogs with the given directory as the default.Displays a dialog to select a directory, with the script directory as the default.Displays a dialog to select a directory, with the image directory as the default.
-
Field Details
-
directory
DOCUMENT ME! -
parentFrame
DOCUMENT ME! -
UI
DOCUMENT ME!
-
-
Constructor Details
-
ViewDirectoryChooser
public ViewDirectoryChooser()Creates a dialog for choosing a directory. -
ViewDirectoryChooser
Creates a dialog for choosing a directory with a parent frame.- Parameters:
parent- Parent frame.
-
-
Method Details
-
chooseDirectory
Shows the file dialogs with the given directory as the default.- Parameters:
initialDirectory- Initial directory.- Returns:
- Directory chosen by user.
-
getDirectory
Displays a dialog to select a directory, with the script directory as the default.- Returns:
- Directory chosen by user.
-
getImageDirectory
Displays a dialog to select a directory, with the image directory as the default.- Returns:
- Directory chosen by user.
-