uk.ac.cisban.rod.gui.functions.fill
Class GetMasterplateSets

java.lang.Object
  extended by javax.swing.SwingWorker<MANAGED,MANAGED1>
      extended by uk.ac.cisban.rod.data.handlers.StateSwingWorker<java.lang.Void,MasterplateSet>
          extended by uk.ac.cisban.rod.gui.functions.fill.GetMasterplateSets
All Implemented Interfaces:
java.lang.Runnable, java.util.concurrent.Future<java.lang.Void>, java.util.concurrent.RunnableFuture<java.lang.Void>

public class GetMasterplateSets
extends StateSwingWorker<java.lang.Void,MasterplateSet>

Fills the provided JComboBox with a list of MasterplateSets from the database.

Author:
Morgan Taschuk

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.SwingWorker
javax.swing.SwingWorker.StateValue
 
Constructor Summary
GetMasterplateSets(javax.swing.JComboBox masterplateSetsBox)
           
 
Method Summary
 java.lang.Void doInBackground()
           
 void done()
           
 void progress(java.util.Collection<MasterplateSet> media)
           
 
Methods inherited from class uk.ac.cisban.rod.data.handlers.StateSwingWorker
addException, addExceptions, getException, getId, getStatus, setRandomProgress, setStatus
 
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

GetMasterplateSets

public GetMasterplateSets(javax.swing.JComboBox masterplateSetsBox)
Method Detail

doInBackground

public java.lang.Void doInBackground()
Specified by:
doInBackground in class javax.swing.SwingWorker<java.lang.Void,MasterplateSet>

progress

public void progress(java.util.Collection<MasterplateSet> media)

done

public void done()
Overrides:
done in class javax.swing.SwingWorker<java.lang.Void,MasterplateSet>


Copyright © 2010. All Rights Reserved.