public static enum ChartDefinition.Orientation extends Enum<ChartDefinition.Orientation>
Enum Constant and Description |
---|
HORIZONTAL |
VERTICAL |
Modifier and Type | Method and Description |
---|---|
static ChartDefinition.Orientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChartDefinition.Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChartDefinition.Orientation HORIZONTAL
public static final ChartDefinition.Orientation VERTICAL
public static ChartDefinition.Orientation[] values()
for (ChartDefinition.Orientation c : ChartDefinition.Orientation.values()) System.out.println(c);
public static ChartDefinition.Orientation 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 null