|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Correction.Rotation>
net.talvi.puffinplot.data.Correction.Rotation
public static enum Correction.Rotation
An enumeration of the types of rotation correction which may be applied to a sample's data.
Enum Constant Summary | |
---|---|
FORMATION
data rotated to correct for sample and formation orientation |
|
NONE
no rotation applied to data |
|
SAMPLE
data rotated to correct for sample orientation |
Method Summary | |
---|---|
java.lang.String |
getNiceName()
Returns a user-friendly name for this rotation correction. |
static Correction.Rotation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Correction.Rotation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Correction.Rotation NONE
public static final Correction.Rotation SAMPLE
public static final Correction.Rotation FORMATION
Method Detail |
---|
public static Correction.Rotation[] values()
for (Correction.Rotation c : Correction.Rotation.values()) System.out.println(c);
public static Correction.Rotation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getNiceName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |