|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.fill.JRSubreportRunnable net.sf.jasperreports.engine.fill.JRContinuationSubreportRunner
public class JRContinuationSubreportRunner
Implemetation of JRSubreportRunner
using Javaflow continuations.
Constructor Summary | |
---|---|
JRContinuationSubreportRunner(JRFillSubreport fillSubreport)
|
Method Summary | |
---|---|
void |
cancel()
Cancels the current fill process. |
boolean |
isFilling()
Decides whether the subreport filling has ended or not. |
void |
reset()
Resets the runner, preparing it for a new fill. |
JRSubreportRunResult |
resume()
Resumes the filling of a subreport. |
JRSubreportRunResult |
start()
Starts to fill the subreport. |
void |
suspend()
Suspends the current fill. |
Methods inherited from class net.sf.jasperreports.engine.fill.JRSubreportRunnable |
---|
isRunning, run, runResult |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JRContinuationSubreportRunner(JRFillSubreport fillSubreport)
Method Detail |
---|
public boolean isFilling()
JRSubreportRunner
isFilling
in interface JRSubreportRunner
true
if and only if the subreport filling has not endedpublic JRSubreportRunResult start()
JRSubreportRunner
This method is always called by a thread owning the lock on the subreport filler.
start
in interface JRSubreportRunner
public JRSubreportRunResult resume()
JRSubreportRunner
This method is called after the fill has been suspended by
suspend
and the subreport should continue on the new page.
This method is always called by a thread owning the lock on the subreport filler.
resume
in interface JRSubreportRunner
public void reset()
JRSubreportRunner
reset
in interface JRSubreportRunner
public void cancel()
JRSubreportRunner
This method is called when a subreport is placed on a non splitting band and needs to rewind.
This method is always called by a thread owning the lock on the subreport filler.
cancel
in interface JRSubreportRunner
public void suspend()
JRSubreportRunner
This method is called when the subreport reaches the end of a page and needs to wait for the master to create a new page.
This method is always called by a thread owning the lock on the subreport filler.
suspend
in interface JRSubreportRunner
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |