Enum Class GridLineLabelPosition

java.lang.Object
java.lang.Enum<GridLineLabelPosition>
com.luciad.layers.grids.labels.GridLineLabelPosition
All Implemented Interfaces:
Serializable, Comparable<GridLineLabelPosition>, Constable

public enum GridLineLabelPosition extends Enum<GridLineLabelPosition>
Defines where the line labels should be positioned with respect to the grid line.
Since:
2023.1
  • Enum Constant Details

    • AboveOrLeft

      public static final GridLineLabelPosition AboveOrLeft
      Positions the line label above or to the left of the grid line.
    • Center

      public static final GridLineLabelPosition Center
      Positions the line labels centered on the grid line.
    • BelowOrRight

      public static final GridLineLabelPosition BelowOrRight
      Positions the line label below or to the right of the grid line.
    • AboveOrRight

      public static final GridLineLabelPosition AboveOrRight
      Positions the line label above or to the right of the grid line.
    • BelowOrLeft

      public static final GridLineLabelPosition BelowOrLeft
      Positions the line label below or to the left of the grid line.
  • Method Details

    • values

      public static GridLineLabelPosition[] 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 GridLineLabelPosition 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