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, onToolEndcreateCircle, dispose, getDefaultColor, getDefaultName, onMapEvent, placeCenter, placeRadius, showCenterPrompt, showRadiusPromptclearExtraListeners, endTool, findPoint, getActive, getIdentifier, onKey, popAllMapListeners, popMapListeners, pushMapListeners, requestBeginTool, requestEndTool, shouldEndOnBackpublic static final java.lang.String TOOL_IDENTIFIER
protected void initButton()
public boolean onLongClick(android.view.View view)
onLongClick in interface android.view.View.OnLongClickListenerprotected void setActive(boolean active)
Tool