Class ReportViewer.ReportLoader
java.lang.Object
javax.swing.SwingWorker<org.apache.commons.lang3.tuple.Pair<RMDocument,ReportExecutionData>,Void>
com.inductiveautomation.reporting.components.ReportViewer.ReportLoader
- All Implemented Interfaces:
Runnable
,Future<org.apache.commons.lang3.tuple.Pair<RMDocument,
,ReportExecutionData>> RunnableFuture<org.apache.commons.lang3.tuple.Pair<RMDocument,
ReportExecutionData>>
- Enclosing class:
- ReportViewer
protected class ReportViewer.ReportLoader
extends SwingWorker<org.apache.commons.lang3.tuple.Pair<RMDocument,ReportExecutionData>,Void>
ReportLoader is the background process that runs to collect the data for a report without blocking the UI
thread.
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.commons.lang3.tuple.Pair<RMDocument,
ReportExecutionData> protected void
done()
Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
-
Constructor Details
-
ReportLoader
public ReportLoader()
-
-
Method Details
-
generateReportParamMap
-
doInBackground
protected org.apache.commons.lang3.tuple.Pair<RMDocument,ReportExecutionData> doInBackground() throws Exception- Specified by:
doInBackground
in classSwingWorker<org.apache.commons.lang3.tuple.Pair<RMDocument,
ReportExecutionData>, Void> - Throws:
Exception
-
done
protected void done()- Overrides:
done
in classSwingWorker<org.apache.commons.lang3.tuple.Pair<RMDocument,
ReportExecutionData>, Void>
-