Class SpiderChartComponent
- java.lang.Object
-
- net.sf.jasperreports.components.spiderchart.SpiderChartComponent
-
- All Implemented Interfaces:
Serializable,Cloneable,ChartComponent,Component,ContextAwareComponent,JRChangeEventsSupport,JRCloneable
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 StringPROPERTY_CHART_SETTINGSstatic StringPROPERTY_DATASETstatic StringPROPERTY_EVALUATION_GROUPstatic StringPROPERTY_EVALUATION_TIMEstatic StringPROPERTY_PLOT
-
Constructor Summary
Constructors Modifier Constructor Description SpiderChartComponent()protectedSpiderChartComponent(SpiderChartComponent chartComponent, JRBaseObjectFactory baseFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()ChartSettingsgetChartSettings()ComponentContextgetContext()ChartDatasetgetDataset()StringgetEvaluationGroup()EvaluationTimeEnumgetEvaluationTime()JRPropertyChangeSupportgetEventSupport()Returns the property change support object for this instance.ChartPlotgetPlot()voidsetChartSettings(ChartSettings chartSettings)voidsetContext(ComponentContext context)voidsetDataset(ChartDataset dataset)voidsetEvaluationGroup(String evaluationGroup)voidsetEvaluationTime(EvaluationTimeEnum evaluationTime)voidsetPlot(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:
getChartSettingsin interfaceChartComponent- Returns:
- the chart
-
setChartSettings
public void setChartSettings(ChartSettings chartSettings)
- Parameters:
chartSettings- the chart to set
-
getDataset
public ChartDataset getDataset()
- Specified by:
getDatasetin interfaceChartComponent- Returns:
- the dataset
-
getPlot
public ChartPlot getPlot()
- Specified by:
getPlotin interfaceChartComponent- Returns:
- the plot
-
setDataset
public void setDataset(ChartDataset dataset)
-
setPlot
public void setPlot(ChartPlot plot)
-
getEvaluationTime
public EvaluationTimeEnum getEvaluationTime()
- Specified by:
getEvaluationTimein interfaceChartComponent- Returns:
- the evaluationTime
-
setEvaluationTime
public void setEvaluationTime(EvaluationTimeEnum evaluationTime)
- Parameters:
evaluationTime- the evaluationTime to set
-
getEvaluationGroup
public String getEvaluationGroup()
- Specified by:
getEvaluationGroupin interfaceChartComponent- Returns:
- the evaluationGroup
-
setEvaluationGroup
public void setEvaluationGroup(String evaluationGroup)
- Parameters:
evaluationGroup- the evaluationGroup to set
-
clone
public Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
getEventSupport
public JRPropertyChangeSupport getEventSupport()
Description copied from interface:JRChangeEventsSupportReturns the property change support object for this instance.- Specified by:
getEventSupportin interfaceJRChangeEventsSupport- Returns:
- the property change support object for this instance
-
getContext
public ComponentContext getContext()
- Specified by:
getContextin interfaceContextAwareComponent
-
setContext
public void setContext(ComponentContext context)
- Specified by:
setContextin interfaceContextAwareComponent
-
-