Package gov.nih.mipav.model.file
Enum FileInfoBase.ImageOrientation
- java.lang.Object
-
- java.lang.Enum<FileInfoBase.ImageOrientation>
-
- gov.nih.mipav.model.file.FileInfoBase.ImageOrientation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FileInfoBase.ImageOrientation>
- Enclosing class:
- FileInfoBase
public static enum FileInfoBase.ImageOrientation extends java.lang.Enum<FileInfoBase.ImageOrientation>
-
-
Field Summary
Fields Modifier and Type Field Description private int
legacyNum
private FileInfoBase.AxisOrientation
xAxis
private FileInfoBase.AxisOrientation
yAxis
private FileInfoBase.AxisOrientation
zAxis
-
Constructor Summary
Constructors Modifier Constructor Description private
ImageOrientation(int legacyNum, FileInfoBase.AxisOrientation xAxis, FileInfoBase.AxisOrientation yAxis, FileInfoBase.AxisOrientation zAxis)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLegacyNum()
FileInfoBase.AxisOrientation
getXOrient()
FileInfoBase.AxisOrientation
getYOrient()
FileInfoBase.AxisOrientation
getZOrient()
static FileInfoBase.ImageOrientation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FileInfoBase.ImageOrientation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AXIAL
public static final FileInfoBase.ImageOrientation AXIAL
-
CORONAL
public static final FileInfoBase.ImageOrientation CORONAL
-
SAGITTAL
public static final FileInfoBase.ImageOrientation SAGITTAL
-
UNKNOWN
public static final FileInfoBase.ImageOrientation UNKNOWN
-
-
Field Detail
-
legacyNum
private int legacyNum
-
xAxis
private FileInfoBase.AxisOrientation xAxis
-
yAxis
private FileInfoBase.AxisOrientation yAxis
-
zAxis
private FileInfoBase.AxisOrientation zAxis
-
-
Constructor Detail
-
ImageOrientation
private ImageOrientation(int legacyNum, FileInfoBase.AxisOrientation xAxis, FileInfoBase.AxisOrientation yAxis, FileInfoBase.AxisOrientation zAxis)
-
-
Method Detail
-
values
public static FileInfoBase.ImageOrientation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FileInfoBase.ImageOrientation c : FileInfoBase.ImageOrientation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileInfoBase.ImageOrientation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getLegacyNum
public int getLegacyNum()
-
getXOrient
public FileInfoBase.AxisOrientation getXOrient()
-
getYOrient
public FileInfoBase.AxisOrientation getYOrient()
-
getZOrient
public FileInfoBase.AxisOrientation getZOrient()
-
-