class PlaceSelection.NameQueryTask extends PleaseWaitRunnable
| Modifier and Type | Field and Description |
|---|---|
private boolean |
canceled |
private java.net.HttpURLConnection |
connection |
private java.util.List<PlaceSelection.SearchResult> |
data |
private java.lang.Exception |
lastException |
private java.lang.String |
searchExpression |
private PlaceSelection.Server |
useserver |
progressMonitor| Constructor and Description |
|---|
NameQueryTask(java.lang.String searchExpression) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancel()
User pressed cancel button.
|
protected void |
finish()
Finish up the data work.
|
protected void |
realRun()
Called in the worker thread to do the actual work.
|
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprivate java.lang.String searchExpression
private java.net.HttpURLConnection connection
private java.util.List<PlaceSelection.SearchResult> data
private boolean canceled
private PlaceSelection.Server useserver
private java.lang.Exception lastException
public NameQueryTask(java.lang.String searchExpression)
protected void cancel()
PleaseWaitRunnablecancel in class PleaseWaitRunnableprotected void finish()
PleaseWaitRunnablefinish in class PleaseWaitRunnableprotected void realRun() throws org.xml.sax.SAXException, java.io.IOException, OsmTransferException
PleaseWaitRunnablerealRun in class PleaseWaitRunnableorg.xml.sax.SAXExceptionjava.io.IOExceptionOsmTransferException