public class ToolbarMenuManager
extends android.content.BroadcastReceiver
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
ToolbarMenuManager() |
Modifier and Type | Method and Description |
---|---|
void |
closeMenu() |
void |
dispose() |
void |
enableAssociatedMenuButton(IMenu parent) |
static ToolbarMenuManager |
getInstance() |
boolean |
hasMenu(java.lang.String identifier) |
void |
initialize(android.content.Context c,
MapView m) |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
void |
register(IMenu menu) |
void |
register(IMenu parent,
MenuButton menu) |
void |
setActiveToolbarButton(ToolbarButton button) |
void |
showMenu(java.lang.String identifier,
int x,
int y) |
void |
stealOnClickListeners(java.util.List<android.view.View.OnClickListener> listeners) |
void |
updateActiveToolbarButton(android.graphics.drawable.Drawable[] icons,
java.lang.String label) |
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 ToolbarMenuManager getInstance()
public void initialize(android.content.Context c, MapView m)
public void dispose()
public void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
public void register(IMenu menu)
public void register(IMenu parent, MenuButton menu)
public void showMenu(java.lang.String identifier, int x, int y)
public void closeMenu()
public void updateActiveToolbarButton(android.graphics.drawable.Drawable[] icons, java.lang.String label)
public boolean hasMenu(java.lang.String identifier)
public void setActiveToolbarButton(ToolbarButton button)
public void stealOnClickListeners(java.util.List<android.view.View.OnClickListener> listeners)
public void enableAssociatedMenuButton(IMenu parent)