public class CoTInfoMapComponent extends DropDownMapComponent
Modifier and Type | Class and Description |
---|---|
static interface |
CoTInfoMapComponent.AttachmentEventListener |
AbstractMapComponent.OnAllComponentsCreatedCallback
Modifier and Type | Field and Description |
---|---|
protected CoTInfoBroadcastReceiver |
cibr |
Constructor and Description |
---|
CoTInfoMapComponent() |
Modifier and Type | Method and Description |
---|---|
void |
addAttachmentListener(CoTInfoMapComponent.AttachmentEventListener ael) |
static CoTInfoMapComponent |
getInstance() |
void |
onCreate(android.content.Context context,
android.content.Intent intent,
MapView view)
Called when the component is first created
|
protected 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.
|
void |
register(ExtendedInfoView eiv)
Register additional views within the CotInfoView
|
void |
removeAttachmentListener(CoTInfoMapComponent.AttachmentEventListener ael) |
void |
unregister(ExtendedInfoView eiv) |
onCreateOptionsMenu, onOptionsItemSelected, onOptionsMenuClosed, onPrepareOptionsMenu, registerDropDownReceiver
addOverlay, onConfigurationChanged, onDestroy, onPause, onResume, onStart, onStop, registerReceiver, removeOverlay, setOnAllComponentsCreatedCallback, unregisterReceiver
protected CoTInfoBroadcastReceiver cibr
public void onCreate(android.content.Context context, android.content.Intent intent, MapView view)
MapComponent
onCreate
in interface MapComponent
onCreate
in class DropDownMapComponent
context
- the context of the component (the MapActivity instance)intent
- the intent of the MapActivityview
- the main MapViewpublic static CoTInfoMapComponent getInstance()
public void register(ExtendedInfoView eiv)
eiv
- the extended info view that is related to the CoTInfoView.public void unregister(ExtendedInfoView eiv)
protected void onDestroyImpl(android.content.Context context, MapView view)
AbstractMapComponent
onDestroyImpl
in class DropDownMapComponent
public void addAttachmentListener(CoTInfoMapComponent.AttachmentEventListener ael)
public void removeAttachmentListener(CoTInfoMapComponent.AttachmentEventListener ael)