Package ij.io
Class ImportDialog
java.lang.Object
ij.io.ImportDialog
This is a dialog box used to imports raw 8, 16, 24 and 32-bit images.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDisplays the dialog and returns a FileInfo object that can be used to open the image.static FileInfo
Returns the FileInfo object used to import the last raw image, or null if a raw image has not been imported.void
Displays the dialog and opens the specified image or images.static void
savePreferences
(Properties prefs) Called once when ImageJ quits.
-
Constructor Details
-
ImportDialog
-
ImportDialog
public ImportDialog()
-
-
Method Details
-
openImage
public void openImage()Displays the dialog and opens the specified image or images. Does nothing if the dialog is canceled. -
getFileInfo
Displays the dialog and returns a FileInfo object that can be used to open the image. Returns null if the dialog is canceled. The fileName and directory fields are null if the no argument constructor was used. -
savePreferences
Called once when ImageJ quits. -
getLastFileInfo
Returns the FileInfo object used to import the last raw image, or null if a raw image has not been imported.
-