Enum Class TLspXYGridStyle.LabelPosition

java.lang.Object
java.lang.Enum<TLspXYGridStyle.LabelPosition>
com.luciad.view.lightspeed.painter.grid.TLspXYGridStyle.LabelPosition
All Implemented Interfaces:
Serializable, Comparable<TLspXYGridStyle.LabelPosition>, Constable
Enclosing class:
TLspXYGridStyle

public static enum TLspXYGridStyle.LabelPosition extends Enum<TLspXYGridStyle.LabelPosition>
Defines the position of the line labels with respect to the view. They can for example be placed at the left or at the right edge of the view, or both. For example, when a label is placed at the east 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:
2017.0
  • Enum Constant Details

    • EAST_AND_SOUTH

      public static final TLspXYGridStyle.LabelPosition EAST_AND_SOUTH
      Places the line label at the east or south side of the parallel or meridian.
    • EAST_AND_NORTH

      public static final TLspXYGridStyle.LabelPosition EAST_AND_NORTH
      Places the line label at the east or north side of the parallel or meridian.
    • WEST_AND_SOUTH

      public static final TLspXYGridStyle.LabelPosition WEST_AND_SOUTH
      Places the line label at the west or south side of the parallel or meridian.
    • WEST_AND_NORTH

      public static final TLspXYGridStyle.LabelPosition WEST_AND_NORTH
      Places the line label at the west or north side of the parallel or meridian.
  • Method Details

    • values

      public static TLspXYGridStyle.LabelPosition[] 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 TLspXYGridStyle.LabelPosition 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