Package net.sf.jasperreports.engine.fill
Class JRThreadSubreportRunner
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.JRSubreportRunnable
-
- net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner
-
- net.sf.jasperreports.engine.fill.JRThreadSubreportRunner
-
- All Implemented Interfaces:
Runnable,JRSubreportRunner
public class JRThreadSubreportRunner extends AbstractThreadSubreportRunner
Thread-basedJRSubreportRunnerimplementation.The subreport fill is launched in a new thread which coordinates suspend/resume actions with the master thread.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner
EXCEPTION_MESSAGE_KEY_THREAD_REPORT_RUNNER_WAIT_ERROR, EXCEPTION_MESSAGE_KEY_THREAD_SUBREPORT_RUNNER_WAIT_ERROR, subreportFiller
-
-
Constructor Summary
Constructors Constructor Description JRThreadSubreportRunner(JRFillSubreport fillSubreport, JRBaseFiller subreportFiller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoStart()booleanisFilling()Decides whether the subreport filling has ended or not.voidreset()Resets the runner, preparing it for a new fill.-
Methods inherited from class net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner
abort, cancel, resume, run, start, suspend, waitResult
-
Methods inherited from class net.sf.jasperreports.engine.fill.JRSubreportRunnable
isRunning, runResult
-
-
-
-
Constructor Detail
-
JRThreadSubreportRunner
public JRThreadSubreportRunner(JRFillSubreport fillSubreport, JRBaseFiller subreportFiller)
-
-
Method Detail
-
isFilling
public boolean isFilling()
Description copied from interface:JRSubreportRunnerDecides whether the subreport filling has ended or not.- Returns:
trueif and only if the subreport filling has not ended
-
doStart
protected void doStart()
- Specified by:
doStartin classAbstractThreadSubreportRunner
-
reset
public void reset()
Description copied from interface:JRSubreportRunnerResets the runner, preparing it for a new fill.
-
-