Options list, opened by swiping from the bottom of the view, contains actions that should apply to the entire view. Context menu, opened with a long press on a specific item, contains actions that should apply only to that specific item. Command labels are shown as one row text items in both menus.
When Options are open, the whole content area in the background is dimmed. Command labels in lists are always one row.
Options menu contains global Commands for that state. The order of the items is defined by Command priority number.
If no Commands are defined for the view, the indicator for the menu is not shown, and swiping from the bottom of the view does not cause any action.
When there are more items than fit to the options list window, to hint that the menu is scrollable, the last item of the list is partially cut. While scrolling, a scroll bar fades in to indicate the length of the list. Even though Options lists can be scrolled, it is recommended to avoid overloading.
When a user performs long press on an item, a context menu opens (in case ITEM Commands have been defined for that item).
A single tap action for an object should not be duplicated in its context menu. For example, if single tap on the item opens it in a new view, the context menu should not contain action 'Open' and duplicate the functionality.
Context menus should not be the only means of activating an action, because they are less discoverable than on-screen buttons or the Options list, and they may not be found by all users. Therefore, it is recommended that the actions in the context menu are also made available in the next state down in the navigation hierarchy (for example, in the normal Options list). Because of this duplication, using the context menu is considered a shortcut for going to the next screen and performing the operation there.
MIDP command type | Intent of command |
---|---|
STOP | Stop currently running process or operation. |
OK | Standard positive response to a dialog on the display. |
CANCEL | Standard negative response to a dialog on the display. |
ITEM | A command defined by the MIDlet, relates to a specific item on the display. |
SCREEN | A command defined by the MIDlet, relates to the current display. |
HELP | Request for MIDlet's help information. |
BACK | Navigation command for returning to the logically previous place. |
EXIT | Exit the MIDlet. |