SaveDialog
ij.io

Class SaveDialog



  • public class SaveDialogextends Object
    This class displays a dialog window from which the user can save a file.
    • Constructor Detail

      • SaveDialog

        public SaveDialog(String title,          String defaultName,          String extension)
        Displays a file save dialog with 'title' as the title, 'defaultName' as the initial file name, and 'extension' (e.g. ".tif") as the default extension.
      • SaveDialog

        public SaveDialog(String title,          String defaultDir,          String defaultName,          String extension)
        Displays a file save dialog, using the specified default directory and file name and extension.
    • Method Detail

      • getDirectory

        public String getDirectory()
        Returns the selected directory.
      • getFileName

        public String getFileName()
        Returns the selected file name.

SCaVis 1.7 © jWork.org