Enum Class UsngGrid.LabelUnit

java.lang.Object
java.lang.Enum<UsngGrid.LabelUnit>
com.esri.arcgisruntime.mapping.view.UsngGrid.LabelUnit
All Implemented Interfaces:
Serializable, Comparable<UsngGrid.LabelUnit>, Constable
Enclosing class:
UsngGrid

public static enum UsngGrid.LabelUnit extends Enum<UsngGrid.LabelUnit>
Represents possible grid label distance units that can be displayed to the 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
  • Enum Constant Details

    • KILOMETERS_METERS

      public static final UsngGrid.LabelUnit KILOMETERS_METERS
      Labels are displayed in kilometers or meters based on MapView's scale.

      Default labeling format.

      Since:
      100.0.0
    • METERS

      public static final UsngGrid.LabelUnit METERS
      Labels are displayed in meters.
      Since:
      100.0.0
  • Method Details

    • values

      public static UsngGrid.LabelUnit[] 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

      public static UsngGrid.LabelUnit valueOf(String name)
      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 name
      NullPointerException - if the argument is null