com.actionbarsherlock.internal.view.menu
Interface MenuView

All Known Implementing Classes:
ActionMenuView

public interface MenuView

Minimal interface for a menu view. initialize(MenuBuilder) must be called for the menu to be functional.


Nested Class Summary
static interface MenuView.ItemView
          Minimal interface for a menu item view.
 
Method Summary
 int getWindowAnimations()
          Returns the default animations to be used for this menu when entering/exiting.
 void initialize(MenuBuilder menu)
          Initializes the menu to the given menu.
 

Method Detail

initialize

void initialize(MenuBuilder menu)
Initializes the menu to the given menu. This should be called after the view is inflated.

Parameters:
menu - The menu that this MenuView should display.

getWindowAnimations

int getWindowAnimations()
Returns the default animations to be used for this menu when entering/exiting.

Returns:
A resource ID for the default animations to be used for this menu.


Copyright © 2012-2013. All Rights Reserved.