Module com.esri.arcgisruntime
Enum Class MgrsGrid.LabelUnit
- All Implemented Interfaces:
Serializable
,Comparable<MgrsGrid.LabelUnit>
,Constable
- Enclosing class:
MgrsGrid
Represents the possible grid label distance units that can be displayed to grid.
X-axis value is calculated from bottom side of grid square and y-axis value is calculated from left side of grid square.
- Since:
- 100.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionLabels are displayed in kilometers or meters based on MapView's scale.Labels are displayed in meters. -
Method Summary
Modifier and TypeMethodDescriptionstatic MgrsGrid.LabelUnit
Returns the enum constant of this class with the specified name.static MgrsGrid.LabelUnit[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
KILOMETERS_METERS
Labels are displayed in kilometers or meters based on MapView's scale.Default labeling format.
- Since:
- 100.0.0
-
METERS
Labels are displayed in meters.- Since:
- 100.0.0
-
-
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
-