Enum Class LegendPosition
- All Implemented Interfaces:
Serializable,Comparable<LegendPosition>,Constable
Represents the placement of a legend.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPlace legend below the plot area.Place legend in the bottom right corner.Place the legend in the bottom left corner.Place legend on the right side of the plot area.Place legend on the left side of the plot area.Place legend above the plot area.Place legend in the top right corner.Place legend in the top left corner. -
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
-
START
Place legend on the left side of the plot area. -
END
Place legend on the right side of the plot area. -
TOP
Place legend above the plot area. -
BOTTOM
Place legend below the plot area. -
TOP_START
Place legend in the top left corner. -
BOTTOM_START
Place the legend in the bottom left corner. -
TOP_END
Place legend in the top right corner. -
BOTTOM_END
Place legend in the bottom right corner.
-
-
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
-