Build m5-rc15

android.view
Interface Menu

All Known Subinterfaces:
ContextMenu, SubMenu
All Known Implementing Classes:
MenuBuilder, SubMenuBuilder

public interface Menu


Nested Class Summary
static interface Menu.Item
           
static interface Menu.OnClickListener
           
static interface Menu.OnSelectionListener
           
 
Field Summary
static int ALTERNATIVE
           
static int APPEND_TO_GROUP
           
static int CATEGORY_MASK
           
static int CATEGORY_SHIFT
           
static int CONTAINER
           
static int FIRST
           
static int NONE
           
static int PERFORM_NO_CLOSE
           
static int SECONDARY
           
static int SELECTED_ALTERNATIVE
           
static int SYSTEM
           
static int USER_MASK
           
static int USER_SHIFT
           
 
Method Summary
 Menu.Item add(int i, int j, CharSequence charsequence)
           
 Menu.Item add(int i, int j, CharSequence charsequence, int k)
           
 Menu.Item add(int i, int j, CharSequence charsequence, Runnable runnable)
           
 Menu.Item add(int i, int j, int k)
           
 Menu.Item add(int i, int j, int k, int l)
           
 Menu.Item add(int i, int j, int k, Runnable runnable)
           
 int addIntentOptions(int i, int j, ComponentName componentname, Intent[] aintent, Intent intent, int k, Menu.Item[] aitem)
           
 SubMenu addSubMenu(int i, int j, CharSequence charsequence)
           
 SubMenu addSubMenu(int i, int j, CharSequence charsequence, Drawable drawable)
           
 SubMenu addSubMenu(int i, int j, CharSequence charsequence, int k)
           
 SubMenu addSubMenu(int i, int j, int k)
           
 SubMenu addSubMenu(int i, int j, int k, Drawable drawable)
           
 SubMenu addSubMenu(int i, int j, int k, int l)
           
 void clear()
           
 int findGroupIndex(int i)
           
 Menu.Item findItem(int i)
           
 int findItemIndex(int i)
           
 Menu.Item get(int i)
           
 boolean hasShownItems()
           
 boolean isShortcutKey(int i, KeyEvent keyevent)
           
 boolean performIdentifierAction(int i, int j)
           
 boolean performShortcut(int i, KeyEvent keyevent, int j)
           
 void removeGroup(int i)
           
 void removeItem(int i)
           
 void removeItemAt(int i)
           
 void setDefaultItem(int i)
           
 void setGroupCheckable(int i, boolean flag, boolean flag1)
           
 void setGroupShown(int i, boolean flag)
           
 void setItemCheckable(int i, boolean flag)
           
 void setItemChecked(int i, boolean flag)
           
 void setItemShown(int i, boolean flag)
           
 void setQwertyMode(boolean flag)
           
 int size()
           
 

Field Detail

USER_MASK

static final int USER_MASK
See Also:
Constant Field Values

USER_SHIFT

static final int USER_SHIFT
See Also:
Constant Field Values

CATEGORY_MASK

static final int CATEGORY_MASK
See Also:
Constant Field Values

CATEGORY_SHIFT

static final int CATEGORY_SHIFT
See Also:
Constant Field Values

NONE

static final int NONE
See Also:
Constant Field Values

FIRST

static final int FIRST
See Also:
Constant Field Values

CONTAINER

static final int CONTAINER
See Also:
Constant Field Values

SYSTEM

static final int SYSTEM
See Also:
Constant Field Values

SECONDARY

static final int SECONDARY
See Also:
Constant Field Values

ALTERNATIVE

static final int ALTERNATIVE
See Also:
Constant Field Values

SELECTED_ALTERNATIVE

static final int SELECTED_ALTERNATIVE
See Also:
Constant Field Values

APPEND_TO_GROUP

static final int APPEND_TO_GROUP
See Also:
Constant Field Values

PERFORM_NO_CLOSE

static final int PERFORM_NO_CLOSE
See Also:
Constant Field Values
Method Detail

add

Menu.Item add(int i,
              int j,
              CharSequence charsequence)

add

Menu.Item add(int i,
              int j,
              CharSequence charsequence,
              int k)

add

Menu.Item add(int i,
              int j,
              int k,
              int l)

add

Menu.Item add(int i,
              int j,
              CharSequence charsequence,
              Runnable runnable)

addSubMenu

SubMenu addSubMenu(int i,
                   int j,
                   CharSequence charsequence)

addSubMenu

SubMenu addSubMenu(int i,
                   int j,
                   CharSequence charsequence,
                   int k)

addSubMenu

SubMenu addSubMenu(int i,
                   int j,
                   CharSequence charsequence,
                   Drawable drawable)

add

Menu.Item add(int i,
              int j,
              int k)

add

Menu.Item add(int i,
              int j,
              int k,
              Runnable runnable)

addSubMenu

SubMenu addSubMenu(int i,
                   int j,
                   int k)

addSubMenu

SubMenu addSubMenu(int i,
                   int j,
                   int k,
                   int l)

addSubMenu

SubMenu addSubMenu(int i,
                   int j,
                   int k,
                   Drawable drawable)

addIntentOptions

int addIntentOptions(int i,
                     int j,
                     ComponentName componentname,
                     Intent[] aintent,
                     Intent intent,
                     int k,
                     Menu.Item[] aitem)

removeItem

void removeItem(int i)

removeGroup

void removeGroup(int i)

removeItemAt

void removeItemAt(int i)

clear

void clear()

setItemCheckable

void setItemCheckable(int i,
                      boolean flag)

setItemChecked

void setItemChecked(int i,
                    boolean flag)

setGroupCheckable

void setGroupCheckable(int i,
                       boolean flag,
                       boolean flag1)

setItemShown

void setItemShown(int i,
                  boolean flag)

setGroupShown

void setGroupShown(int i,
                   boolean flag)

hasShownItems

boolean hasShownItems()

setDefaultItem

void setDefaultItem(int i)

findItem

Menu.Item findItem(int i)

findItemIndex

int findItemIndex(int i)

findGroupIndex

int findGroupIndex(int i)

size

int size()

get

Menu.Item get(int i)

performShortcut

boolean performShortcut(int i,
                        KeyEvent keyevent,
                        int j)

isShortcutKey

boolean isShortcutKey(int i,
                      KeyEvent keyevent)

performIdentifierAction

boolean performIdentifierAction(int i,
                                int j)

setQwertyMode

void setQwertyMode(boolean flag)

Build m5-rc15

Please submit a feedback, bug or feature