Package gov.nih.mipav.view
Class ViewUserInterface.OpenFileInfo
- java.lang.Object
-
- gov.nih.mipav.view.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDirectory()
Get the directory containg the file.java.lang.String
getFileName()
Get the file name (no path).java.lang.String
getFullFileName()
Get the full file name (path and file name).RawImageInfo
getRawImageInfo()
DOCUMENT ME!boolean
isMulti()
Return whether the file should be opened as a multifile image.void
setRawImageInfo(RawImageInfo rI)
DOCUMENT ME!
-
-
-
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.
-
-
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!
-
-