Class SequencePreviewWorker
- java.lang.Object
-
- org.pentaho.reporting.ui.datasources.sequence.SequencePreviewWorker
-
- All Implemented Interfaces:
Runnable
,EventListener
,org.pentaho.reporting.libraries.designtime.swing.background.CancelListener
,org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
public class SequencePreviewWorker extends Object implements org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
-
-
Constructor Summary
Constructors Constructor Description SequencePreviewWorker(org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sequence.Sequence query, org.pentaho.reporting.engine.classic.core.designtime.DesignTimeContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 interfaceRunnable
is used to create a thread, starting the thread causes the object'srun
method to be called in that separately executing thread.
-
-
-
Constructor Detail
-
SequencePreviewWorker
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
- Throws:
org.pentaho.reporting.engine.classic.core.ReportProcessingException
-
-
Method Detail
-
getException
public org.pentaho.reporting.engine.classic.core.ReportDataFactoryException getException()
-
getResultTableModel
public TableModel getResultTableModel()
- Specified by:
getResultTableModel
in interfaceorg.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
-
close
public void close()
- Specified by:
close
in interfaceorg.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
-
cancelProcessing
public void cancelProcessing(org.pentaho.reporting.libraries.designtime.swing.background.CancelEvent event)
Requests that the thread stop processing as soon as possible.- Specified by:
cancelProcessing
in interfaceorg.pentaho.reporting.libraries.designtime.swing.background.CancelListener
-
run
public void run()
When an object implementing interfaceRunnable
is used to create a thread, starting the thread causes the object'srun
method to be called in that separately executing thread. The general contract of the methodrun
is that it may take any action whatsoever.- Specified by:
run
in interfaceRunnable
- See Also:
Thread.run()
-
-