public class RangeAndBearingMapComponent extends AbstractMapComponent
AbstractMapComponent.OnAllComponentsCreatedCallback| Modifier and Type | Field and Description |
|---|---|
protected BullseyeDropDownReceiver |
_rabBullseyeDropDown |
protected RangeAndBearingCircleDropDown |
_rabCircleDropDown |
protected RangeAndBearingDropDown |
_rabLineDropDown |
static java.lang.String |
TAG |
| Constructor and Description |
|---|
RangeAndBearingMapComponent() |
| Modifier and Type | Method and Description |
|---|---|
static MapGroup |
getGroup() |
void |
onCreate(android.content.Context context,
android.content.Intent intent,
MapView view)
Called when the component is first created
|
boolean |
onCreateOptionsMenu(android.content.Context context,
android.view.Menu menu)
Is called on all Map Components when the onCreateOptionsMenu is called on the Map Activity.
|
void |
onDestroyImpl(android.content.Context context,
MapView view)
This method is invoked as a subset of the onDestroy call as part of the
MapComponent lifecycle.
|
boolean |
onOptionsItemSelected(android.content.Context context,
android.view.MenuItem item)
Called on a onOptionsItemSelected is called and not found in regular activity.
|
void |
onOptionsMenuClosed(android.content.Context context,
android.view.Menu menu)
Option menu has been closed in MapActivity.
|
boolean |
onPrepareOptionsMenu(android.content.Context context,
android.view.Menu menu)
Called to Update the Options Menu on all MapComponents in the MapActivity.
|
addOverlay, onConfigurationChanged, onDestroy, onPause, onResume, onStart, onStop, registerReceiver, removeOverlay, setOnAllComponentsCreatedCallback, unregisterReceiverpublic static final java.lang.String TAG
protected RangeAndBearingDropDown _rabLineDropDown
protected BullseyeDropDownReceiver _rabBullseyeDropDown
protected RangeAndBearingCircleDropDown _rabCircleDropDown
public void onCreate(android.content.Context context,
android.content.Intent intent,
MapView view)
MapComponentcontext - the context of the component (the MapActivity instance)intent - the intent of the MapActivityview - the main MapViewpublic void onDestroyImpl(android.content.Context context,
MapView view)
AbstractMapComponentonDestroyImpl in class AbstractMapComponentpublic boolean onCreateOptionsMenu(android.content.Context context,
android.view.Menu menu)
MapComponentonCreateOptionsMenu in interface MapComponentonCreateOptionsMenu in class AbstractMapComponentcontext - the context of the component (the MapActivity instance)menu - The options menu in which you place your items.Activity.onCreateOptionsMenu(Menu)public boolean onPrepareOptionsMenu(android.content.Context context,
android.view.Menu menu)
MapComponentonPrepareOptionsMenu in interface MapComponentonPrepareOptionsMenu in class AbstractMapComponentcontext - the context of the component (the MapActivity instance)menu - The options menu in which you place your items.public boolean onOptionsItemSelected(android.content.Context context,
android.view.MenuItem item)
MapComponentonOptionsItemSelected in interface MapComponentonOptionsItemSelected in class AbstractMapComponentcontext - the context of the component (the MapActivity instance)item - The menu item that was selected.Activity.onOptionsItemSelected(MenuItem)public void onOptionsMenuClosed(android.content.Context context,
android.view.Menu menu)
MapComponentonOptionsMenuClosed in interface MapComponentonOptionsMenuClosed in class AbstractMapComponentcontext - the context of the component (the MapActivity instance)menu - The options menu in which you place your items.Activity.onOptionsMenuClosed(Menu)public static MapGroup getGroup()