|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NADistanceUnit> com.esri.core.tasks.ags.na.NADistanceUnit
public enum NADistanceUnit
The enumeration types of distance unit.
Enum Constant Summary | |
---|---|
CENTIMETERS
Centimeters |
|
DECIMAL_DEGREES
decimal degrees |
|
DECIMETERS
decimeters |
|
FEET
feet |
|
INCHES
inches |
|
KILOMETERS
kilometers |
|
METERS
meters |
|
MILES
miles |
|
MILLIMETERS
Millimeters |
|
NAUTICAL_MILES
Nautical Miles |
|
POINTS
points |
|
SERVER_DEFAULT
default |
|
UNKNOWN
Unknown units |
|
YARDS
Yards |
Method Summary | |
---|---|
static NADistanceUnit |
get(String str)
|
String |
toString()
|
static NADistanceUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NADistanceUnit[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final NADistanceUnit UNKNOWN
public static final NADistanceUnit CENTIMETERS
public static final NADistanceUnit DECIMAL_DEGREES
public static final NADistanceUnit DECIMETERS
public static final NADistanceUnit FEET
public static final NADistanceUnit INCHES
public static final NADistanceUnit KILOMETERS
public static final NADistanceUnit METERS
public static final NADistanceUnit MILES
public static final NADistanceUnit MILLIMETERS
public static final NADistanceUnit NAUTICAL_MILES
public static final NADistanceUnit POINTS
public static final NADistanceUnit YARDS
public static final NADistanceUnit SERVER_DEFAULT
Method Detail |
---|
public static NADistanceUnit[] values()
for (NADistanceUnit c : NADistanceUnit.values()) System.out.println(c);
public static NADistanceUnit valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<NADistanceUnit>
public static NADistanceUnit get(String str)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |