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