Package io.keikai.api.model
Enum Chart.LegendPosition
- java.lang.Object
-
- java.lang.Enum<Chart.LegendPosition>
-
- io.keikai.api.model.Chart.LegendPosition
-
- All Implemented Interfaces:
Serializable
,Comparable<Chart.LegendPosition>
- Enclosing interface:
- Chart
public static enum Chart.LegendPosition extends Enum<Chart.LegendPosition>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Chart.LegendPosition
valueOf(String name)
Returns the enum constant of this type with the specified name.static Chart.LegendPosition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOTTOM
public static final Chart.LegendPosition BOTTOM
-
LEFT
public static final Chart.LegendPosition LEFT
-
RIGHT
public static final Chart.LegendPosition RIGHT
-
TOP
public static final Chart.LegendPosition TOP
-
TOP_RIGHT
public static final Chart.LegendPosition TOP_RIGHT
-
-
Method Detail
-
values
public static Chart.LegendPosition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Chart.LegendPosition c : Chart.LegendPosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Chart.LegendPosition 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 nameNullPointerException
- if the argument is null
-
-