generalDatabase
Class DBControlUnit.CreateDataMap

java.lang.Object
  extended by javax.swing.SwingWorker<java.lang.Integer,CreateMapInfo>
      extended by generalDatabase.DBControlUnit.CreateDataMap
All Implemented Interfaces:
java.lang.Runnable, java.util.concurrent.Future<java.lang.Integer>, java.util.concurrent.RunnableFuture<java.lang.Integer>
Enclosing class:
DBControlUnit

 class DBControlUnit.CreateDataMap
extends javax.swing.SwingWorker<java.lang.Integer,CreateMapInfo>


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.SwingWorker
javax.swing.SwingWorker.StateValue
 
Field Summary
private  DBMapMakingDialog dbMapDialog
           
private  java.util.ArrayList<PamDataBlock> loggingBlocks
           
 
Constructor Summary
DBControlUnit.CreateDataMap()
           
 
Method Summary
protected  java.lang.Integer doInBackground()
           
protected  void done()
           
private  void mapDataBlock(int iBlock)
          Make a data map of a datablock using one hour time intervals.
protected  void process(java.util.List<CreateMapInfo> dataList)
           
 
Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

loggingBlocks

private java.util.ArrayList<PamDataBlock> loggingBlocks

dbMapDialog

private DBMapMakingDialog dbMapDialog
Constructor Detail

DBControlUnit.CreateDataMap

DBControlUnit.CreateDataMap()
Method Detail

doInBackground

protected java.lang.Integer doInBackground()
                                    throws java.lang.Exception
Specified by:
doInBackground in class javax.swing.SwingWorker<java.lang.Integer,CreateMapInfo>
Throws:
java.lang.Exception

mapDataBlock

private void mapDataBlock(int iBlock)
Make a data map of a datablock using one hour time intervals.

Parameters:
iBlock - index of datablock in a list of logging data blocks.

done

protected void done()
Overrides:
done in class javax.swing.SwingWorker<java.lang.Integer,CreateMapInfo>

process

protected void process(java.util.List<CreateMapInfo> dataList)
Overrides:
process in class javax.swing.SwingWorker<java.lang.Integer,CreateMapInfo>