Enum Class TLspLonLatGridStyler.LabelPosition
java.lang.Object
java.lang.Enum<TLspLonLatGridStyler.LabelPosition>
com.luciad.view.lightspeed.painter.grid.TLspLonLatGridStyler.LabelPosition
- All Implemented Interfaces:
Serializable
,Comparable<TLspLonLatGridStyler.LabelPosition>
,Constable
- Enclosing class:
TLspLonLatGridStyler
public static enum TLspLonLatGridStyler.LabelPosition
extends Enum<TLspLonLatGridStyler.LabelPosition>
Defines the position of the 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:
- 2012.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPlaces the label at the east or north side of the parallel or meridian.Places the label at the east or south side of the parallel or meridian.Places the label at the west or north side of the parallel or meridian.Places the label at the west or south side of the parallel or meridian. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TLspLonLatGridStyler.LabelPosition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WEST_AND_SOUTH
Places the label at the west or south side of the parallel or meridian. -
WEST_AND_NORTH
Places the label at the west or north side of the parallel or meridian. -
EAST_AND_SOUTH
Places the label at the east or south side of the parallel or meridian. -
EAST_AND_NORTH
Places the label at the east or north side of the parallel or meridian.
-
-
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
-