Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ij.io
Class ImportDialog

    java.lang.Object
      ij.io.ImportDialog

public class ImportDialog
extends java.lang.Object

This is a dialog box used to imports raw 8, 16, 24 and 32-bit images.

Constructor Summary
`ImportDialog()`
`ImportDialog(java.lang.String fileName, java.lang.String directory)`

Method Summary
`FileInfo` | `getFileInfo()` Displays the dialog and returns a FileInfo object that can be used to open the image.
`void` | `openImage()` Displays the dialog and opens the specified image or images.
`static void` | `savePreferences(java.util.Properties prefs)` Called once when ImageJ quits.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ImportDialog

    public ImportDialog(java.lang.String fileName,
                        java.lang.String directory)

### ImportDialog

    public ImportDialog()

Method Detail

### openImage

    public void openImage()

  Displays the dialog and opens the specified image or images. Does nothing if the dialog is canceled.

### getFileInfo

    public FileInfo 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

    public static void savePreferences(java.util.Properties prefs)

  Called once when ImageJ quits.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD