Package net.sf.jasperreports.engine.fill
Class FillerSubreportParent
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.FillerSubreportParent
-
- All Implemented Interfaces:
BandReportFillerParent
,FillerParent
- Direct Known Subclasses:
ComponentFillerSubreportParent
public class FillerSubreportParent extends Object implements BandReportFillerParent
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_NO_SUBREPORT_RUNNER
static String
EXCEPTION_MESSAGE_KEY_UNSUPPORTED_OVERFLOW
-
Constructor Summary
Constructors Constructor Description FillerSubreportParent(JRFillSubreport parentElement, DatasetExpressionEvaluator evaluator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
abortSubfiller(JRBaseFiller filler)
void
addPage(FillerPageAddedEvent pageAdded)
DatasetExpressionEvaluator
getCachedEvaluator()
int
getCurrentPageStretchHeight()
BaseReportFiller
getFiller()
JRPropertiesHolder
getParentProperties()
String
getReportLocation()
String
getReportName()
boolean
isPageBreakInhibited()
boolean
isParentPagination()
boolean
isRunToBottom()
boolean
isSplitTypePreventInhibited(boolean isTopLevelCall)
void
registerReportStyles(List<JRStyle> styles)
void
registerSubfiller(JRBaseFiller filler)
void
setSubreportRunner(JRSubreportRunner subreportRunner)
protected void
suspendSubreportRunner(FillerPageAddedEvent pageAdded)
void
unregisterSubfiller(JRBaseFiller filler)
void
updateBookmark(JRPrintElement element)
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_UNSUPPORTED_OVERFLOW
public static final String EXCEPTION_MESSAGE_KEY_UNSUPPORTED_OVERFLOW
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_NO_SUBREPORT_RUNNER
public static final String EXCEPTION_MESSAGE_KEY_NO_SUBREPORT_RUNNER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FillerSubreportParent
public FillerSubreportParent(JRFillSubreport parentElement, DatasetExpressionEvaluator evaluator)
-
-
Method Detail
-
getReportName
public String getReportName()
- Specified by:
getReportName
in interfaceBandReportFillerParent
-
getFiller
public BaseReportFiller getFiller()
- Specified by:
getFiller
in interfaceFillerParent
-
getParentProperties
public JRPropertiesHolder getParentProperties()
- Specified by:
getParentProperties
in interfaceFillerParent
-
registerSubfiller
public void registerSubfiller(JRBaseFiller filler)
- Specified by:
registerSubfiller
in interfaceBandReportFillerParent
-
unregisterSubfiller
public void unregisterSubfiller(JRBaseFiller filler)
- Specified by:
unregisterSubfiller
in interfaceBandReportFillerParent
-
abortSubfiller
public void abortSubfiller(JRBaseFiller filler)
- Specified by:
abortSubfiller
in interfaceBandReportFillerParent
-
isRunToBottom
public boolean isRunToBottom()
- Specified by:
isRunToBottom
in interfaceBandReportFillerParent
-
isParentPagination
public boolean isParentPagination()
- Specified by:
isParentPagination
in interfaceFillerParent
-
isPageBreakInhibited
public boolean isPageBreakInhibited()
- Specified by:
isPageBreakInhibited
in interfaceBandReportFillerParent
-
isSplitTypePreventInhibited
public boolean isSplitTypePreventInhibited(boolean isTopLevelCall)
- Specified by:
isSplitTypePreventInhibited
in interfaceBandReportFillerParent
-
getCachedEvaluator
public DatasetExpressionEvaluator getCachedEvaluator()
- Specified by:
getCachedEvaluator
in interfaceFillerParent
-
setSubreportRunner
public void setSubreportRunner(JRSubreportRunner subreportRunner)
-
addPage
@continuable public void addPage(FillerPageAddedEvent pageAdded) throws JRException
- Specified by:
addPage
in interfaceBandReportFillerParent
- Throws:
JRException
-
suspendSubreportRunner
@continuable protected void suspendSubreportRunner(FillerPageAddedEvent pageAdded) throws JRException
- Throws:
JRException
-
getCurrentPageStretchHeight
public int getCurrentPageStretchHeight()
-
updateBookmark
public void updateBookmark(JRPrintElement element)
- Specified by:
updateBookmark
in interfaceFillerParent
-
getReportLocation
public String getReportLocation()
- Specified by:
getReportLocation
in interfaceBandReportFillerParent
-
registerReportStyles
public void registerReportStyles(List<JRStyle> styles)
- Specified by:
registerReportStyles
in interfaceBandReportFillerParent
-
-