Package net.sf.jasperreports.charts.type
Enum ChartTypeEnum
- java.lang.Object
-
- java.lang.Enum<ChartTypeEnum>
-
- net.sf.jasperreports.charts.type.ChartTypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<ChartTypeEnum>
,NamedEnum
public enum ChartTypeEnum extends Enum<ChartTypeEnum> implements NamedEnum
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AREA
BAR
BAR3D
BUBBLE
CANDLESTICK
GANTT
HIGHLOW
LINE
METER
MULTI_AXIS
PIE
PIE3D
SCATTER
STACKEDAREA
STACKEDBAR
STACKEDBAR3D
THERMOMETER
TIMESERIES
XYAREA
XYBAR
XYLINE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChartTypeEnum
getByName(String name)
String
getName()
static ChartTypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static ChartTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface net.sf.jasperreports.engine.type.NamedEnum
getDefault
-
-
-
-
Enum Constant Detail
-
AREA
public static final ChartTypeEnum AREA
-
BAR3D
public static final ChartTypeEnum BAR3D
-
BAR
public static final ChartTypeEnum BAR
-
BUBBLE
public static final ChartTypeEnum BUBBLE
-
CANDLESTICK
public static final ChartTypeEnum CANDLESTICK
-
HIGHLOW
public static final ChartTypeEnum HIGHLOW
-
LINE
public static final ChartTypeEnum LINE
-
PIE3D
public static final ChartTypeEnum PIE3D
-
PIE
public static final ChartTypeEnum PIE
-
SCATTER
public static final ChartTypeEnum SCATTER
-
STACKEDBAR3D
public static final ChartTypeEnum STACKEDBAR3D
-
STACKEDBAR
public static final ChartTypeEnum STACKEDBAR
-
XYAREA
public static final ChartTypeEnum XYAREA
-
XYBAR
public static final ChartTypeEnum XYBAR
-
XYLINE
public static final ChartTypeEnum XYLINE
-
TIMESERIES
public static final ChartTypeEnum TIMESERIES
-
METER
public static final ChartTypeEnum METER
-
THERMOMETER
public static final ChartTypeEnum THERMOMETER
-
MULTI_AXIS
public static final ChartTypeEnum MULTI_AXIS
-
STACKEDAREA
public static final ChartTypeEnum STACKEDAREA
-
GANTT
public static final ChartTypeEnum GANTT
-
-
Method Detail
-
values
public static ChartTypeEnum[] 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 (ChartTypeEnum c : ChartTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChartTypeEnum 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
-
getByName
public static ChartTypeEnum getByName(String name)
-
-