public class LassoSelectionDialog
extends java.lang.Object
implements android.content.DialogInterface.OnDismissListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
LassoSelectionDialog.Callback
Callback invoked when content is selected in this dialog
|
| Constructor and Description |
|---|
LassoSelectionDialog(MapView mapView) |
| Modifier and Type | Method and Description |
|---|---|
void |
onDismiss(android.content.DialogInterface dialog) |
LassoSelectionDialog |
setCallback(LassoSelectionDialog.Callback cb)
Set the callback to be invoked when the selection is finished
|
LassoSelectionDialog |
setFilter(URIFilter filter)
Set the URI-based filter for accepting content in the lasso
|
LassoSelectionDialog |
setLassoShape(DrawingShape shape)
Set the shape used for lassoing content
|
void |
show()
Show the dialog
|
public LassoSelectionDialog(MapView mapView)
public LassoSelectionDialog setLassoShape(DrawingShape shape)
shape - Lasso shapepublic LassoSelectionDialog setFilter(URIFilter filter)
filter - URI filterpublic LassoSelectionDialog setCallback(LassoSelectionDialog.Callback cb)
cb - Callbackpublic void show()
public void onDismiss(android.content.DialogInterface dialog)
onDismiss in interface android.content.DialogInterface.OnDismissListener