public class SelectPointButtonTool extends SpecialPointButtonTool implements android.content.SharedPreferences.OnSharedPreferenceChangeListener
SpecialPointButtonTool.States
Modifier and Type | Field and Description |
---|---|
android.content.BroadcastReceiver |
br |
protected RangeAndBearingMapItem |
rb |
protected static java.lang.String |
REDX_FAH |
protected static java.lang.String |
REDX_LB |
static java.lang.String |
REDX_SELF |
protected static java.lang.String |
SPI_FAH |
protected static java.lang.String |
SPI_LB |
static java.lang.String |
SPI_SELF |
_buttonClickListener, _buttonLongClickListener, _marker
_identifier, _mapListenerCount, _mapView
Modifier | Constructor and Description |
---|---|
protected |
SelectPointButtonTool(MapView mapView,
android.widget.ImageButton button) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Called only by the parent during final cleanup activities.
|
DesignatorTargetLine |
fetchDesignatorTargetLine(java.lang.String uid) |
protected FahArrowWidget.Item |
fetchFahArrowWidget(PointMapItem mi) |
static SelectPointButtonTool |
getInstance(MapView mapView,
android.widget.ImageButton button)
This has a getInstance method because there are multiple places where the button can
reside.
|
protected java.lang.String |
getNavReference()
Get the
NavButtonModel reference for this tool |
void |
onSharedPreferenceChanged(android.content.SharedPreferences p,
java.lang.String key) |
boolean |
onToolBegin(android.os.Bundle bundle)
Called when this tool has been asked to start (and after the last tool has cleaned up)
|
protected void |
setCurrentState(SpecialPointButtonTool.States s) |
addButton, createMarker, exectuteLongClick, executeClick, getMarker, getResourceId, getState, off, onToolEnd, removeMarker, setActionMenuData, shouldEndOnBack
clearExtraListeners, endTool, findPoint, getActive, getIdentifier, onKey, popAllMapListeners, popMapListeners, pushMapListeners, requestBeginTool, requestEndTool, setActive
protected static final java.lang.String REDX_FAH
protected static final java.lang.String REDX_LB
public static final java.lang.String REDX_SELF
public static final java.lang.String SPI_SELF
protected static final java.lang.String SPI_FAH
protected static final java.lang.String SPI_LB
protected RangeAndBearingMapItem rb
public final android.content.BroadcastReceiver br
protected SelectPointButtonTool(MapView mapView, android.widget.ImageButton button)
public static SelectPointButtonTool getInstance(MapView mapView, android.widget.ImageButton button)
mapView
- MapView to use to construct this instancebutton
- Button that will invoke this toolprotected java.lang.String getNavReference()
SpecialPointButtonTool
NavButtonModel
reference for this toolgetNavReference
in class SpecialPointButtonTool
protected FahArrowWidget.Item fetchFahArrowWidget(PointMapItem mi)
public DesignatorTargetLine fetchDesignatorTargetLine(java.lang.String uid)
public boolean onToolBegin(android.os.Bundle bundle)
Tool
onToolBegin
in class SpecialPointButtonTool
bundle
- extra params that were passed by the GUIpublic void dispose()
Tool
dispose
in class SpecialPointButtonTool
protected void setCurrentState(SpecialPointButtonTool.States s)
setCurrentState
in class SpecialPointButtonTool
public void onSharedPreferenceChanged(android.content.SharedPreferences p, java.lang.String key)
onSharedPreferenceChanged
in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener