All Known Implementing Classes:
TethysUICoreFileSelector

public interface TethysUIFileSelector
File Selector.
  • Method Details

    • setTitle

      void setTitle(String pTitle)
      Set the title.
      Parameters:
      pTitle - the title
    • setInitialDirectory

      void setInitialDirectory(File pDir)
      Set the initial directory.
      Parameters:
      pDir - the directory
    • setInitialFileName

      void setInitialFileName(String pName)
      Set the initial file name.
      Parameters:
      pName - the name
    • setInitialFile

      void setInitialFile(File pFile)
      Set the initial file.
      Parameters:
      pFile - the file
    • addExtension

      void addExtension(String pExt)
      Add an extension.
      Parameters:
      pExt - the extension
    • setFilterName

      void setFilterName(String pName)
      Set filter name.
      Parameters:
      pName - the name of the filter
    • setUseSave

      void setUseSave(boolean pSave)
      Use save rather than open.
      Parameters:
      pSave - true/false
    • selectFile

      File selectFile()
      Select file via dialog.
      Returns:
      the selected file or null.