Enum Class LonLatGridLabelPosition

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

public enum LonLatGridLabelPosition extends Enum<LonLatGridLabelPosition>
Defines the position of LonLat grid line labels with respect to the view.

They can for example be placed at the left or at the right edge of the view. For example, when a label is placed at the west or south side of a line, it will be placed at the left or lower edge of the view when using a rectangular projection like Mercator.

Since:
2023.1
  • Enum Constant Details

    • EastAndSouth

      public static final LonLatGridLabelPosition EastAndSouth
      Places the line label at the east or south side of the parallel or meridian.
    • EastAndNorth

      public static final LonLatGridLabelPosition EastAndNorth
      Places the line label at the east or north side of the parallel or meridian.
    • WestAndSouth

      public static final LonLatGridLabelPosition WestAndSouth
      Places the line label at the west or south side of the parallel or meridian.
    • WestAndNorth

      public static final LonLatGridLabelPosition WestAndNorth
      Places the line label at the west or north side of the parallel or meridian.
    • AllSides

      public static final LonLatGridLabelPosition AllSides
      A label is placed on both ends of the parallel or meridian.
  • Method Details

    • values

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