public static enum Options.Unit extends java.lang.Enum<Options.Unit>
Enum Constant and Description |
---|
FEET_AGL |
FEET_DIP |
FPS |
GR_DIP |
GR_PLANNED |
GR_REF_DEST |
GR_REF_PLANNED |
KILOMETERS |
KILOMETERS_PER_HOUR |
KNOTS |
LAT_LON |
MAGNETIC_NORTH |
MGRS |
MILES |
MILES_PER_HOUR |
NAUTICAL_MILES |
UNITLESS |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
displayName() |
static Options.Unit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Options.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Options.Unit KILOMETERS
public static final Options.Unit MILES
public static final Options.Unit NAUTICAL_MILES
public static final Options.Unit MILES_PER_HOUR
public static final Options.Unit KILOMETERS_PER_HOUR
public static final Options.Unit KNOTS
public static final Options.Unit FPS
public static final Options.Unit MAGNETIC_NORTH
public static final Options.Unit FEET_DIP
public static final Options.Unit FEET_AGL
public static final Options.Unit MGRS
public static final Options.Unit LAT_LON
public static final Options.Unit GR_PLANNED
public static final Options.Unit GR_DIP
public static final Options.Unit GR_REF_PLANNED
public static final Options.Unit GR_REF_DEST
public static final Options.Unit UNITLESS
public static Options.Unit[] values()
for (Options.Unit c : Options.Unit.values()) System.out.println(c);
public static Options.Unit 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String displayName()