Package net.sf.jasperreports.engine.part
Interface PartFillComponent
- All Known Implementing Classes:
BasePartFillComponent,SubreportFillPart
public interface PartFillComponent
A component handler used while filling the report.
The fill component implementation is responsible for managing a component at fill time. A typical implementation would evaluate a set of expressions and create a print element to be included in the generated report.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate(byte evaluation) Evaluates the fill component.voidfill(PartPrintOutput output) Fills the component by creating a print element which will be included in the generated report.voidinitialize(PartFillContext fillContext) Initializes the fill component with the fill context.
-
Method Details
-
initialize
Initializes the fill component with the fill context.This method is called before the fill component is used.
- Parameters:
fillContext- the fill context
-
evaluate
Evaluates the fill component.This method would evaluate the component expressions and store the results to be used in
fill(PartPrintOutput).- Parameters:
evaluation- the evaluation type- Throws:
JRException
-
fill
Fills the component by creating a print element which will be included in the generated report.- Throws:
JRException
-