public class CircleCreationButtonTool extends DrawingCircleCreationTool implements android.view.View.OnLongClickListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TOOL_IDENTIFIER |
_circle, _context, _mapGroup, _prefs, _tempCenter
_identifier, _mapListenerCount
Constructor and Description |
---|
CircleCreationButtonTool(MapView mapView,
android.widget.ImageButton button,
MapGroup drawingGroup) |
Modifier and Type | Method and Description |
---|---|
protected void |
initButton()
Performs button initialization, setting up onclick listeners etc.
|
boolean |
onLongClick(android.view.View view) |
protected void |
setActive(boolean active)
Called to set whether a tool is actively being used.
|
addCircle, onToolBegin, onToolEnd
createCircle, dispose, getDefaultColor, getDefaultName, onMapEvent, placeCenter, placeRadius, showCenterPrompt, showRadiusPrompt
clearExtraListeners, endTool, findPoint, getActive, getIdentifier, onKey, popAllMapListeners, popMapListeners, pushMapListeners, requestBeginTool, requestEndTool, shouldEndOnBack
public static final java.lang.String TOOL_IDENTIFIER
protected void initButton()
public boolean onLongClick(android.view.View view)
onLongClick
in interface android.view.View.OnLongClickListener
protected void setActive(boolean active)
Tool