Package org.esa.snap.core.datamodel
Enum Graticule.TextLocation
- java.lang.Object
-
- java.lang.Enum<Graticule.TextLocation>
-
- org.esa.snap.core.datamodel.Graticule.TextLocation
-
- All Implemented Interfaces:
Serializable
,Comparable<Graticule.TextLocation>
- Enclosing class:
- Graticule
public static enum Graticule.TextLocation extends Enum<Graticule.TextLocation>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Graticule.TextLocation
valueOf(String name)
Returns the enum constant of this type with the specified name.static Graticule.TextLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORTH
public static final Graticule.TextLocation NORTH
-
SOUTH
public static final Graticule.TextLocation SOUTH
-
WEST
public static final Graticule.TextLocation WEST
-
EAST
public static final Graticule.TextLocation EAST
-
TOP
public static final Graticule.TextLocation TOP
-
BOTTOM
public static final Graticule.TextLocation BOTTOM
-
LEFT
public static final Graticule.TextLocation LEFT
-
RIGHT
public static final Graticule.TextLocation RIGHT
-
-
Method Detail
-
values
public static Graticule.TextLocation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Graticule.TextLocation c : Graticule.TextLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Graticule.TextLocation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-