Class ViewUserInterface.OpenFileInfo

java.lang.Object
gov.nih.mipav.view.ViewUserInterface.OpenFileInfo
Enclosing class:
ViewUserInterface

private class ViewUserInterface.OpenFileInfo extends Object
Stores file name and switch for multifile.
  • Field Details

    • directory

      private final String directory
      Path to the file (no file name).
    • fileName

      private final String fileName
      The filename (no path).
    • isMulti

      private boolean isMulti
      Whether the file is opened as a multifile image.
    • rawInfo

      private RawImageInfo rawInfo
      Instructions for opening raw images.
  • Constructor Details

    • OpenFileInfo

      public OpenFileInfo(String dir, String name, boolean isMulti)
      Creates a new OpenFileInfo object.
      Parameters:
      dir - The directory the file is located in.
      name - The file name (no path).
      isMulti - Whether the file is opened as a multifile image.
  • Method Details

    • getDirectory

      public String getDirectory()
      Get the directory containg the file.
      Returns:
      The directory containg the file
    • getFileName

      public String getFileName()
      Get the file name (no path).
      Returns:
      The file name (no path).
    • getFullFileName

      public String getFullFileName()
      Get the full file name (path and file name).
      Returns:
      The full file name (path and file name).
    • getRawImageInfo

      public RawImageInfo getRawImageInfo()
      DOCUMENT ME!
      Returns:
      DOCUMENT ME!
    • isMulti

      public boolean isMulti()
      Return whether the file should be opened as a multifile image.
      Returns:
      Whether the file should be opened as a multifile image.
    • setRawImageInfo

      public void setRawImageInfo(RawImageInfo rI)
      DOCUMENT ME!
      Parameters:
      rI - DOCUMENT ME!