public class MapOverlayComponent extends java.lang.Object implements MapComponent
| Constructor and Description |
|---|
MapOverlayComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
onConfigurationChanged(android.content.res.Configuration newConfig)
Implementation of onConfigurationChanged used to handle configuration changes for each
mapComponent.
|
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 |
onDestroy(android.content.Context context,
MapView view)
Called when the component must be destroyed
|
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.
|
void |
onPause(android.content.Context context,
MapView view)
Implementation for an abstract map component which corresponds to the onPause
state transition.
|
boolean |
onPrepareOptionsMenu(android.content.Context context,
android.view.Menu menu)
Called to Update the Options Menu on all MapComponents in the MapActivity.
|
void |
onResume(android.content.Context context,
MapView view)
Implementation for an abstract map component which corresponds to the onResume
state transition.
|
void |
onStart(android.content.Context context,
MapView view)
Implementation for an abstract map component which corresponds to the onStart
state transition.
|
void |
onStop(android.content.Context context,
MapView view)
Implementation for an abstract map component which corresponds to the onStop
state transition.
|
public void onCreate(android.content.Context context,
android.content.Intent intent,
MapView view)
MapComponentonCreate in interface MapComponentcontext - the context of the component (the MapActivity instance)intent - the intent of the MapActivityview - the main MapViewpublic void onDestroy(android.content.Context context,
MapView view)
MapComponentonDestroy in interface MapComponentcontext - the context of the component (the MapActivity instance)view - the main MapViewpublic void onStart(android.content.Context context,
MapView view)
MapComponentonStart in interface MapComponentcontext - the context of the component (the MapActivity instance)view - the main MapViewpublic void onStop(android.content.Context context,
MapView view)
MapComponentonStop in interface MapComponentcontext - the context of the component (the MapActivity instance)view - the main MapViewpublic void onPause(android.content.Context context,
MapView view)
MapComponentonPause in interface MapComponentcontext - the context of the component (the MapActivity instance)view - the main MapViewpublic void onResume(android.content.Context context,
MapView view)
MapComponentonResume in interface MapComponentcontext - the context of the component (the MapActivity instance)view - the main MapViewpublic void onConfigurationChanged(android.content.res.Configuration newConfig)
MapComponentonConfigurationChanged in interface MapComponentnewConfig - called when the configuration changedActivity.onConfigurationChanged(Configuration)public boolean onCreateOptionsMenu(android.content.Context context,
android.view.Menu menu)
MapComponentonCreateOptionsMenu in interface MapComponentcontext - 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 MapComponentcontext - 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 MapComponentcontext - 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 MapComponentcontext - the context of the component (the MapActivity instance)menu - The options menu in which you place your items.Activity.onOptionsMenuClosed(Menu)