Class ViewDirectoryChooser

java.lang.Object
gov.nih.mipav.view.ViewDirectoryChooser

public class ViewDirectoryChooser extends Object
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 Details

  • Constructor Details

    • ViewDirectoryChooser

      public ViewDirectoryChooser()
      Creates a dialog for choosing a directory.
    • ViewDirectoryChooser

      public ViewDirectoryChooser(Component parent)
      Creates a dialog for choosing a directory with a parent frame.
      Parameters:
      parent - Parent frame.
  • Method Details

    • chooseDirectory

      public String chooseDirectory(String initialDirectory)
      Shows the file dialogs with the given directory as the default.
      Parameters:
      initialDirectory - Initial directory.
      Returns:
      Directory chosen by user.
    • getDirectory

      public String getDirectory()
      Displays a dialog to select a directory, with the script directory as the default.
      Returns:
      Directory chosen by user.
    • getImageDirectory

      public String getImageDirectory()
      Displays a dialog to select a directory, with the image directory as the default.
      Returns:
      Directory chosen by user.