Enum ChartType
- java.lang.Object
-
- java.lang.Enum<ChartType>
-
- org.pentaho.reporting.designer.extensions.legacycharts.ChartType
-
- All Implemented Interfaces:
Serializable
,Comparable<ChartType>
public enum ChartType extends Enum<ChartType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AREA
BAR
BAR_LINE
BUBBLE
EXTENDED_XY_LINE
LINE
MULTI_PIE
PIE
RADAR
RING
SCATTER_PLOT
THERMOMETER
WATERFALL
XY_AREA
XY_AREA_LINE
XY_BAR
XY_LINE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ChartDataSource
getDatasource()
Class
getExpressionType()
Class
getPreferredPrimaryDataSourceImplementation()
Class
getPreferredSecondaryDataSourceImplementation()
String
getPrimaryDataSourceProperty()
ChartDataSource
getSecondaryDataSource()
String
getSecondaryDataSourceProperty()
static ChartType
getTypeByChartExpression(Class aClass)
static ChartType
valueOf(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.
-
-
-
Enum Constant Detail
-
BAR
public static final ChartType BAR
-
LINE
public static final ChartType LINE
-
AREA
public static final ChartType AREA
-
PIE
public static final ChartType PIE
-
MULTI_PIE
public static final ChartType MULTI_PIE
-
BAR_LINE
public static final ChartType BAR_LINE
-
RING
public static final ChartType RING
-
BUBBLE
public static final ChartType BUBBLE
-
SCATTER_PLOT
public static final ChartType SCATTER_PLOT
-
XY_BAR
public static final ChartType XY_BAR
-
XY_LINE
public static final ChartType XY_LINE
-
XY_AREA
public static final ChartType XY_AREA
-
EXTENDED_XY_LINE
public static final ChartType EXTENDED_XY_LINE
-
WATERFALL
public static final ChartType WATERFALL
-
RADAR
public static final ChartType RADAR
-
XY_AREA_LINE
public static final ChartType XY_AREA_LINE
-
THERMOMETER
public static final ChartType THERMOMETER
-
-
Method Detail
-
values
public static ChartType[] 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 (ChartType c : ChartType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChartType 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
-
getDatasource
public ChartDataSource getDatasource()
-
getSecondaryDataSource
public ChartDataSource getSecondaryDataSource()
-
getPrimaryDataSourceProperty
public String getPrimaryDataSourceProperty()
-
getPreferredPrimaryDataSourceImplementation
public Class getPreferredPrimaryDataSourceImplementation()
-
getPreferredSecondaryDataSourceImplementation
public Class getPreferredSecondaryDataSourceImplementation()
-
getSecondaryDataSourceProperty
public String getSecondaryDataSourceProperty()
-
getExpressionType
public Class getExpressionType()
-
-