Package gov.nih.mipav.model.file
Enum FileInfoBase.AxisOrientation
- java.lang.Object
-
- java.lang.Enum<FileInfoBase.AxisOrientation>
-
- gov.nih.mipav.model.file.FileInfoBase.AxisOrientation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FileInfoBase.AxisOrientation>
- Enclosing class:
- FileInfoBase
public static enum FileInfoBase.AxisOrientation extends java.lang.Enum<FileInfoBase.AxisOrientation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ORI_A2P_TYPE
Axis orientation Anterior to Posterior.ORI_I2S_TYPE
Axis orientation Inferior to Superior.ORI_L2R_TYPE
Axis orientation Left to Right.ORI_P2A_TYPE
Axis orientation Posterior to Anterior.ORI_R2L_TYPE
Axis orientation Right to Left.ORI_S2I_TYPE
Axis orientation Superior to Inferior.ORI_UNKNOWN_TYPE
Axis orientation unknown.
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
dispString
private int
legacyNum
-
Constructor Summary
Constructors Modifier Constructor Description private
AxisOrientation(int legacyNum, java.lang.String dispString)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLegacyNum()
java.lang.String
toString()
static FileInfoBase.AxisOrientation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FileInfoBase.AxisOrientation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORI_UNKNOWN_TYPE
public static final FileInfoBase.AxisOrientation ORI_UNKNOWN_TYPE
Axis orientation unknown.
-
ORI_R2L_TYPE
public static final FileInfoBase.AxisOrientation ORI_R2L_TYPE
Axis orientation Right to Left.
-
ORI_L2R_TYPE
public static final FileInfoBase.AxisOrientation ORI_L2R_TYPE
Axis orientation Left to Right.
-
ORI_P2A_TYPE
public static final FileInfoBase.AxisOrientation ORI_P2A_TYPE
Axis orientation Posterior to Anterior.
-
ORI_A2P_TYPE
public static final FileInfoBase.AxisOrientation ORI_A2P_TYPE
Axis orientation Anterior to Posterior.
-
ORI_I2S_TYPE
public static final FileInfoBase.AxisOrientation ORI_I2S_TYPE
Axis orientation Inferior to Superior.
-
ORI_S2I_TYPE
public static final FileInfoBase.AxisOrientation ORI_S2I_TYPE
Axis orientation Superior to Inferior.
-
-
Method Detail
-
values
public static FileInfoBase.AxisOrientation[] 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.AxisOrientation c : FileInfoBase.AxisOrientation.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.AxisOrientation 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<FileInfoBase.AxisOrientation>
-
getLegacyNum
public int getLegacyNum()
-
-