Class FillSpiderChart
java.lang.Object
net.sf.jasperreports.engine.component.BaseFillComponent
net.sf.jasperreports.components.spiderchart.FillSpiderChart
- All Implemented Interfaces:
FillComponent,JRFillCloneable
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
Field Summary
FieldsFields inherited from class net.sf.jasperreports.engine.component.BaseFillComponent
fillContext, printElementOriginator -
Constructor Summary
ConstructorsConstructorDescriptionFillSpiderChart(SpiderChartComponent chartComponent, ChartsFillObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcopy(JRPrintImage printImage) createClone(JRFillCloneFactory factory) Creates a working clone of itself.voidevaluate(byte evaluation) Evaluates the fill component.voidevaluateDelayedElement(JRPrintElement element, byte evaluation) The default implementation throwsUnsupportedOperationException.protected voidevaluateRenderer(byte evaluation) fill()Fills the component by creating a print element which will be included in the generated report.intprotected ChartHyperlinkProvidergetPlot()protected booleanprepare(int availableHeight) prepare(int availableHeight, boolean isOverflowAllowed) Prepares to fill the component by deciding whether the component will print, and how much vertical space it will require.Methods inherited from class net.sf.jasperreports.engine.component.BaseFillComponent
deduplicate, evaluateExpression, initialize, rewind
-
Field Details
-
EXCEPTION_MESSAGE_KEY_CUSTOMIZER_INSTANCE_ERROR
- See Also:
-
chartCustomizer
-
-
Constructor Details
-
FillSpiderChart
-
-
Method Details
-
isEvaluateNow
protected boolean isEvaluateNow() -
evaluate
Description copied from interface:FillComponentEvaluates the fill component.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 onFillComponent.evaluateDelayedElement(JRPrintElement, byte).- Specified by:
evaluatein interfaceFillComponent- Parameters:
evaluation- the evaluation type- Throws:
JRException- See Also:
-
evaluateRenderer
- Throws:
JRException
-
fill
Description copied from interface:FillComponentFills the component by creating a print element which will be included in the generated report.This method will get called only if
FillComponent.prepare(int)returned a result that indicated that the component will print.- Specified by:
fillin interfaceFillComponent- Returns:
- the print element generated by the component
-
prepare
- Specified by:
preparein interfaceFillComponent
-
prepare
Description copied from interface:FillComponentPrepares to fill the component by deciding whether the component will print, and how much vertical space it will require.- Specified by:
preparein interfaceFillComponent- Parameters:
availableHeight- the amount of vertical space available for the component, starting from the top of the component element.isOverflowAllowed- flag indicating if overflow is allowed for the component.- Returns:
- the result of the preparation, which specifies whether the component will print and how much it will stretch vertically.
-
createClone
Description copied from interface:JRFillCloneableCreates a working clone of itself.- Specified by:
createClonein interfaceJRFillCloneable- Parameters:
factory- the clone factory to use while creating the clone- Returns:
- a working clone of itself
-
evaluateDelayedElement
Description copied from class:BaseFillComponentThe default implementation throwsUnsupportedOperationException.If a component supports delayed evaluation, it needs to override this method.
- Specified by:
evaluateDelayedElementin interfaceFillComponent- Overrides:
evaluateDelayedElementin classBaseFillComponent- Parameters:
element- the print element for which delayed evaluation has been registeredevaluation- the evaluation type- Throws:
JRException- See Also:
-
copy
-
getHyperlinkProvider
-
getChartSettings
- Returns:
- the chartSettings
-
getDataset
- Returns:
- the dataset
-
getPlot
- Returns:
- the plot
-
getMaxValue
- Returns:
- the maxValue
-
getTitleText
- Returns:
- the titleText
-
getSubtitleText
- Returns:
- the subtitleText
-
getAnchorName
- Returns:
- the anchorName
-
getHyperlinkReference
- Returns:
- the hyperlinkReference
-
getHyperlinkAnchor
- Returns:
- the hyperlinkAnchor
-
getHyperlinkPage
- Returns:
- the hyperlinkPage
-
getHyperlinkTooltip
- Returns:
- the hyperlinkTooltip
-
getBookmarkLevel
public int getBookmarkLevel()- Returns:
- the bookmark level
-
getExpressionEvaluator
- Returns:
- the expressionEvaluator
-
getRenderable
- Returns:
- the renderer
-
getLinkType
-
getLinkTarget
-
getHyperlinkParameters
- Returns:
- the hyperlinkParameters
-