Enum Class LegendPosition
- All Implemented Interfaces:
Serializable,Comparable<LegendPosition>,Constable
Specifies the position of the legend on a chart.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies a position below the chart.Specifies a position in the upper right-hand corner of the chart border.Specifies a custom position.Specifies a position to the left of the chart.Specifies a position to the right of the chart.Specifies a position above the chart. -
Method Summary
Modifier and TypeMethodDescriptionstatic LegendPositionReturns the enum constant of this class with the specified name.static LegendPosition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Custom
Specifies a custom position. -
Top
Specifies a position above the chart. -
Right
Specifies a position to the right of the chart. -
Left
Specifies a position to the left of the chart. -
Bottom
Specifies a position below the chart. -
Corner
Specifies a position in the upper right-hand corner of the chart border.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-