android.view
Interface MenuItem


public interface MenuItem


Nested Class Summary
static interface MenuItem.OnMenuItemClickListener
           
 
Method Summary
 char getAlphabeticShortcut()
           
 int getGroupId()
           
 Drawable getIcon()
           
 Intent getIntent()
           
 int getItemId()
           
 ContextMenu.ContextMenuInfo getMenuInfo()
           
 char getNumericShortcut()
           
 int getOrder()
           
 SubMenu getSubMenu()
           
 java.lang.CharSequence getTitle()
           
 java.lang.CharSequence getTitleCondensed()
           
 boolean hasSubMenu()
           
 boolean isCheckable()
           
 boolean isChecked()
           
 boolean isEnabled()
           
 boolean isVisible()
           
 MenuItem setAlphabeticShortcut(char alphaChar)
           
 MenuItem setCheckable(boolean checkable)
           
 MenuItem setChecked(boolean checked)
           
 MenuItem setEnabled(boolean enabled)
           
 MenuItem setIcon(Drawable icon)
           
 MenuItem setIcon(int iconRes)
           
 MenuItem setIntent(Intent intent)
           
 MenuItem setNumericShortcut(char numericChar)
           
 MenuItem setOnMenuItemClickListener(MenuItem.OnMenuItemClickListener menuItemClickListener)
           
 MenuItem setShortcut(char numericChar, char alphaChar)
           
 MenuItem setTitle(java.lang.CharSequence title)
           
 MenuItem setTitle(int title)
           
 MenuItem setTitleCondensed(java.lang.CharSequence title)
           
 MenuItem setVisible(boolean visible)
           
 

Method Detail

getItemId

int getItemId()

getGroupId

int getGroupId()

getOrder

int getOrder()

setTitle

MenuItem setTitle(java.lang.CharSequence title)

setTitle

MenuItem setTitle(int title)

getTitle

java.lang.CharSequence getTitle()

setTitleCondensed

MenuItem setTitleCondensed(java.lang.CharSequence title)

getTitleCondensed

java.lang.CharSequence getTitleCondensed()

setIcon

MenuItem setIcon(Drawable icon)

setIcon

MenuItem setIcon(int iconRes)

getIcon

Drawable getIcon()

setIntent

MenuItem setIntent(Intent intent)

getIntent

Intent getIntent()

setShortcut

MenuItem setShortcut(char numericChar,
                     char alphaChar)

setNumericShortcut

MenuItem setNumericShortcut(char numericChar)

getNumericShortcut

char getNumericShortcut()

setAlphabeticShortcut

MenuItem setAlphabeticShortcut(char alphaChar)

getAlphabeticShortcut

char getAlphabeticShortcut()

setCheckable

MenuItem setCheckable(boolean checkable)

isCheckable

boolean isCheckable()

setChecked

MenuItem setChecked(boolean checked)

isChecked

boolean isChecked()

setVisible

MenuItem setVisible(boolean visible)

isVisible

boolean isVisible()

setEnabled

MenuItem setEnabled(boolean enabled)

isEnabled

boolean isEnabled()

hasSubMenu

boolean hasSubMenu()

getSubMenu

SubMenu getSubMenu()

setOnMenuItemClickListener

MenuItem setOnMenuItemClickListener(MenuItem.OnMenuItemClickListener menuItemClickListener)

getMenuInfo

ContextMenu.ContextMenuInfo getMenuInfo()


Copyright © 2008-2010. All Rights Reserved.