public class XPathPreviewWorker extends Object implements org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
| Constructor and Description |
|---|
XPathPreviewWorker(org.pentaho.reporting.engine.classic.extensions.datasources.xpath.XPathDataFactory dataFactory,
String query) |
| 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 XPathPreviewWorker(org.pentaho.reporting.engine.classic.extensions.datasources.xpath.XPathDataFactory dataFactory,
String query)
public org.pentaho.reporting.engine.classic.core.ReportDataFactoryException getException()
public TableModel getResultTableModel()
getResultTableModel in interface org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorkerpublic void close()
close in interface org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorkerpublic void cancelProcessing(org.pentaho.reporting.libraries.designtime.swing.background.CancelEvent event)
cancelProcessing in interface org.pentaho.reporting.libraries.designtime.swing.background.CancelListenerpublic 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 RunnableThread.run()