Package org.meteoinfo.legend
Enum GridLabelPosition
- java.lang.Object
-
- java.lang.Enum<GridLabelPosition>
-
- org.meteoinfo.legend.GridLabelPosition
-
public enum GridLabelPosition extends java.lang.Enum<GridLabelPosition>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AllLeftBottomLeftUpRightBottomRightUp
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GridLabelPositionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GridLabelPosition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LeftBottom
public static final GridLabelPosition LeftBottom
-
LeftUp
public static final GridLabelPosition LeftUp
-
RightBottom
public static final GridLabelPosition RightBottom
-
RightUp
public static final GridLabelPosition RightUp
-
All
public static final GridLabelPosition All
-
-
Method Detail
-
values
public static GridLabelPosition[] 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 (GridLabelPosition c : GridLabelPosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GridLabelPosition valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-