Package com.esri.arcgisruntime.geometry
Enum CoordinateFormatter.GarsConversionMode
- java.lang.Object
-
- java.lang.Enum<CoordinateFormatter.GarsConversionMode>
-
- com.esri.arcgisruntime.geometry.CoordinateFormatter.GarsConversionMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CoordinateFormatter.GarsConversionMode>
- Enclosing class:
- CoordinateFormatter
public static enum CoordinateFormatter.GarsConversionMode extends java.lang.Enum<CoordinateFormatter.GarsConversionMode>
Indicates the location of a point relative to a Global Area Reference System (GARS) cell.- Since:
- 100.1.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CENTER
Represents a Global Area Reference System (GARS) cell by the coordinate of its center.LOWER_LEFT
Represents a Global Area Reference System (GARS) cell by the coordinate of its south-west corner.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CoordinateFormatter.GarsConversionMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CoordinateFormatter.GarsConversionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOWER_LEFT
public static final CoordinateFormatter.GarsConversionMode LOWER_LEFT
Represents a Global Area Reference System (GARS) cell by the coordinate of its south-west corner.- Since:
- 100.1.0
-
CENTER
public static final CoordinateFormatter.GarsConversionMode CENTER
Represents a Global Area Reference System (GARS) cell by the coordinate of its center.- Since:
- 100.1.0
-
-
Method Detail
-
values
public static CoordinateFormatter.GarsConversionMode[] 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 (CoordinateFormatter.GarsConversionMode c : CoordinateFormatter.GarsConversionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoordinateFormatter.GarsConversionMode 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
-
-