TResult
- The result that is produced by the calculation.public abstract static class RnaFileIO.BackendCalc<TResult> extends RnaFileIO.BackgroundWork<TResult>
Modifier and Type | Field and Description |
---|---|
protected int |
_stepWork |
protected int |
_workComplete |
protected ProgressHandler |
backendProgress |
_canCancel, _complete, _err, _isCanceled, _isDone, _progress, _result, _status, _tag, _update
Constructor and Description |
---|
BackendCalc() |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
int |
getProgress() |
boolean |
isCanceled() |
protected void |
nextStep(int workInStep) |
protected void |
nextStep(int workInStep,
java.lang.String status,
boolean canCancel) |
calcResult, canCancel, getError, getResult, getStatus, getTag, isDone, notifyUpdate, onUpdate, setError, setError, start, update, update, whenDone
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hadError
protected int _stepWork
protected int _workComplete
protected ProgressHandler backendProgress
public void cancel()
cancel
in interface RnaFileIO.AsyncTask<TResult>
cancel
in class RnaFileIO.BackgroundWork<TResult>
public int getProgress()
getProgress
in interface RnaFileIO.AsyncTask<TResult>
getProgress
in class RnaFileIO.BackgroundWork<TResult>
public boolean isCanceled()
isCanceled
in interface RnaFileIO.AsyncTask<TResult>
isCanceled
in class RnaFileIO.BackgroundWork<TResult>
protected void nextStep(int workInStep)
protected void nextStep(int workInStep, java.lang.String status, boolean canCancel)