Class SubreportFillPart
- java.lang.Object
-
- net.sf.jasperreports.engine.part.BasePartFillComponent
-
- net.sf.jasperreports.parts.subreport.SubreportFillPart
-
- All Implemented Interfaces:
PartFillComponent
public class SubreportFillPart extends BasePartFillComponent
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
SubreportFillPart.FillerPrintPart
protected class
SubreportFillPart.PartBandParent
protected class
SubreportFillPart.PartParent
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_UNKNOWN_REPORT_PRINT_ORDER
static String
EXCEPTION_MESSAGE_KEY_UNKNOWN_REPORT_SECTION_TYPE
static String
PROPERTY_BOOKMARKS_DATA_SOURCE_PARAMETER
Property that references the parameter containing the bookmarks data source.-
Fields inherited from class net.sf.jasperreports.engine.part.BasePartFillComponent
fillContext
-
-
Constructor Summary
Constructors Constructor Description SubreportFillPart(SubreportPartComponent subreportPart, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JRBaseFiller
createBandSubfiller(PartPrintOutput output)
protected BaseReportFiller
createPartSubfiller(PartPrintOutput output)
protected BaseReportFiller
createSubreportFiller(PartPrintOutput output)
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.protected String
getPartName()
protected JRPropertiesHolder
getPrintPartProperties()
-
Methods inherited from class net.sf.jasperreports.engine.part.BasePartFillComponent
getJasperReportsContext, initialize
-
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_UNKNOWN_REPORT_PRINT_ORDER
public static final String EXCEPTION_MESSAGE_KEY_UNKNOWN_REPORT_PRINT_ORDER
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_UNKNOWN_REPORT_SECTION_TYPE
public static final String EXCEPTION_MESSAGE_KEY_UNKNOWN_REPORT_SECTION_TYPE
- See Also:
- Constant Field Values
-
PROPERTY_BOOKMARKS_DATA_SOURCE_PARAMETER
public static final String PROPERTY_BOOKMARKS_DATA_SOURCE_PARAMETER
Property that references the parameter containing the bookmarks data source.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SubreportFillPart
public SubreportFillPart(SubreportPartComponent subreportPart, JRFillObjectFactory factory)
-
-
Method Detail
-
evaluate
public void evaluate(byte evaluation) throws JRException
Description copied from interface:PartFillComponent
Evaluates the fill component.This method would evaluate the component expressions and store the results to be used in
PartFillComponent.fill(PartPrintOutput)
.- Parameters:
evaluation
- the evaluation type- Throws:
JRException
-
fill
public void fill(PartPrintOutput output) throws JRException
Description copied from interface:PartFillComponent
Fills the component by creating a print element which will be included in the generated report.- Throws:
JRException
-
createSubreportFiller
protected BaseReportFiller createSubreportFiller(PartPrintOutput output) throws JRException
- Throws:
JRException
-
createBandSubfiller
protected JRBaseFiller createBandSubfiller(PartPrintOutput output) throws JRException
- Throws:
JRException
-
createPartSubfiller
protected BaseReportFiller createPartSubfiller(PartPrintOutput output) throws JRException
- Throws:
JRException
-
getPartName
protected String getPartName()
-
getPrintPartProperties
protected JRPropertiesHolder getPrintPartProperties()
-
-