net.sf.jomic.ui
Class CreateComicWorker

java.lang.Object
  extended by net.sf.jomic.tools.SwingWorker
      extended by net.sf.jomic.ui.CreateComicWorker
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, ProgressChangeListener

public class CreateComicWorker
extends SwingWorker
implements java.awt.event.ActionListener, ProgressChangeListener

SwingWorker to create a comic from a set of image files.

Author:
Thomas Aglassinger

Constructor Summary
CreateComicWorker(java.io.File newSourceDir, java.io.File newTargetDir, Conversion newConversion, boolean newCreateComicForEachFolder, boolean newOpenAfterCreation)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 java.lang.Object construct()
          Compute the value to be returned by the get method.
 void progressChanged(Task source)
           
 
Methods inherited from class net.sf.jomic.tools.SwingWorker
finished, get, getValue, interrupt, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateComicWorker

public CreateComicWorker(java.io.File newSourceDir,
                         java.io.File newTargetDir,
                         Conversion newConversion,
                         boolean newCreateComicForEachFolder,
                         boolean newOpenAfterCreation)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

construct

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

Specified by:
construct in class SwingWorker

progressChanged

public void progressChanged(Task source)
Specified by:
progressChanged in interface ProgressChangeListener