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 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