jsky.image.gui
Class ImagePrintDialog.PrintWorker

java.lang.Object
  extended by jsky.util.SwingWorker
      extended by jsky.image.gui.ImagePrintDialog.PrintWorker
Enclosing class:
ImagePrintDialog

protected class ImagePrintDialog.PrintWorker
extends SwingWorker

Performs all the print calculations in a separate thread. A progress bar is shown to the user while the printing occurs.


Field Summary
 
Fields inherited from class jsky.util.SwingWorker
thread
 
Constructor Summary
ImagePrintDialog.PrintWorker(PrinterJob job)
           
 
Method Summary
 Object construct()
          Compute the value to be returned by the get method.
 void finished()
          Called on the event dispatching thread (not on the worker thread) after the construct method has returned.
 
Methods inherited from class jsky.util.SwingWorker
get, getValue, interrupt, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImagePrintDialog.PrintWorker

public ImagePrintDialog.PrintWorker(PrinterJob job)
Method Detail

construct

public Object construct()
Description copied from class: SwingWorker
Compute the value to be returned by the get method.

Specified by:
construct in class SwingWorker

finished

public void finished()
Description copied from class: SwingWorker
Called on the event dispatching thread (not on the worker thread) after the construct method has returned.

Overrides:
finished in class SwingWorker