Class BaseDirectoryChooser

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class BaseDirectoryChooser extends BaseFileChooser
Simple directory chooser based on JFileChooser.
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
  • Constructor Details

    • BaseDirectoryChooser

      public BaseDirectoryChooser()
      Constructs a BaseFileChooser pointing to the user's default directory. This default depends on the operating system. It is typically the "My Documents" folder on Windows, and the user's home directory on Unix.
    • BaseDirectoryChooser

      public BaseDirectoryChooser(String currentDirectoryPath)
      Constructs a BaseFileChooser using the given path. Passing in a null string causes the file chooser to point to the user's default directory. This default depends on the operating system. It is typically the "My Documents" folder on Windows, and the user's home directory on Unix.
      Parameters:
      currentDirectoryPath - a String giving the path to a file or directory
    • BaseDirectoryChooser

      public BaseDirectoryChooser(File currentDirectory)
      Constructs a BaseFileChooser using the given File as the path. Passing in a null file causes the file chooser to point to the user's default directory. This default depends on the operating system. It is typically the "My Documents" folder on Windows, and the user's home directory on Unix.
      Parameters:
      currentDirectory - a File object specifying the path to a file or directory
  • Method Details