public class RouteMapComponent extends AbstractWidgetMapComponent implements CotServiceRemote.ConnectionListener
AbstractMapComponent.OnAllComponentsCreatedCallback
Modifier and Type | Field and Description |
---|---|
protected NavigationCueHandler |
_cueHandler |
protected DoghouseReceiver |
_doghouseReceiver |
protected EditablePolylineReceiver |
_editablePolylineReceiver |
protected GoToMapTool |
_goTo |
protected RouteMapReceiver |
_routeReceiver |
protected RouteToolbarBroadcastReceiver |
_routeToolbarReceiver |
protected CotServiceRemote |
cotService_ |
protected ClearContentRegistry.ClearContentListener |
dataMgmtReceiver |
ROOT_LAYOUT_EXTRA
TAG
Constructor and Description |
---|
RouteMapComponent() |
Modifier and Type | Method and Description |
---|---|
RouteMapReceiver |
getRouteMapReceiver() |
RoutePlannerManager |
getRoutePlannerManager()
Gets the Route Planner Manager.
|
void |
onCotServiceConnected(android.os.Bundle fullServiceState) |
void |
onCotServiceDisconnected() |
protected void |
onCreateConnections(android.content.Context context,
CotServiceRemote cotService) |
protected void |
onCreateWidgets(android.content.Context context,
android.content.Intent intent,
MapView view) |
protected void |
onDestroyWidgets(android.content.Context context,
MapView view) |
protected void |
setRoutePlannerManager(RoutePlannerManager plannerManager)
This method is to support testing at a later date.
|
getRootLayoutWidget, onCreate, onDestroyImpl
addOverlay, onConfigurationChanged, onCreateOptionsMenu, onDestroy, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPrepareOptionsMenu, onResume, onStart, onStop, registerReceiver, removeOverlay, setOnAllComponentsCreatedCallback, unregisterReceiver
protected RouteMapReceiver _routeReceiver
protected EditablePolylineReceiver _editablePolylineReceiver
protected DoghouseReceiver _doghouseReceiver
protected NavigationCueHandler _cueHandler
protected final CotServiceRemote cotService_
protected RouteToolbarBroadcastReceiver _routeToolbarReceiver
protected GoToMapTool _goTo
protected final ClearContentRegistry.ClearContentListener dataMgmtReceiver
protected void onCreateConnections(android.content.Context context, CotServiceRemote cotService)
public void onCotServiceConnected(android.os.Bundle fullServiceState)
onCotServiceConnected
in interface CotServiceRemote.ConnectionListener
fullServiceState
- (Bundle[]) fullServiceState.getParcelableArray("streams") which appears to be and array of
all of the current TAK servers bundle made up of CotPort.DESCRIPTION_KEY,
CotPort.ENABLED_KEY, CotPort.CONNECTED_KEY
lifted from CotStreamListener
fullServiceState can also contain
(Bundle[]) fullServiceState.getParcelableArray(getPortType()) which follows the same rules
above.
lifted from CotPortListActivitypublic void onCotServiceDisconnected()
onCotServiceDisconnected
in interface CotServiceRemote.ConnectionListener
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 RouteMapReceiver getRouteMapReceiver()
protected void setRoutePlannerManager(RoutePlannerManager plannerManager)
public RoutePlannerManager getRoutePlannerManager()