public class RouteEditTool extends EditablePolylineEditTool implements MapTouchController.DeconflictionListener, Shape.OnPointsChangedListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
static java.lang.String |
TOOL_IDENTIFIER |
_handleUndo, _insertPointIndex, _poly, _undoButton, _vertsVisible, container, MAIN_PROMPT, TAP_PROMPT, twoListenerPushesDeep_button, _imageButton_identifier, _mapListenerCount, _mapView| Constructor and Description |
|---|
RouteEditTool(MapView mapView,
android.widget.Button undoButton,
android.widget.Button drawButton,
RouteMapReceiver routeMapReceiver) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Called only by the parent during final cleanup activities.
|
boolean |
inDrawMode() |
protected void |
insertPoint(EditablePolyline poly,
int index) |
void |
onConflict(java.util.SortedSet<MapItem> hitItems)
Fired when there is a conflict.
|
void |
onPointsChanged(Shape shp) |
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 |
showMainPrompt() |
void |
toggleDrawMode() |
void |
undo() |
multipleVerticesHit, onEditableChanged, onMapEvent, runinitButton, 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_IDENTIFIER
public RouteEditTool(MapView mapView, android.widget.Button undoButton, android.widget.Button drawButton, RouteMapReceiver routeMapReceiver)
public void dispose()
Tooldispose in class EditablePolylineEditToolpublic boolean onToolBegin(android.os.Bundle extras)
ToolonToolBegin in class EditablePolylineEditToolextras - extra params that were passed by the GUIpublic void onToolEnd()
ToolonToolEnd in class EditablePolylineEditToolpublic void onPointsChanged(Shape shp)
onPointsChanged in interface Shape.OnPointsChangedListenerprotected void insertPoint(EditablePolyline poly, int index)
insertPoint in class EditablePolylineEditToolprotected void showMainPrompt()
showMainPrompt in class EditablePolylineEditToolpublic void undo()
undo in interface Undoableundo in class EditablePolylineEditToolpublic void onConflict(java.util.SortedSet<MapItem> hitItems)
MapTouchController.DeconflictionListeneronConflict in interface MapTouchController.DeconflictionListenerhitItems - the non-null set that is provided for possible manipulation by the implementaion.public void toggleDrawMode()
public boolean inDrawMode()