public class RerouteDialog
extends java.lang.Object
implements android.content.DialogInterface.OnClickListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREF_ACTIVE_REROUTE_ENGINE |
static java.lang.String |
PREF_IS_REROUTE_ACTIVE_KEY |
static java.lang.String |
TAG |
Constructor and Description |
---|
RerouteDialog(android.app.Activity activity,
MapView mapView,
RoutePlannerManager rpm) |
Modifier and Type | Method and Description |
---|---|
void |
dismiss()
Dismisses the dialog.
|
void |
onClick(android.content.DialogInterface dialog,
int which) |
void |
setListener(android.content.DialogInterface.OnClickListener listener)
Sets the listener that will receive events from the dialog.
|
void |
show()
Creates and shows the underlying AlertDialog.
|
public static final java.lang.String TAG
public static final java.lang.String PREF_IS_REROUTE_ACTIVE_KEY
public static final java.lang.String PREF_ACTIVE_REROUTE_ENGINE
public RerouteDialog(android.app.Activity activity, MapView mapView, RoutePlannerManager rpm)
public void show()
public void dismiss()
public void setListener(android.content.DialogInterface.OnClickListener listener)
listener
- the listener to receive events from the dialogpublic void onClick(android.content.DialogInterface dialog, int which)
onClick
in interface android.content.DialogInterface.OnClickListener