public class NightVisionMapWidgetComponent extends AbstractWidgetMapComponent implements android.content.SharedPreferences.OnSharedPreferenceChangeListener
AbstractMapComponent.OnAllComponentsCreatedCallback
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
ROOT_LAYOUT_EXTRA
Constructor and Description |
---|
NightVisionMapWidgetComponent() |
Modifier and Type | Method and Description |
---|---|
protected void |
onCreateWidgets(android.content.Context context,
android.content.Intent intent,
MapView view) |
protected void |
onDestroyWidgets(android.content.Context context,
MapView view) |
void |
onPause(android.content.Context context,
MapView view)
Default implementation for an abstract map component which does not respond to the onPause
state transition.
|
void |
onResume(android.content.Context context,
MapView view)
Default implementation for an abstract map component which does not respond to the onResume
state transition.
|
void |
onSharedPreferenceChanged(android.content.SharedPreferences p,
java.lang.String key) |
getRootLayoutWidget, onCreate, onDestroyImpl
addOverlay, onConfigurationChanged, onCreateOptionsMenu, onDestroy, onOptionsItemSelected, onOptionsMenuClosed, onPrepareOptionsMenu, onStart, onStop, registerReceiver, removeOverlay, setOnAllComponentsCreatedCallback, unregisterReceiver
public static final java.lang.String TAG
protected void onCreateWidgets(android.content.Context context, android.content.Intent intent, MapView view)
onCreateWidgets
in class AbstractWidgetMapComponent
protected void onDestroyWidgets(android.content.Context context, MapView view)
onDestroyWidgets
in class AbstractWidgetMapComponent
public void onPause(android.content.Context context, MapView view)
AbstractMapComponent
onPause
in interface MapComponent
onPause
in class AbstractMapComponent
context
- the context of the component (the MapActivity instance)view
- the main MapViewpublic void onResume(android.content.Context context, MapView view)
AbstractMapComponent
onResume
in interface MapComponent
onResume
in class AbstractMapComponent
context
- the context of the component (the MapActivity instance)view
- the main MapViewpublic void onSharedPreferenceChanged(android.content.SharedPreferences p, java.lang.String key)
onSharedPreferenceChanged
in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener