Package gov.nih.mipav.view
Class ViewUserInterface.OpenFileInfo
java.lang.Object
gov.nih.mipav.view.ViewUserInterface.OpenFileInfo
- Enclosing class:
ViewUserInterface
Stores file name and switch for multifile.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOpenFileInfo(String dir, String name, boolean isMulti) Creates a new OpenFileInfo object. -
Method Summary
Modifier and TypeMethodDescriptionGet the directory containg the file.Get the file name (no path).Get the full file name (path and file name).DOCUMENT ME!booleanisMulti()Return whether the file should be opened as a multifile image.voidDOCUMENT ME!
-
Field Details
-
directory
Path to the file (no file name). -
fileName
The filename (no path). -
isMulti
private boolean isMultiWhether the file is opened as a multifile image. -
rawInfo
Instructions for opening raw images.
-
-
Constructor Details
-
OpenFileInfo
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
Get the directory containg the file.- Returns:
- The directory containg the file
-
getFileName
Get the file name (no path).- Returns:
- The file name (no path).
-
getFullFileName
Get the full file name (path and file name).- Returns:
- The full file name (path and file name).
-
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
DOCUMENT ME!- Parameters:
rI- DOCUMENT ME!
-