com.actionbarsherlock.internal.view.menu
Interface MenuBuilder.Callback

All Known Implementing Classes:
ActionBarImpl.ActionModeImpl, ActionBarSherlockCompat, StandaloneActionMode
Enclosing class:
MenuBuilder

public static interface MenuBuilder.Callback

Called by menu to notify of close and selection changes.


Method Summary
 boolean onMenuItemSelected(MenuBuilder menu, MenuItem item)
          Called when a menu item is selected.
 void onMenuModeChange(MenuBuilder menu)
          Called when the mode of the menu changes (for example, from icon to expanded).
 

Method Detail

onMenuItemSelected

boolean onMenuItemSelected(MenuBuilder menu,
                           MenuItem item)
Called when a menu item is selected.

Parameters:
menu - The menu that is the parent of the item
item - The menu item that is selected
Returns:
whether the menu item selection was handled

onMenuModeChange

void onMenuModeChange(MenuBuilder menu)
Called when the mode of the menu changes (for example, from icon to expanded).

Parameters:
menu - the menu that has changed modes


Copyright © 2012-2013. All Rights Reserved.