Package com.luciad.text.mgrs
Enum Class TLcdMGRSFormat.FormatPrecision
- All Implemented Interfaces:
Serializable
,Comparable<TLcdMGRSFormat.FormatPrecision>
,Constable
- Enclosing class:
TLcdMGRSFormat
The precision of the format.
- Since:
- 2015.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPrecision of 1000 kilometers.Precision of 100 kilometers.Precision of 100 meters.Precision of 10 kilometers.Precision of 10 meters.Precision of 1 kilometer.Precision of 1 meter.Only the UTM zone number and the latitude band letter are formatted. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TLcdMGRSFormat.FormatPrecision[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRECISION_1M
Precision of 1 meter. -
PRECISION_10M
Precision of 10 meters. -
PRECISION_100M
Precision of 100 meters. -
PRECISION_1KM
Precision of 1 kilometer. -
PRECISION_10KM
Precision of 10 kilometers. -
PRECISION_100KM
Precision of 100 kilometers. -
PRECISION_1000KM
Precision of 1000 kilometers. This precision can be used only to format UTM/UPS strings. -
PRECISION_GRID_ZONE
Only the UTM zone number and the latitude band letter are formatted. This precision can be used only to format UTM/UPS strings.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-