org.pentaho.chart.model
Enum ChartTitle.TitleLocation
java.lang.Object
java.lang.Enum<ChartTitle.TitleLocation>
org.pentaho.chart.model.ChartTitle.TitleLocation
- All Implemented Interfaces:
- Serializable, Comparable<ChartTitle.TitleLocation>
- Enclosing class:
- ChartTitle
public static enum ChartTitle.TitleLocation
- extends Enum<ChartTitle.TitleLocation>
BOTTOM
public static final ChartTitle.TitleLocation BOTTOM
LEFT
public static final ChartTitle.TitleLocation LEFT
TOP
public static final ChartTitle.TitleLocation TOP
RIGHT
public static final ChartTitle.TitleLocation RIGHT
values
public static final ChartTitle.TitleLocation[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(ChartTitle.TitleLocation c : ChartTitle.TitleLocation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static ChartTitle.TitleLocation 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 name