public class FillSpiderChart extends BaseFillComponent implements JRFillCloneable
Modifier and Type | Field and Description |
---|---|
protected ChartCustomizer |
chartCustomizer |
static String |
EXCEPTION_MESSAGE_KEY_CUSTOMIZER_INSTANCE_ERROR |
elementId, fillContext, printElementOriginator
Constructor and Description |
---|
FillSpiderChart(SpiderChartComponent chartComponent,
JRFillObjectFactory factory) |
deduplicate, evaluateExpression, initialize, rewind
public static final String EXCEPTION_MESSAGE_KEY_CUSTOMIZER_INSTANCE_ERROR
protected ChartCustomizer chartCustomizer
public FillSpiderChart(SpiderChartComponent chartComponent, JRFillObjectFactory factory)
protected boolean isEvaluateNow()
public void evaluate(byte evaluation) throws JRException
FillComponent
This method would evaluate the component expressions and store the
results to be used in FillComponent.fill()
.
If the component needs to delay the evaluation of some of its
expressions, it would call
FillContext.registerDelayedEvaluation(JRPrintElement, EvaluationTimeEnum, String)
to register a delayed evaluation print element, and perform the delayed
evaluations on FillComponent.evaluateDelayedElement(JRPrintElement, byte)
.
evaluate
in interface FillComponent
evaluation
- the evaluation typeJRException
FillContext.evaluate(net.sf.jasperreports.engine.JRExpression, byte)
protected void evaluateRenderer(byte evaluation) throws JRException
JRException
public JRPrintElement fill()
FillComponent
This method will get called only if FillComponent.prepare(int)
returned
a result that indicated that the component will print.
fill
in interface FillComponent
public FillPrepareResult prepare(int availableHeight)
FillComponent
prepare
in interface FillComponent
availableHeight
- the amount of vertical space available for the
component, starting from the top of the component element.public JRFillCloneable createClone(JRFillCloneFactory factory)
JRFillCloneable
createClone
in interface JRFillCloneable
factory
- the clone factory to use while creating the clonepublic void evaluateDelayedElement(JRPrintElement element, byte evaluation) throws JRException
BaseFillComponent
UnsupportedOperationException
.
If a component supports delayed evaluation, it needs to override this method.
evaluateDelayedElement
in interface FillComponent
evaluateDelayedElement
in class BaseFillComponent
element
- the print element for which delayed evaluation has
been registeredevaluation
- the evaluation typeJRException
FillComponent.evaluate(byte)
protected void copy(JRPrintImage printImage)
protected ChartHyperlinkProvider getHyperlinkProvider()
public FillChartSettings getChartSettings()
public FillSpiderDataset getDataset()
public FillSpiderPlot getPlot()
public Double getMaxValue()
public String getTitleText()
public String getSubtitleText()
public String getAnchorName()
public String getHyperlinkReference()
public String getHyperlinkAnchor()
public Integer getHyperlinkPage()
public String getHyperlinkTooltip()
public Integer getBookmarkLevel()
public JRFillExpressionEvaluator getExpressionEvaluator()
public Renderable getRenderable()
public String getLinkType()
public String getLinkTarget()
public JRPrintHyperlinkParameters getHyperlinkParameters()
Copyright © 2017. All rights reserved.