de.beamertool.admin
Class WaitWorker<T>
java.lang.Object
javax.swing.SwingWorker<T,String>
de.beamertool.admin.WaitWorker<T>
- All Implemented Interfaces:
- Runnable, Future<T>, RunnableFuture<T>
- Direct Known Subclasses:
- SaveWorker, SearchHostWorker
public abstract class WaitWorker<T>
- extends SwingWorker<T,String>
Small wrapper class around a SwingWorker.
It represents it's work by a small JDialg with a progress bar. The progress
bar might be in definitive or undefinitive mode.
- Author:
- ocm-zeeman
|
Constructor Summary |
WaitWorker(Window owner)
Creates the SwingWorker and the wait dialog. |
| Methods inherited from class javax.swing.SwingWorker |
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, removePropertyChangeListener, run |
WaitWorker
public WaitWorker(Window owner)
- Creates the SwingWorker and the wait dialog.
Override required methods of SwingWorker to do your job.
- Parameters:
owner - the owner of the dialog wait window