Methods Summary |
---|
public android.view.MenuItem | add(java.lang.CharSequence title)
return getMenuItemWrapper(mWrappedObject.add(title));
|
public android.view.MenuItem | add(int titleRes)
return getMenuItemWrapper(mWrappedObject.add(titleRes));
|
public android.view.MenuItem | add(int groupId, int itemId, int order, java.lang.CharSequence title)
return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, title));
|
public android.view.MenuItem | add(int groupId, int itemId, int order, int titleRes)
return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, titleRes));
|
public int | addIntentOptions(int groupId, int itemId, int order, android.content.ComponentName caller, android.content.Intent[] specifics, android.content.Intent intent, int flags, android.view.MenuItem[] outSpecificItems)
android.view.MenuItem[] items = null;
if (outSpecificItems != null) {
items = new android.view.MenuItem[outSpecificItems.length];
}
int result = mWrappedObject
.addIntentOptions(groupId, itemId, order, caller, specifics, intent, flags, items);
if (items != null) {
for (int i = 0, z = items.length; i < z; i++) {
outSpecificItems[i] = getMenuItemWrapper(items[i]);
}
}
return result;
|
public android.view.SubMenu | addSubMenu(java.lang.CharSequence title)
return getSubMenuWrapper(mWrappedObject.addSubMenu(title));
|
public android.view.SubMenu | addSubMenu(int titleRes)
return getSubMenuWrapper(mWrappedObject.addSubMenu(titleRes));
|
public android.view.SubMenu | addSubMenu(int groupId, int itemId, int order, java.lang.CharSequence title)
return getSubMenuWrapper(mWrappedObject.addSubMenu(groupId, itemId, order, title));
|
public android.view.SubMenu | addSubMenu(int groupId, int itemId, int order, int titleRes)
return getSubMenuWrapper(
mWrappedObject.addSubMenu(groupId, itemId, order, titleRes));
|
public void | clear()
internalClear();
mWrappedObject.clear();
|
public void | close()
mWrappedObject.close();
|
public android.view.MenuItem | findItem(int id)
return getMenuItemWrapper(mWrappedObject.findItem(id));
|
public android.view.MenuItem | getItem(int index)
return getMenuItemWrapper(mWrappedObject.getItem(index));
|
public boolean | hasVisibleItems()
return mWrappedObject.hasVisibleItems();
|
public boolean | isShortcutKey(int keyCode, android.view.KeyEvent event)
return mWrappedObject.isShortcutKey(keyCode, event);
|
public boolean | performIdentifierAction(int id, int flags)
return mWrappedObject.performIdentifierAction(id, flags);
|
public boolean | performShortcut(int keyCode, android.view.KeyEvent event, int flags)
return mWrappedObject.performShortcut(keyCode, event, flags);
|
public void | removeGroup(int groupId)
internalRemoveGroup(groupId);
mWrappedObject.removeGroup(groupId);
|
public void | removeItem(int id)
internalRemoveItem(id);
mWrappedObject.removeItem(id);
|
public void | setGroupCheckable(int group, boolean checkable, boolean exclusive)
mWrappedObject.setGroupCheckable(group, checkable, exclusive);
|
public void | setGroupEnabled(int group, boolean enabled)
mWrappedObject.setGroupEnabled(group, enabled);
|
public void | setGroupVisible(int group, boolean visible)
mWrappedObject.setGroupVisible(group, visible);
|
public void | setQwertyMode(boolean isQwerty)
mWrappedObject.setQwertyMode(isQwerty);
|
public int | size()
return mWrappedObject.size();
|