Class SpiderChartCompiler
- java.lang.Object
-
- net.sf.jasperreports.components.spiderchart.SpiderChartCompiler
-
- All Implemented Interfaces:
ComponentCompiler
public class SpiderChartCompiler extends Object implements ComponentCompiler
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description SpiderChartCompiler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
collectExpressions(ChartSettings chart, JRExpressionCollector collector)
static void
collectExpressions(SpiderDataset dataset, JRExpressionCollector collector)
static void
collectExpressions(SpiderPlot spiderPlot, JRExpressionCollector collector)
void
collectExpressions(Component component, JRExpressionCollector collector)
Collects report expressions from a component.Component
toCompiledComponent(Component component, JRBaseObjectFactory baseFactory)
Provides a "compiled" component instance that will be included in the compiled report.void
verify(Component component, JRVerifier verifier)
Logically verifies a component.protected void
verify(JRVerifier verifier, SpiderDataset dataset)
protected void
verify(JRVerifier verifier, SpiderPlot spiderPlot)
protected void
verifyEvaluation(JRVerifier verifier, SpiderChartComponent chart)
-
-
-
Method Detail
-
collectExpressions
public void collectExpressions(Component component, JRExpressionCollector collector)
Description copied from interface:ComponentCompiler
Collects report expressions from a component.- Specified by:
collectExpressions
in interfaceComponentCompiler
- Parameters:
component
- the componentcollector
- the expression collector
-
collectExpressions
public static void collectExpressions(SpiderDataset dataset, JRExpressionCollector collector)
-
collectExpressions
public static void collectExpressions(SpiderPlot spiderPlot, JRExpressionCollector collector)
-
collectExpressions
public static void collectExpressions(ChartSettings chart, JRExpressionCollector collector)
-
verify
public void verify(Component component, JRVerifier verifier)
Description copied from interface:ComponentCompiler
Logically verifies a component.- Specified by:
verify
in interfaceComponentCompiler
- Parameters:
component
- the componentverifier
- the verifier object, which can be used to raise validation errors- See Also:
JRVerifier.getCurrentComponentElement()
-
verifyEvaluation
protected void verifyEvaluation(JRVerifier verifier, SpiderChartComponent chart)
-
verify
protected void verify(JRVerifier verifier, SpiderDataset dataset)
-
verify
protected void verify(JRVerifier verifier, SpiderPlot spiderPlot)
-
toCompiledComponent
public Component toCompiledComponent(Component component, JRBaseObjectFactory baseFactory)
Description copied from interface:ComponentCompiler
Provides a "compiled" component instance that will be included in the compiled report.- Specified by:
toCompiledComponent
in interfaceComponentCompiler
- Parameters:
component
- the component from the design reportbaseFactory
- the factory of base/compiled report elements- Returns:
- a component instance that is to be included in the compiled report
-
-