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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
evaluate(byte evaluation)
Evaluates the fill component.void
fill(PartPrintOutput output)
Fills the component by creating a print element which will be included in the generated report.void
initialize(PartFillContext fillContext)
Initializes the fill component with the fill context.
-
-
-
Method Detail
-
initialize
void initialize(PartFillContext fillContext)
Initializes the fill component with the fill context.This method is called before the fill component is used.
- Parameters:
fillContext
- the fill context
-
evaluate
void evaluate(byte evaluation) throws JRException
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
void fill(PartPrintOutput output) throws JRException
Fills the component by creating a print element which will be included in the generated report.- Throws:
JRException
-
-