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, shouldEndOnBackclearExtraListeners, endTool, findPoint, getActive, getIdentifier, onKey, popAllMapListeners, popMapListeners, pushMapListeners, requestBeginTool, requestEndTool, setActiveprotected 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()
SpecialPointButtonToolNavButtonModel reference for this toolgetNavReference in class SpecialPointButtonToolprotected FahArrowWidget.Item fetchFahArrowWidget(PointMapItem mi)
public DesignatorTargetLine fetchDesignatorTargetLine(java.lang.String uid)
public boolean onToolBegin(android.os.Bundle bundle)
ToolonToolBegin in class SpecialPointButtonToolbundle - extra params that were passed by the GUIpublic void dispose()
Tooldispose in class SpecialPointButtonToolprotected void setCurrentState(SpecialPointButtonTool.States s)
setCurrentState in class SpecialPointButtonToolpublic void onSharedPreferenceChanged(android.content.SharedPreferences p,
                                      java.lang.String key)
onSharedPreferenceChanged in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener