public class

ActionMenu

extends Object
java.lang.Object
   ↳ com.pdftron.demo.widget.menu.ActionMenu
Known Direct Subclasses

Summary

Public Constructors
ActionMenu(Context context)
Public Methods
MenuItem add(int groupId, int itemId, int order, CharSequence title)
MenuItem add(int titleRes)
MenuItem add(ActionMenuItem item)
MenuItem add(CharSequence title)
MenuItem add(int groupId, int itemId, int order, int titleRes)
int addIntentOptions(int groupId, int itemId, int order, ComponentName caller, Intent[] specifics, Intent intent, int flags, MenuItem[] outSpecificItems)
SubMenu addSubMenu(CharSequence title)
SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes)
SubMenu addSubMenu(int groupId, int itemId, int order, CharSequence title)
SubMenu addSubMenu(int titleRes)
void clear()
ActionMenu clone(int start, int end)
ActionMenu clone(int size)
void close()
MenuItem findItem(int id)
Context getContext()
MenuItem getItem(int index)
MenuItem getItem(int index, boolean visible)
int getVisibleItemCount()
boolean hasVisibleItems()
boolean isShortcutKey(int keyCode, KeyEvent event)
boolean performIdentifierAction(int id, int flags)
boolean performShortcut(int keyCode, KeyEvent event, int flags)
List<ActionMenuItem> removeAfter(int index)
void removeGroup(int groupId)
void removeItem(int id)
void setGroupCheckable(int group, boolean checkable, boolean exclusive)
void setGroupDividerEnabled(boolean b)
void setGroupEnabled(int group, boolean enabled)
void setGroupVisible(int group, boolean visible)
void setQwertyMode(boolean isQwerty)
int size()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ActionMenu (Context context)

Public Methods

public MenuItem add (int groupId, int itemId, int order, CharSequence title)

public MenuItem add (int titleRes)

public MenuItem add (ActionMenuItem item)

public MenuItem add (CharSequence title)

public MenuItem add (int groupId, int itemId, int order, int titleRes)

public int addIntentOptions (int groupId, int itemId, int order, ComponentName caller, Intent[] specifics, Intent intent, int flags, MenuItem[] outSpecificItems)

public SubMenu addSubMenu (CharSequence title)

public SubMenu addSubMenu (int groupId, int itemId, int order, int titleRes)

public SubMenu addSubMenu (int groupId, int itemId, int order, CharSequence title)

public SubMenu addSubMenu (int titleRes)

public void clear ()

public ActionMenu clone (int start, int end)

public ActionMenu clone (int size)

public void close ()

public MenuItem findItem (int id)

public Context getContext ()

public MenuItem getItem (int index)

public MenuItem getItem (int index, boolean visible)

public int getVisibleItemCount ()

public boolean hasVisibleItems ()

public boolean isShortcutKey (int keyCode, KeyEvent event)

public boolean performIdentifierAction (int id, int flags)

public boolean performShortcut (int keyCode, KeyEvent event, int flags)

public List<ActionMenuItem> removeAfter (int index)

public void removeGroup (int groupId)

public void removeItem (int id)

public void setGroupCheckable (int group, boolean checkable, boolean exclusive)

public void setGroupDividerEnabled (boolean b)

public void setGroupEnabled (int group, boolean enabled)

public void setGroupVisible (int group, boolean visible)

public void setQwertyMode (boolean isQwerty)

public int size ()