FileDocCategorySizeDatePackage
Menu.javaAPI DocAndroid 5.1 API2278Sat Mar 14 14:09:40 GMT 2015android.view

Menu

public interface Menu

Fields Summary
public static final int
CATEGORY_ALTERNATIVE
public static final int
CATEGORY_CONTAINER
public static final int
CATEGORY_SECONDARY
public static final int
CATEGORY_SYSTEM
public static final int
FIRST
public static final int
FLAG_ALWAYS_PERFORM_CLOSE
public static final int
FLAG_APPEND_TO_GROUP
public static final int
FLAG_PERFORM_NO_CLOSE
public static final int
NONE
Constructors Summary
Methods Summary
public abstract android.view.MenuItemadd(java.lang.CharSequence title)

public abstract android.view.MenuItemadd(int titleRes)

public abstract android.view.MenuItemadd(int groupId, int itemId, int order, java.lang.CharSequence title)

public abstract android.view.MenuItemadd(int groupId, int itemId, int order, int titleRes)

public abstract intaddIntentOptions(int groupId, int itemId, int order, android.content.ComponentName caller, android.content.Intent[] specifics, android.content.Intent intent, int flags, android.view.MenuItem[] outSpecificItems)

public abstract android.view.SubMenuaddSubMenu(java.lang.CharSequence title)

public abstract android.view.SubMenuaddSubMenu(int titleRes)

public abstract android.view.SubMenuaddSubMenu(int groupId, int itemId, int order, java.lang.CharSequence title)

public abstract android.view.SubMenuaddSubMenu(int groupId, int itemId, int order, int titleRes)

public abstract voidclear()

public abstract voidclose()

public abstract android.view.MenuItemfindItem(int id)

public abstract android.view.MenuItemgetItem(int index)

public abstract booleanhasVisibleItems()

public abstract booleanisShortcutKey(int keyCode, android.view.KeyEvent event)

public abstract booleanperformIdentifierAction(int id, int flags)

public abstract booleanperformShortcut(int keyCode, android.view.KeyEvent event, int flags)

public abstract voidremoveGroup(int groupId)

public abstract voidremoveItem(int id)

public abstract voidsetGroupCheckable(int group, boolean checkable, boolean exclusive)

public abstract voidsetGroupEnabled(int group, boolean enabled)

public abstract voidsetGroupVisible(int group, boolean visible)

public abstract voidsetQwertyMode(boolean isQwerty)

public abstract intsize()