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 classSubreportFillPart.FillerPrintPartprotected classSubreportFillPart.PartBandParentprotected classSubreportFillPart.PartParent
-
Field Summary
Fields Modifier and Type Field Description static StringEXCEPTION_MESSAGE_KEY_UNKNOWN_REPORT_PRINT_ORDERstatic StringEXCEPTION_MESSAGE_KEY_UNKNOWN_REPORT_SECTION_TYPEstatic StringPROPERTY_BOOKMARKS_DATA_SOURCE_PARAMETERProperty 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 JRBaseFillercreateBandSubfiller(PartPrintOutput output)protected BaseReportFillercreatePartSubfiller(PartPrintOutput output)protected BaseReportFillercreateSubreportFiller(PartPrintOutput output)voidevaluate(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.protected StringgetPartName()protected JRPropertiesHoldergetPrintPartProperties()-
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 JRExceptionDescription copied from interface:PartFillComponentEvaluates 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:PartFillComponentFills 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()
-
-