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 Type
    Method
    Description
    void
    evaluate(byte evaluation)
    Evaluates the fill component.
    void
    Fills the component by creating a print element which will be included in the generated report.
    void
    Initializes the fill component with the fill context.
  • Method Details

    • 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