public class ToolbarBroadcastReceiver
extends android.content.BroadcastReceiver
Modifier and Type | Field and Description |
---|---|
protected MapView |
_mapView |
protected java.lang.String |
activeToolbar |
static java.lang.String |
OPEN_TOOLBAR |
static java.lang.String |
SET_TOOLBAR |
static java.lang.String |
TAG |
protected java.util.HashMap<java.lang.String,IToolbarExtension> |
toolbars |
static java.lang.String |
UNSET_TOOLBAR |
Modifier | Constructor and Description |
---|---|
protected |
ToolbarBroadcastReceiver() |
Modifier and Type | Method and Description |
---|---|
static ToolbarBroadcastReceiver |
checkInstance() |
void |
closeToolbar(int position)
Close the open toolbar in the given position
|
void |
dispose() |
java.lang.String |
getActive() |
protected IToolbarExtension |
getActiveToolbar() |
static ToolbarBroadcastReceiver |
getInstance() |
void |
initialize(MapView mapView) |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
void |
registerToolbar(java.lang.String toolbarIdentifier,
IToolbarExtension toolbarComponent) |
void |
registerToolbarComponent(java.lang.String toolbarIdentifier,
IToolbarExtension toolbarComponent)
Deprecated.
Use the ToolManagerBroadcastReceiver to register your tools
|
void |
repositionToolbar()
Reposition the toolbar
|
void |
requestLayout() |
protected void |
setToolbar(java.lang.String toolbarIdentifier) |
void |
unregisterToolbarComponent(java.lang.String toolbarIdentifier) |
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public static final java.lang.String TAG
public static final java.lang.String SET_TOOLBAR
public static final java.lang.String UNSET_TOOLBAR
public static final java.lang.String OPEN_TOOLBAR
protected MapView _mapView
protected final java.util.HashMap<java.lang.String,IToolbarExtension> toolbars
protected java.lang.String activeToolbar
public void requestLayout()
public void initialize(MapView mapView)
public static ToolbarBroadcastReceiver getInstance()
public static ToolbarBroadcastReceiver checkInstance()
public void dispose()
@Deprecated public void registerToolbarComponent(java.lang.String toolbarIdentifier, IToolbarExtension toolbarComponent)
public void unregisterToolbarComponent(java.lang.String toolbarIdentifier)
public void registerToolbar(java.lang.String toolbarIdentifier, IToolbarExtension toolbarComponent)
public void closeToolbar(int position)
position
- Positionpublic void repositionToolbar()
public java.lang.String getActive()
public void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
protected void setToolbar(java.lang.String toolbarIdentifier)
protected IToolbarExtension getActiveToolbar()