Documentation of 'ij.io.SaveDialog' Java class
SaveDialog
ij.io

Class SaveDialog



  • public class SaveDialog
    extends java.lang.Object
    This class displays a dialog window from which the user can save a file.
    • Constructor Summary

      Constructors 
      Constructor and Description
      SaveDialog(java.lang.String title, java.lang.String defaultName, java.lang.String extension)
      Displays a file save dialog with 'title' as the title, 'defaultName' as the initial file name, and 'extension' (e.g.
      SaveDialog(java.lang.String title, java.lang.String defaultDir, java.lang.String defaultName, java.lang.String extension)
      Displays a file save dialog, using the specified default directory and file name and extension.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getDirectory()
      Returns the selected directory.
      java.lang.String getFileName()
      Returns the selected file name.
      static java.lang.String setExtension(java.lang.String name, java.lang.String extension) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SaveDialog

        public SaveDialog(java.lang.String title,
                          java.lang.String defaultName,
                          java.lang.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(java.lang.String title,
                          java.lang.String defaultDir,
                          java.lang.String defaultName,
                          java.lang.String extension)
        Displays a file save dialog, using the specified default directory and file name and extension.
    • Method Detail

      • setExtension

        public static java.lang.String setExtension(java.lang.String name,
                                                    java.lang.String extension)
      • getDirectory

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

        public java.lang.String getFileName()
        Returns the selected file name.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.