public abstract class HMExecutor extends SwingWorker<Void,HMExecutor.Update>
| Modifier and Type | Class and Description |
|---|---|
static interface |
HMExecutor.ProgressPrinter
Class to help printing to console or gui.
|
static class |
HMExecutor.Update
Class to hold update messages and work done.
|
SwingWorker.StateValue| Modifier and Type | Field and Description |
|---|---|
protected int |
h |
protected HMExecutor.ProgressPrinter |
progress |
protected int |
w |
| Constructor and Description |
|---|
HMExecutor() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
backGroundWork() |
protected Void |
doInBackground() |
protected void |
done() |
protected void |
process(List<HMExecutor.Update> chunks) |
void |
setProgressPrinter(HMExecutor.ProgressPrinter progress) |
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgressprotected int w
protected int h
protected HMExecutor.ProgressPrinter progress
public void setProgressPrinter(HMExecutor.ProgressPrinter progress)
protected void process(List<HMExecutor.Update> chunks)
process in class SwingWorker<Void,HMExecutor.Update>protected Void doInBackground()
doInBackground in class SwingWorker<Void,HMExecutor.Update>protected void done()
done in class SwingWorker<Void,HMExecutor.Update>Copyright © 2005-2019 HydroloGIS. All Rights Reserved.