public class SequencePreviewWorker extends Object implements org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
Constructor and Description |
---|
SequencePreviewWorker(org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sequence.Sequence query,
org.pentaho.reporting.engine.classic.core.designtime.DesignTimeContext context) |
Modifier and Type | Method and Description |
---|---|
void |
cancelProcessing(org.pentaho.reporting.libraries.designtime.swing.background.CancelEvent event)
Requests that the thread stop processing as soon as possible.
|
void |
close() |
org.pentaho.reporting.engine.classic.core.ReportDataFactoryException |
getException() |
TableModel |
getResultTableModel() |
void |
run()
When an object implementing interface
Runnable is used to create a thread, starting the thread causes
the object's run method to be called in that separately executing thread. |
public SequencePreviewWorker(org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sequence.Sequence query, org.pentaho.reporting.engine.classic.core.designtime.DesignTimeContext context) throws org.pentaho.reporting.engine.classic.core.ReportProcessingException
org.pentaho.reporting.engine.classic.core.ReportProcessingException
public org.pentaho.reporting.engine.classic.core.ReportDataFactoryException getException()
public TableModel getResultTableModel()
getResultTableModel
in interface org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
public void close()
close
in interface org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
public void cancelProcessing(org.pentaho.reporting.libraries.designtime.swing.background.CancelEvent event)
cancelProcessing
in interface org.pentaho.reporting.libraries.designtime.swing.background.CancelListener
public void run()
Runnable
is used to create a thread, starting the thread causes
the object's run
method to be called in that separately executing thread.
The general contract of the method run
is that it may take any action whatsoever.run
in interface Runnable
Thread.run()