Package PamUtils.worker
Class PamWorker.BackgroundWorker
java.lang.Object
javax.swing.SwingWorker<T,PamWorkProgressMessage>
PamUtils.worker.PamWorker.BackgroundWorker
- All Implemented Interfaces:
Runnable
,Future<T>
,RunnableFuture<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValue
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected T
protected void
done()
void
ppublish
(PamWorkProgressMessage progressMessage) protected void
process
(List<PamWorkProgressMessage> chunks) 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
Methods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Constructor Details
-
Method Details
-
doInBackground
- Specified by:
doInBackground
in classSwingWorker<T,
PamWorkProgressMessage> - Throws:
Exception
-
done
protected void done()- Overrides:
done
in classSwingWorker<T,
PamWorkProgressMessage>
-
process
- Overrides:
process
in classSwingWorker<T,
PamWorkProgressMessage>
-
ppublish
-