Enum Class DataLabels
- All Implemented Interfaces:
Serializable
,Comparable<DataLabels>
,Constable
The format of the displayed values for
PieChart
charts.- Since:
- 4.0
- Author:
- JBStrap
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNo values are displayed on pie chart slices.Percentages are displayed on pie chart slices.Numeric values are displayed on pie chart slices. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataLabels
Determines the displayed values by the specified name.toString()
static DataLabels
Returns the enum constant of this class with the specified name.static DataLabels[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PERCENTAGES
Percentages are displayed on pie chart slices. -
VALUES
Numeric values are displayed on pie chart slices. -
HIDE
No values are displayed on pie chart slices.
-
-
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
-
toString
- Overrides:
toString
in classEnum<DataLabels>
-
fromName
Determines the displayed values by the specified name.- Parameters:
name
- Value name- Returns:
- Display type for the specified name or
null
if there is no display type for the specified name
-