Class SpiderChartComponent
- java.lang.Object
-
- net.sf.jasperreports.components.spiderchart.SpiderChartComponent
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ChartComponent
,Component
,ContextAwareComponent
,JRChangeEventsSupport
,JRCloneable
,JREvaluation
public class SpiderChartComponent extends Object implements ChartComponent, JRChangeEventsSupport, JRCloneable
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_CHART_SETTINGS
static String
PROPERTY_DATASET
static String
PROPERTY_EVALUATION_GROUP
static String
PROPERTY_EVALUATION_TIME
static String
PROPERTY_PLOT
-
Constructor Summary
Constructors Modifier Constructor Description SpiderChartComponent()
protected
SpiderChartComponent(SpiderChartComponent chartComponent, JRBaseObjectFactory baseFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
ChartSettings
getChartSettings()
ComponentContext
getContext()
ChartDataset
getDataset()
String
getEvaluationGroup()
Gets the evaluation group for this text field.EvaluationTimeEnum
getEvaluationTime()
Gets the evaluation time for this text field.JRPropertyChangeSupport
getEventSupport()
Returns the property change support object for this instance.ChartPlot
getPlot()
void
setChartSettings(ChartSettings chartSettings)
void
setContext(ComponentContext context)
void
setDataset(ChartDataset dataset)
void
setEvaluationGroup(String evaluationGroup)
void
setEvaluationTime(EvaluationTimeEnum evaluationTime)
void
setPlot(ChartPlot plot)
-
-
-
Field Detail
-
PROPERTY_CHART_SETTINGS
public static final String PROPERTY_CHART_SETTINGS
- See Also:
- Constant Field Values
-
PROPERTY_DATASET
public static final String PROPERTY_DATASET
- See Also:
- Constant Field Values
-
PROPERTY_PLOT
public static final String PROPERTY_PLOT
- See Also:
- Constant Field Values
-
PROPERTY_EVALUATION_TIME
public static final String PROPERTY_EVALUATION_TIME
- See Also:
- Constant Field Values
-
PROPERTY_EVALUATION_GROUP
public static final String PROPERTY_EVALUATION_GROUP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SpiderChartComponent
public SpiderChartComponent()
-
SpiderChartComponent
protected SpiderChartComponent(SpiderChartComponent chartComponent, JRBaseObjectFactory baseFactory)
-
-
Method Detail
-
getChartSettings
public ChartSettings getChartSettings()
- Specified by:
getChartSettings
in interfaceChartComponent
- Returns:
- the chart
-
setChartSettings
public void setChartSettings(ChartSettings chartSettings)
- Parameters:
chartSettings
- the chart to set
-
getDataset
public ChartDataset getDataset()
- Specified by:
getDataset
in interfaceChartComponent
- Returns:
- the dataset
-
getPlot
public ChartPlot getPlot()
- Specified by:
getPlot
in interfaceChartComponent
- Returns:
- the plot
-
setDataset
public void setDataset(ChartDataset dataset)
-
setPlot
public void setPlot(ChartPlot plot)
-
getEvaluationTime
public EvaluationTimeEnum getEvaluationTime()
Description copied from interface:JREvaluation
Gets the evaluation time for this text field.- Specified by:
getEvaluationTime
in interfaceJREvaluation
- Returns:
- the evaluationTime
-
setEvaluationTime
public void setEvaluationTime(EvaluationTimeEnum evaluationTime)
- Parameters:
evaluationTime
- the evaluationTime to set
-
getEvaluationGroup
public String getEvaluationGroup()
Description copied from interface:JREvaluation
Gets the evaluation group for this text field. Used only when evaluation time is group.- Specified by:
getEvaluationGroup
in interfaceJREvaluation
- Returns:
- the evaluationGroup
- See Also:
EvaluationTimeEnum.GROUP
-
setEvaluationGroup
public void setEvaluationGroup(String evaluationGroup)
- Parameters:
evaluationGroup
- the evaluationGroup to set
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
getEventSupport
public JRPropertyChangeSupport getEventSupport()
Description copied from interface:JRChangeEventsSupport
Returns the property change support object for this instance.- Specified by:
getEventSupport
in interfaceJRChangeEventsSupport
- Returns:
- the property change support object for this instance
-
getContext
public ComponentContext getContext()
- Specified by:
getContext
in interfaceContextAwareComponent
-
setContext
public void setContext(ComponentContext context)
- Specified by:
setContext
in interfaceContextAwareComponent
-
-