Class ViewUserInterface.OpenFileInfo

  • Enclosing class:
    ViewUserInterface

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

      Fields 
      Modifier and Type Field Description
      private java.lang.String directory
      Path to the file (no file name).
      private java.lang.String fileName
      The filename (no path).
      private boolean isMulti
      Whether the file is opened as a multifile image.
      private RawImageInfo rawInfo
      Instructions for opening raw images.
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenFileInfo​(java.lang.String dir, java.lang.String name, boolean isMulti)
      Creates a new OpenFileInfo object.
    • Field Detail

      • directory

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

        private final java.lang.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 Detail

      • OpenFileInfo

        public OpenFileInfo​(java.lang.String dir,
                            java.lang.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 Detail

      • getDirectory

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

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

        public java.lang.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!