Enum LegendPainter.LegendPlacement
- java.lang.Object
-
- java.lang.Enum<LegendPainter.LegendPlacement>
-
- com.metsci.glimpse.core.painter.decoration.LegendPainter.LegendPlacement
-
- All Implemented Interfaces:
Serializable
,Comparable<LegendPainter.LegendPlacement>
- Enclosing class:
- LegendPainter
public static enum LegendPainter.LegendPlacement extends Enum<LegendPainter.LegendPlacement>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LegendPainter.LegendPlacement
valueOf(String name)
Returns the enum constant of this type with the specified name.static LegendPainter.LegendPlacement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
N
public static final LegendPainter.LegendPlacement N
-
NE
public static final LegendPainter.LegendPlacement NE
-
E
public static final LegendPainter.LegendPlacement E
-
SE
public static final LegendPainter.LegendPlacement SE
-
S
public static final LegendPainter.LegendPlacement S
-
SW
public static final LegendPainter.LegendPlacement SW
-
W
public static final LegendPainter.LegendPlacement W
-
NW
public static final LegendPainter.LegendPlacement NW
-
-
Method Detail
-
values
public static LegendPainter.LegendPlacement[] 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 (LegendPainter.LegendPlacement c : LegendPainter.LegendPlacement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LegendPainter.LegendPlacement 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
-
-