public class RangeAndBearingDropDown extends DropDownReceiver implements DropDown.OnStateListener, android.view.View.OnClickListener, MapItem.OnGroupChangedListener, PointMapItem.OnPointChangedListener, MapEventDispatcher.MapEventDispatchListener
| Modifier and Type | Field and Description |
|---|---|
protected android.widget.ImageButton |
_colorButton |
protected android.view.ViewGroup |
_dropDownView |
protected android.widget.Button |
_elevationButton |
protected android.widget.LinearLayout |
_endPointButton |
protected android.widget.ImageView |
_endPointIcon |
protected android.widget.TextView |
_endPointLabel |
protected android.view.ViewGroup |
_etaParent |
protected android.widget.TextView |
_etaText |
protected ExtraDetailsLayout |
_extrasLayout |
protected android.widget.EditText |
_nameEditText |
protected int |
_paddingValue |
protected RangeAndBearingMapItem |
_rabItem |
protected android.widget.ImageButton |
_rbPanTo |
protected RemarksLayout |
_remarksEditText |
protected android.widget.ImageButton |
_reverseButton |
protected android.widget.ImageButton |
_sendButton |
protected android.widget.EditText |
_speedEditText |
protected android.widget.TextView |
_speedTitle |
protected android.widget.LinearLayout |
_startPointButton |
protected android.widget.ImageView |
_startPointIcon |
protected android.widget.TextView |
_startPointLabel |
protected com.atakmap.android.toolbars.RouteRangeAndBearingWrapper |
_tmpRoute |
protected RangeAndBearingTableHandler |
rabtable |
static java.lang.String |
TAG |
DROPDOWN_STATE_FULLSCREEN, DROPDOWN_STATE_NONE, DROPDOWN_STATE_NORMAL, FIVE_EIGTHS_HEIGHT, FIVE_EIGTHS_WIDTH, FIVE_TWELFTHS_HEIGHT, FIVE_TWELFTHS_WIDTH, FULL_HEIGHT, FULL_WIDTH, HALF_HEIGHT, HALF_WIDTH, HANDLE_THICKNESS_LANDSCAPE, HANDLE_THICKNESS_PORTRAIT, NO_HEIGHT, NO_WIDTH, QUARTER_SCREEN, SEVEN_SIXTEENTH_WIDTH, THIRD_HEIGHT, THIRD_WIDTH, THREE_EIGHTHS_HEIGHT, THREE_EIGHTHS_WIDTH, TWO_THIRDS_HEIGHT, TWO_THIRDS_WIDTH| Constructor and Description |
|---|
RangeAndBearingDropDown(MapView mapView) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
convertSpeedToMps(double speed) |
protected void |
createOnRemoveListeners() |
protected void |
displayCoordinateDialog(GeoPointMetaData point,
int pointNum) |
void |
disposeImpl()
Any drop down specific disposal implementation that is performed during the
disposal of a drop down.
|
protected void |
initializeWidgets() |
void |
onClick(android.view.View v) |
void |
onDropDownClose() |
void |
onDropDownSelectionRemoved() |
void |
onDropDownSizeChanged(double width,
double height) |
void |
onDropDownVisible(boolean v) |
void |
onItemAdded(MapItem item,
MapGroup group) |
void |
onItemRemoved(MapItem item,
MapGroup group) |
void |
onMapEvent(MapEvent event) |
void |
onPointChanged(PointMapItem pointMapItem) |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
protected void |
openRangeAndBearing() |
protected void |
populateLocationWidgets() |
protected void |
populateWidgets() |
protected void |
reverseLine() |
protected void |
updateColorButton(int color) |
void |
updateUnits() |
_showDropDown, callResize, closeDropDown, dispose, dropDownAlreadyExists, getAssociationKey, getBackStackCount, getDropDown, getMapView, hideDropDown, isClosed, isPortrait, isRetained, isTablet, isTransient, isVisible, onBackButtonPressed, onStateRequested, resize, setAssociationKey, setRetain, setSelected, setSelected, setSelected, setTransient, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, unhideDropDownabortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtrasprotected android.view.ViewGroup _dropDownView
protected RangeAndBearingMapItem _rabItem
protected android.widget.EditText _nameEditText
protected RemarksLayout _remarksEditText
protected android.widget.ImageButton _colorButton
protected android.widget.Button _elevationButton
protected android.widget.ImageButton _sendButton
protected android.widget.ImageButton _reverseButton
protected android.widget.LinearLayout _startPointButton
protected android.widget.LinearLayout _endPointButton
protected android.widget.ImageButton _rbPanTo
protected android.widget.ImageView _startPointIcon
protected android.widget.ImageView _endPointIcon
protected android.widget.TextView _startPointLabel
protected android.widget.TextView _endPointLabel
protected android.view.ViewGroup _etaParent
protected android.widget.TextView _speedTitle
protected android.widget.EditText _speedEditText
protected android.widget.TextView _etaText
protected ExtraDetailsLayout _extrasLayout
protected int _paddingValue
protected RangeAndBearingTableHandler rabtable
protected com.atakmap.android.toolbars.RouteRangeAndBearingWrapper _tmpRoute
public static final java.lang.String TAG
public RangeAndBearingDropDown(MapView mapView)
public void disposeImpl()
DropDownReceiverdisposeImpl in class DropDownReceiverprotected void openRangeAndBearing()
public void onMapEvent(MapEvent event)
onMapEvent in interface MapEventDispatcher.MapEventDispatchListenerpublic void onReceive(android.content.Context context,
android.content.Intent intent)
onReceive in class android.content.BroadcastReceiverprotected void initializeWidgets()
public void onClick(android.view.View v)
onClick in interface android.view.View.OnClickListenerprotected void populateWidgets()
protected void populateLocationWidgets()
public void onPointChanged(PointMapItem pointMapItem)
onPointChanged in interface PointMapItem.OnPointChangedListenerpublic void onItemAdded(MapItem item, MapGroup group)
onItemAdded in interface MapItem.OnGroupChangedListenerpublic void onItemRemoved(MapItem item, MapGroup group)
onItemRemoved in interface MapItem.OnGroupChangedListenerprotected void createOnRemoveListeners()
public void updateUnits()
protected void updateColorButton(int color)
protected void reverseLine()
protected void displayCoordinateDialog(GeoPointMetaData point,
int pointNum)
public void onDropDownSelectionRemoved()
onDropDownSelectionRemoved in interface DropDown.OnStateListenerpublic void onDropDownClose()
onDropDownClose in interface DropDown.OnStateListenerpublic void onDropDownSizeChanged(double width,
double height)
onDropDownSizeChanged in interface DropDown.OnStateListenerpublic void onDropDownVisible(boolean v)
onDropDownVisible in interface DropDown.OnStateListenerprotected double convertSpeedToMps(double speed)