public static enum Chart.Position extends Enum<Chart.Position>
Enum Constant and Description |
---|
BOTTOM
Positioned at the bottom of the chart.
|
LEFT
Positioned at the left of the chart.
|
RIGHT
Positioned at the right of the chart.
|
TOP
Positioned at the top of the chart.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isVertical()
Returns true if this is a vertical side (left/right) rather than a horizontal one (top/bottom)
|
static Chart.Position |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Chart.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Chart.Position TOP
public static final Chart.Position BOTTOM
public static final Chart.Position LEFT
public static final Chart.Position RIGHT
public static Chart.Position[] values()
for (Chart.Position c : Chart.Position.values()) System.out.println(c);
public static Chart.Position 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 boolean isVertical()
Copyright © 2018. All rights reserved.