Enum GChartType
- java.lang.Object
-
- java.lang.Enum<GChartType>
-
- org.primefaces.extensions.component.gchart.model.GChartType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GChartType>
public enum GChartType extends java.lang.Enum<GChartType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetChartName()static GChartTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GChartType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PIE
public static final GChartType PIE
-
AREA
public static final GChartType AREA
-
BAR
public static final GChartType BAR
-
GEO
public static final GChartType GEO
-
ORGANIZATIONAL
public static final GChartType ORGANIZATIONAL
-
COLUMN
public static final GChartType COLUMN
-
LINE
public static final GChartType LINE
-
SCATTER
public static final GChartType SCATTER
-
GANTT
public static final GChartType GANTT
-
-
Method Detail
-
values
public static GChartType[] 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 (GChartType c : GChartType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GChartType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getChartName
public java.lang.String getChartName()
-
-