Class ReportViewer.ReportLoader

  • All Implemented Interfaces:
    java.lang.Runnable, java.util.concurrent.Future<org.apache.commons.lang3.tuple.Pair<RMDocument,​ReportExecutionData>>, java.util.concurrent.RunnableFuture<org.apache.commons.lang3.tuple.Pair<RMDocument,​ReportExecutionData>>
    Enclosing class:
    ReportViewer

    protected class ReportViewer.ReportLoader
    extends javax.swing.SwingWorker<org.apache.commons.lang3.tuple.Pair<RMDocument,​ReportExecutionData>,​java.lang.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

        javax.swing.SwingWorker.StateValue
    • Constructor Summary

      Constructors 
      Constructor Description
      ReportLoader()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.commons.lang3.tuple.Pair<RMDocument,​ReportExecutionData> doInBackground()  
      protected void done()  
      java.util.Map<java.lang.String,​java.lang.Object> generateReportParamMap()  
      • Methods inherited from class javax.swing.SwingWorker

        addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReportLoader

        public ReportLoader()
    • Method Detail

      • generateReportParamMap

        public java.util.Map<java.lang.String,​java.lang.Object> generateReportParamMap()
      • doInBackground

        protected org.apache.commons.lang3.tuple.Pair<RMDocument,​ReportExecutionData> doInBackground()
                                                                                                    throws java.lang.Exception
        Specified by:
        doInBackground in class javax.swing.SwingWorker<org.apache.commons.lang3.tuple.Pair<RMDocument,​ReportExecutionData>,​java.lang.Void>
        Throws:
        java.lang.Exception
      • done

        protected void done()
        Overrides:
        done in class javax.swing.SwingWorker<org.apache.commons.lang3.tuple.Pair<RMDocument,​ReportExecutionData>,​java.lang.Void>