public class RangeAndBearingTool extends ButtonTool implements MapEventDispatcher.MapEventDispatchListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
static java.lang.String |
TOOL_NAME |
_button, _imageButton_identifier, _mapListenerCount, _mapView| Constructor and Description |
|---|
RangeAndBearingTool(MapView mapView,
android.widget.ImageButton button) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Called only by the parent during final cleanup activities.
|
void |
onMapEvent(MapEvent event) |
boolean |
onToolBegin(android.os.Bundle extras)
Called when this tool has been asked to start (and after the last tool has cleaned up)
|
void |
onToolEnd()
Called when this tool has been asked to end, either directly or by the user selecting a new
tool or possibly a new toolbar.
|
protected void |
prompt(int stringId) |
initButton, onButtonClicked, setActiveclearExtraListeners, endTool, findPoint, getActive, getIdentifier, onKey, popAllMapListeners, popMapListeners, pushMapListeners, requestBeginTool, requestEndTool, shouldEndOnBackpublic static final java.lang.String TAG
public static final java.lang.String TOOL_NAME
public RangeAndBearingTool(MapView mapView, android.widget.ImageButton button)
public void dispose()
Tooldispose in class ButtonToolpublic boolean onToolBegin(android.os.Bundle extras)
ToolonToolBegin in class ButtonToolextras - extra params that were passed by the GUIpublic void onToolEnd()
Toolpublic void onMapEvent(MapEvent event)
onMapEvent in interface MapEventDispatcher.MapEventDispatchListenerprotected void prompt(int stringId)