Package org.knowm.xchart.style
Enum PieStyler.AnnotationType
- java.lang.Object
-
- java.lang.Enum<PieStyler.AnnotationType>
-
- org.knowm.xchart.style.PieStyler.AnnotationType
-
- All Implemented Interfaces:
Serializable
,Comparable<PieStyler.AnnotationType>
- Enclosing class:
- PieStyler
public static enum PieStyler.AnnotationType extends Enum<PieStyler.AnnotationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Label
LabelAndPercentage
LabelAndValue
Percentage
Value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PieStyler.AnnotationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PieStyler.AnnotationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Value
public static final PieStyler.AnnotationType Value
-
Percentage
public static final PieStyler.AnnotationType Percentage
-
Label
public static final PieStyler.AnnotationType Label
-
LabelAndPercentage
public static final PieStyler.AnnotationType LabelAndPercentage
-
LabelAndValue
public static final PieStyler.AnnotationType LabelAndValue
-
-
Method Detail
-
values
public static PieStyler.AnnotationType[] 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 (PieStyler.AnnotationType c : PieStyler.AnnotationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PieStyler.AnnotationType 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
-
-