Modifier and Type | Method and Description |
---|---|
static ChartType |
fromId(java.lang.String id) |
java.lang.String |
getId() |
static ChartType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChartType PIE
public static final ChartType SERIAL
public static ChartType[] values()
for (ChartType c : ChartType.values()) System.out.println(c);
public static ChartType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getId()
getId
in interface com.haulmont.chile.core.datatypes.impl.EnumClass<java.lang.String>
public static ChartType fromId(java.lang.String id)