IMPACT
Class ViewerTask

java.lang.Object
  extended by javax.swing.SwingWorker<java.lang.Void,java.lang.Void>
      extended by IMPACT.ViewerTask
All Implemented Interfaces:
java.lang.Runnable, java.util.concurrent.Future<java.lang.Void>, java.util.concurrent.RunnableFuture<java.lang.Void>

public class ViewerTask
extends javax.swing.SwingWorker<java.lang.Void,java.lang.Void>

Implementation of background task to run PDF/PS viewer.

Author:
Emanuel Maldonado
See Also:
ConTestTask, PhyMLTask, RSoftwareTask

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.SwingWorker
javax.swing.SwingWorker.StateValue
 
Method Summary
protected  java.lang.Void doInBackground()
          Background task execution.
protected  void done()
          Termination of execution.
 boolean isdone()
          Test if task has terminated.
 void stop()
          Stop viewer task.
 
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
 

Method Detail

doInBackground

protected java.lang.Void doInBackground()
Background task execution.

Specified by:
doInBackground in class javax.swing.SwingWorker<java.lang.Void,java.lang.Void>
Returns:
run

done

protected void done()
Termination of execution.

Overrides:
done in class javax.swing.SwingWorker<java.lang.Void,java.lang.Void>

stop

public void stop()
Stop viewer task.


isdone

public boolean isdone()
Test if task has terminated.

Returns:
true if done; false otherwise