public static enum GJColorBar.LABELPOSITION extends java.lang.Enum<GJColorBar.LABELPOSITION>
Enum Constant and Description |
---|
BORDER
Label for the Nth color will be drawn at the border of the Nth with
the N+1th color box.
|
CENTER
Label for the Nth color will be drawn at the center of the color box.
|
Modifier and Type | Method and Description |
---|---|
static GJColorBar.LABELPOSITION |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GJColorBar.LABELPOSITION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GJColorBar.LABELPOSITION CENTER
public static final GJColorBar.LABELPOSITION BORDER
public static GJColorBar.LABELPOSITION[] values()
for (GJColorBar.LABELPOSITION c : GJColorBar.LABELPOSITION.values()) System.out.println(c);
public static GJColorBar.LABELPOSITION valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null