public class DrawingEllipseEditTool extends ButtonTool implements Undoable, PointMapItem.OnPointChangedListener
DrawingEllipse
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TOOL_IDENTIFIER |
_button, _imageButton
_identifier, _mapListenerCount
Constructor and Description |
---|
DrawingEllipseEditTool(MapView mapView,
DrawingToolsToolbar toolbar) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Called only by the parent during final cleanup activities.
|
void |
onPointChanged(PointMapItem item) |
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.
|
boolean |
run(EditAction action) |
void |
undo() |
initButton, onButtonClicked, setActive
clearExtraListeners, endTool, findPoint, getActive, getIdentifier, onKey, popAllMapListeners, popMapListeners, pushMapListeners, requestBeginTool, requestEndTool, shouldEndOnBack
public static final java.lang.String TOOL_IDENTIFIER
public DrawingEllipseEditTool(MapView mapView, DrawingToolsToolbar toolbar)
public void dispose()
Tool
dispose
in class ButtonTool
public boolean onToolBegin(android.os.Bundle extras)
Tool
onToolBegin
in class ButtonTool
extras
- extra params that were passed by the GUIpublic void onToolEnd()
Tool
public void onPointChanged(PointMapItem item)
onPointChanged
in interface PointMapItem.OnPointChangedListener
public boolean run(EditAction action)