|
PenProfile 2.x | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Menu | |
|---|---|
| com.livescribe.ext.ui | Contains classes for conveniently creating menus, managing menu bookmarks, and doing other helpful UI-related things. |
| Uses of Menu in com.livescribe.ext.ui |
|---|
| Subclasses of Menu in com.livescribe.ext.ui | |
|---|---|
class |
RadioMenu
A menu where only one item can be selected at once. |
| Methods in com.livescribe.ext.ui that return Menu | |
|---|---|
static Menu |
RadioMenu.createOnOffMenu(boolean flag,
Display display)
A convenience method that creates a radio menu containing "Off" and "On". |
Menu |
Menu.doSelect(int index,
Display display,
MediaPlayer player)
Selects an item as if it was chosen with a tap on the NavPlus right arrow. |
Menu |
Menu.getParent()
Returns the parent menu, or null if this menu has no
parent. |
Menu |
Menu.getSubmenu(int index)
Gets the submenu for the item at the specified index. |
Menu |
Menu.handleMenuEvent(MenuEvent event,
Display display,
MediaPlayer player)
Handles a menu event by properly displaying the information. |
| Methods in com.livescribe.ext.ui with parameters of type Menu | |
|---|---|
void |
Menu.add(Object text,
Image icon,
String audio,
Menu.MenuAction action,
Menu submenu)
Adds a new item to the menu. |
void |
Menu.add(Object text,
Menu submenu)
Adds a selectable item to the menu. |
void |
Menu.MenuAction.execute(Menu menu,
int index)
The specified menu and menu selection index was just selected. |
void |
Menu.MenuListener.itemChanged(Menu menu,
int oldIndex,
int newIndex,
boolean menuActivated)
The item in the specified menu was changed to the item having the given index. |
void |
Menu.MenuListener.itemSelected(Menu menu,
int index)
An item in the specified menu was selected (activated, executed). |
void |
Menu.MenuListener.menuShown(Menu menu)
The specified menu was just shown on the display. |
void |
MenuBookmarkHandlerPlugin.register(Menu menu,
int index,
Bookmarkable b,
boolean doSelect)
Registers a menu item with this plugin so that when it is activated with a button tap, it is displayed properly. |
void |
MenuBookmarkHandlerPlugin.registerLast(Menu menu,
Bookmarkable b,
boolean doSelect)
Registers the last item in the menu. |
void |
Menu.setOneWayParent(Menu parent)
Sets the parent for this menu to be the specified menu but does not add this menu to the parent. |
void |
Menu.setSubmenu(int index,
Menu submenu)
Sets the submenu at the specified index. |
|
PenProfile 2.x | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||