Package com.luciad.layers.grids.lonlat
Enum Class LonLatGridLabelPosition
- All Implemented Interfaces:
Serializable
,Comparable<LonLatGridLabelPosition>
,Constable
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA label is placed on both ends of the parallel or meridian.Places the line label at the east or north side of the parallel or meridian.Places the line label at the east or south side of the parallel or meridian.Places the line label at the west or north side of the parallel or meridian.Places the line label at the west or south side of the parallel or meridian. -
Method Summary
Modifier and TypeMethodDescriptionstatic LonLatGridLabelPosition
Returns the enum constant of this class with the specified name.static LonLatGridLabelPosition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EastAndSouth
Places the line label at the east or south side of the parallel or meridian. -
EastAndNorth
Places the line label at the east or north side of the parallel or meridian. -
WestAndSouth
Places the line label at the west or south side of the parallel or meridian. -
WestAndNorth
Places the line label at the west or north side of the parallel or meridian. -
AllSides
A label is placed on both ends 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
-