public abstract class ProgressTask
extends android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Object>
implements android.content.DialogInterface.OnClickListener
Modifier and Type | Field and Description |
---|---|
protected android.content.Context |
_context |
protected MapView |
_mapView |
Modifier | Constructor and Description |
---|---|
protected |
ProgressTask(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
getProgressMessage() |
protected abstract int |
getProgressStages() |
void |
onClick(android.content.DialogInterface dialog,
int which) |
protected void |
onPostExecute(java.lang.Object ret) |
protected void |
onPreExecute() |
protected void |
onProgressUpdate(java.lang.Integer... values) |
protected boolean |
progress(int prog,
int max) |
protected void |
progress(int stage,
int prog,
int max) |
protected void |
setProgressMessage(int strId,
java.lang.Object... args) |
protected void |
toast(int strId,
java.lang.Object... args) |
protected final MapView _mapView
protected final android.content.Context _context
protected ProgressTask(MapView mapView)
protected abstract java.lang.String getProgressMessage()
protected abstract int getProgressStages()
protected void onPreExecute()
onPreExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Object>
protected void onProgressUpdate(java.lang.Integer... values)
onProgressUpdate
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Object>
protected void onPostExecute(java.lang.Object ret)
onPostExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Object>
public void onClick(android.content.DialogInterface dialog, int which)
onClick
in interface android.content.DialogInterface.OnClickListener
protected void toast(int strId, java.lang.Object... args)
protected void setProgressMessage(int strId, java.lang.Object... args)
protected void progress(int stage, int prog, int max)
protected boolean progress(int prog, int max)