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 SwingWorker
SwingWorker.StateValueNested classes/interfaces inherited from interface Future
Future.State -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.commons.lang3.tuple.Pair<RMDocument, ReportExecutionData> protected voiddone()Methods inherited from class SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgressMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Future
exceptionNow, resultNow, state
-
Constructor Details
-
ReportLoader
public ReportLoader()
-
-
Method Details
-
generateReportParamMap
-
doInBackground
protected org.apache.commons.lang3.tuple.Pair<RMDocument, ReportExecutionData> doInBackground() throws Exception- Specified by:
doInBackgroundin classSwingWorker<org.apache.commons.lang3.tuple.Pair<RMDocument, ReportExecutionData>, Void>- Throws:
Exception
-
done
protected void done()- Overrides:
donein classSwingWorker<org.apache.commons.lang3.tuple.Pair<RMDocument, ReportExecutionData>, Void>
-