Package adalid.core.enums
Enum ReportChartType
- java.lang.Object
-
- java.lang.Enum<ReportChartType>
-
- adalid.core.enums.ReportChartType
-
- All Implemented Interfaces:
Serializable,Comparable<ReportChartType>
public enum ReportChartType extends Enum<ReportChartType>
- Author:
- Jorge Campins
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AREAAREA_BY_GROUPBARBAR_BY_GROUPLINELINE_BY_GROUPPIESTACKED_AREASTACKED_AREA_BY_GROUPSTACKED_BARSTACKED_BAR_BY_GROUP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJasperChartName()StringgetJasperChartSubtype()StringgetJasperChartType()static ReportChartTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ReportChartType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BAR
public static final ReportChartType BAR
-
BAR_BY_GROUP
public static final ReportChartType BAR_BY_GROUP
-
STACKED_BAR
public static final ReportChartType STACKED_BAR
-
STACKED_BAR_BY_GROUP
public static final ReportChartType STACKED_BAR_BY_GROUP
-
AREA
public static final ReportChartType AREA
-
AREA_BY_GROUP
public static final ReportChartType AREA_BY_GROUP
-
STACKED_AREA
public static final ReportChartType STACKED_AREA
-
STACKED_AREA_BY_GROUP
public static final ReportChartType STACKED_AREA_BY_GROUP
-
LINE
public static final ReportChartType LINE
-
LINE_BY_GROUP
public static final ReportChartType LINE_BY_GROUP
-
PIE
public static final ReportChartType PIE
-
-
Method Detail
-
values
public static ReportChartType[] 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 (ReportChartType c : ReportChartType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReportChartType 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
-
getJasperChartName
public String getJasperChartName()
-
getJasperChartType
public String getJasperChartType()
-
getJasperChartSubtype
public String getJasperChartSubtype()
-
-