public abstract class AbstractCreationTask extends ProgressTask
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractCreationTask.Callback |
Modifier and Type | Field and Description |
---|---|
protected boolean |
_background |
protected AbstractCreationTask.Callback |
_callback |
protected AbstractSheetData |
_data |
protected MapView |
_mapView |
_context
Constructor and Description |
---|
AbstractCreationTask(MapView mapView,
AbstractSheetData sheet,
boolean background,
AbstractCreationTask.Callback callback) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
doInBackground(java.lang.Void... params) |
abstract java.lang.String |
getFailMessage() |
boolean |
isBackground() |
protected void |
onPostExecute(java.lang.Object ret) |
protected void |
onPreExecute() |
getProgressMessage, getProgressStages, onClick, onProgressUpdate, progress, progress, setProgressMessage, toast
protected final MapView _mapView
protected final AbstractSheetData _data
protected final boolean _background
protected final AbstractCreationTask.Callback _callback
public AbstractCreationTask(MapView mapView, AbstractSheetData sheet, boolean background, AbstractCreationTask.Callback callback)
public boolean isBackground()
protected void onPreExecute()
onPreExecute
in class ProgressTask
protected java.lang.Object doInBackground(java.lang.Void... params)
doInBackground
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Object>
protected void onPostExecute(java.lang.Object ret)
onPostExecute
in class ProgressTask
public abstract java.lang.String getFailMessage()