public static enum Legend.Layout extends Enum<Legend.Layout>
Legend.setLayout(Layout) method.| Enum Constant and Description |
|---|
HORIZONTAL
Lay the legend items out in a horizontal row
|
VERTICAL
Lay the legend items out in a vertical stack
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Legend.Layout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Legend.Layout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Legend.Layout HORIZONTAL
public static final Legend.Layout VERTICAL
public static Legend.Layout[] values()
for (Legend.Layout c : Legend.Layout.values()) System.out.println(c);
public static Legend.Layout valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Legend.Layout>Copyright © 2015. All Rights Reserved.