Class SpiderChartComponent
- java.lang.Object
-
- net.sf.jasperreports.components.spiderchart.SpiderChartComponent
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,ChartComponent,Component,ContextAwareComponent,JRChangeEventsSupport,JRCloneable
public class SpiderChartComponent extends java.lang.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 java.lang.StringPROPERTY_CHART_SETTINGSstatic java.lang.StringPROPERTY_DATASETstatic java.lang.StringPROPERTY_EVALUATION_GROUPstatic java.lang.StringPROPERTY_EVALUATION_TIMEstatic java.lang.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 java.lang.Objectclone()ChartSettingsgetChartSettings()ComponentContextgetContext()ChartDatasetgetDataset()java.lang.StringgetEvaluationGroup()EvaluationTimeEnumgetEvaluationTime()JRPropertyChangeSupportgetEventSupport()Returns the property change support object for this instance.ChartPlotgetPlot()voidsetChartSettings(ChartSettings chartSettings)voidsetContext(ComponentContext context)voidsetDataset(ChartDataset dataset)voidsetEvaluationGroup(java.lang.String evaluationGroup)voidsetEvaluationTime(EvaluationTimeEnum evaluationTime)voidsetPlot(ChartPlot plot)
-
-
-
Field Detail
-
PROPERTY_CHART_SETTINGS
public static final java.lang.String PROPERTY_CHART_SETTINGS
- See Also:
- Constant Field Values
-
PROPERTY_DATASET
public static final java.lang.String PROPERTY_DATASET
- See Also:
- Constant Field Values
-
PROPERTY_PLOT
public static final java.lang.String PROPERTY_PLOT
- See Also:
- Constant Field Values
-
PROPERTY_EVALUATION_TIME
public static final java.lang.String PROPERTY_EVALUATION_TIME
- See Also:
- Constant Field Values
-
PROPERTY_EVALUATION_GROUP
public static final java.lang.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 java.lang.String getEvaluationGroup()
- Specified by:
getEvaluationGroupin interfaceChartComponent- Returns:
- the evaluationGroup
-
setEvaluationGroup
public void setEvaluationGroup(java.lang.String evaluationGroup)
- Parameters:
evaluationGroup- the evaluationGroup to set
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classjava.lang.Object
-
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
-
-