Package | Description |
---|---|
com.actionbarsherlock.internal.view.menu | |
com.actionbarsherlock.view | |
com.actionbarsherlock.widget |
Modifier and Type | Class and Description |
---|---|
class |
SubMenuBuilder
The model for a sub menu, which is an extension of the menu.
|
class |
SubMenuWrapper |
Modifier and Type | Method and Description |
---|---|
SubMenu |
MenuWrapper.addSubMenu(CharSequence title) |
SubMenu |
MenuBuilder.addSubMenu(CharSequence title) |
SubMenu |
ActionMenu.addSubMenu(CharSequence title) |
SubMenu |
MenuWrapper.addSubMenu(int titleRes) |
SubMenu |
MenuBuilder.addSubMenu(int titleRes) |
SubMenu |
ActionMenu.addSubMenu(int titleRes) |
SubMenu |
MenuWrapper.addSubMenu(int groupId,
int itemId,
int order,
CharSequence title) |
SubMenu |
MenuBuilder.addSubMenu(int group,
int id,
int categoryOrder,
CharSequence title) |
SubMenu |
ActionMenu.addSubMenu(int groupId,
int itemId,
int order,
CharSequence title) |
SubMenu |
MenuWrapper.addSubMenu(int groupId,
int itemId,
int order,
int titleRes) |
SubMenu |
MenuBuilder.addSubMenu(int group,
int id,
int categoryOrder,
int title) |
SubMenu |
ActionMenu.addSubMenu(int groupId,
int itemId,
int order,
int titleRes) |
SubMenu |
MenuItemWrapper.getSubMenu() |
SubMenu |
MenuItemImpl.getSubMenu() |
SubMenu |
ActionMenuItem.getSubMenu() |
SubMenu |
SubMenuWrapper.setHeaderIcon(android.graphics.drawable.Drawable icon) |
SubMenu |
SubMenuBuilder.setHeaderIcon(android.graphics.drawable.Drawable icon) |
SubMenu |
SubMenuWrapper.setHeaderIcon(int iconRes) |
SubMenu |
SubMenuBuilder.setHeaderIcon(int iconRes) |
SubMenu |
SubMenuWrapper.setHeaderTitle(CharSequence title) |
SubMenu |
SubMenuBuilder.setHeaderTitle(CharSequence title) |
SubMenu |
SubMenuWrapper.setHeaderTitle(int titleRes) |
SubMenu |
SubMenuBuilder.setHeaderTitle(int titleRes) |
SubMenu |
SubMenuWrapper.setHeaderView(android.view.View view) |
SubMenu |
SubMenuBuilder.setHeaderView(android.view.View view) |
SubMenu |
SubMenuWrapper.setIcon(android.graphics.drawable.Drawable icon) |
SubMenu |
SubMenuBuilder.setIcon(android.graphics.drawable.Drawable icon) |
SubMenu |
SubMenuWrapper.setIcon(int iconRes) |
SubMenu |
SubMenuBuilder.setIcon(int iconRes) |
Modifier and Type | Method and Description |
---|---|
SubMenu |
Menu.addSubMenu(CharSequence title)
Add a new sub-menu to the menu.
|
SubMenu |
Menu.addSubMenu(int titleRes)
Add a new sub-menu to the menu.
|
SubMenu |
Menu.addSubMenu(int groupId,
int itemId,
int order,
CharSequence title)
Add a new sub-menu to the menu.
|
SubMenu |
Menu.addSubMenu(int groupId,
int itemId,
int order,
int titleRes)
Variation on
Menu.addSubMenu(int, int, int, CharSequence) that takes
a string resource identifier for the title instead of the string itself. |
SubMenu |
MenuItem.getSubMenu()
Get the sub-menu to be invoked when this item is selected, if it has
one.
|
SubMenu |
SubMenu.setHeaderIcon(android.graphics.drawable.Drawable icon)
Sets the submenu header's icon to the icon given in icon
Drawable . |
SubMenu |
SubMenu.setHeaderIcon(int iconRes)
Sets the submenu header's icon to the icon given in iconRes
resource id.
|
SubMenu |
SubMenu.setHeaderTitle(CharSequence title)
Sets the submenu header's title to the title given in title.
|
SubMenu |
SubMenu.setHeaderTitle(int titleRes)
Sets the submenu header's title to the title given in titleRes
resource identifier.
|
SubMenu |
SubMenu.setHeaderView(android.view.View view)
Sets the header of the submenu to the
View given in
view. |
SubMenu |
SubMenu.setIcon(android.graphics.drawable.Drawable icon)
Change the icon associated with this submenu's item in its parent menu.
|
SubMenu |
SubMenu.setIcon(int iconRes)
Change the icon associated with this submenu's item in its parent menu.
|
Modifier and Type | Method and Description |
---|---|
void |
ActionProvider.onPrepareSubMenu(SubMenu subMenu)
Called to prepare an associated submenu for the menu item backed by this ActionProvider.
|
Modifier and Type | Method and Description |
---|---|
void |
ShareActionProvider.onPrepareSubMenu(SubMenu subMenu)
Called to prepare an associated submenu for the menu item backed by this ActionProvider.
|
Copyright © 2011–2014. All rights reserved.