public static enum ChartDataModel.ChartType extends Enum<ChartDataModel.ChartType>
Modifier and Type | Method and Description |
---|---|
static ChartDataModel.ChartType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChartDataModel.ChartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChartDataModel.ChartType line
public static final ChartDataModel.ChartType bar
public static final ChartDataModel.ChartType pie
public static ChartDataModel.ChartType[] values()
for (ChartDataModel.ChartType c : ChartDataModel.ChartType.values()) System.out.println(c);
public static ChartDataModel.ChartType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014 JBoss by Red Hat. All Rights Reserved.