FileDocCategorySizeDatePackage
MenuItem.javaAPI DocAndroid 5.1 API3261Sat Mar 14 14:09:42 GMT 2015android.view

MenuItem

public interface MenuItem

Fields Summary
public static final int
SHOW_AS_ACTION_ALWAYS
public static final int
SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW
public static final int
SHOW_AS_ACTION_IF_ROOM
public static final int
SHOW_AS_ACTION_NEVER
public static final int
SHOW_AS_ACTION_WITH_TEXT
Constructors Summary
Methods Summary
public abstract booleancollapseActionView()

public abstract booleanexpandActionView()

public abstract android.view.ActionProvidergetActionProvider()

public abstract android.view.ViewgetActionView()

public abstract chargetAlphabeticShortcut()

public abstract intgetGroupId()

public abstract android.graphics.drawable.DrawablegetIcon()

public abstract android.content.IntentgetIntent()

public abstract intgetItemId()

public abstract android.view.ContextMenu.ContextMenuInfogetMenuInfo()

public abstract chargetNumericShortcut()

public abstract intgetOrder()

public abstract android.view.SubMenugetSubMenu()

public abstract java.lang.CharSequencegetTitle()

public abstract java.lang.CharSequencegetTitleCondensed()

public abstract booleanhasSubMenu()

public abstract booleanisActionViewExpanded()

public abstract booleanisCheckable()

public abstract booleanisChecked()

public abstract booleanisEnabled()

public abstract booleanisVisible()

public abstract android.view.MenuItemsetActionProvider(android.view.ActionProvider actionProvider)

public abstract android.view.MenuItemsetActionView(android.view.View view)

public abstract android.view.MenuItemsetActionView(int resId)

public abstract android.view.MenuItemsetAlphabeticShortcut(char alphaChar)

public abstract android.view.MenuItemsetCheckable(boolean checkable)

public abstract android.view.MenuItemsetChecked(boolean checked)

public abstract android.view.MenuItemsetEnabled(boolean enabled)

public abstract android.view.MenuItemsetIcon(int iconRes)

public abstract android.view.MenuItemsetIcon(android.graphics.drawable.Drawable icon)

public abstract android.view.MenuItemsetIntent(android.content.Intent intent)

public abstract android.view.MenuItemsetNumericShortcut(char numericChar)

public abstract android.view.MenuItemsetOnActionExpandListener(android.view.MenuItem$OnActionExpandListener listener)

public abstract android.view.MenuItemsetOnMenuItemClickListener(android.view.MenuItem$OnMenuItemClickListener menuItemClickListener)

public abstract android.view.MenuItemsetShortcut(char numericChar, char alphaChar)

public abstract voidsetShowAsAction(int actionEnum)

public abstract android.view.MenuItemsetShowAsActionFlags(int actionEnum)

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

public abstract android.view.MenuItemsetTitle(int title)

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

public abstract android.view.MenuItemsetVisible(boolean visible)