| java.lang.Object javax.microedition.lcdui.NativeMenu
NativeMenu | class NativeMenu (Code) | | This utility class is used to show & hide native system menus.
Is not needed in Chameleon (needed in platform_widgets).
shall be used only by Display.
|
Method Summary | |
public static void | clearState() Clear state of system menu without physical dismiss. | public static void | dismiss() Called to force the display manager to clear whatever system screen
has interrupted the current Displayable and allow the foreground
Display to resume painting. | public static boolean | getState() Returns current status of the system menu. | public static void | show() | native public static void | updateCommands(Command[] itemCommands, int numItemCommands, Command[] commands, int numCommands) Set the current set of active Abstract Commands. |
clearState | public static void clearState()(Code) | | Clear state of system menu without physical dismiss.
Intended to be used by displayEventConsumer.handlecommandEvent()
(implemented by Display.DisplayAccessor).
|
dismiss | public static void dismiss()(Code) | | Called to force the display manager to clear whatever system screen
has interrupted the current Displayable and allow the foreground
Display to resume painting.
|
getState | public static boolean getState()(Code) | | Returns current status of the system menu.
Intended to be used by displayEventConsumer.handlecommandEvent()
(implemented by Display.DisplayAccessor).
true if menu is active, false otherwise. |
show | public static void show()(Code) | | Called to show system menu on the screen
|
updateCommands | native public static void updateCommands(Command[] itemCommands, int numItemCommands, Command[] commands, int numCommands)(Code) | | Set the current set of active Abstract Commands.
Parameters: itemCommands - The list of Item Commands that should be active Parameters: numItemCommands - The number of Item commands in the list Parameters: commands - The list of Commands that should be active Parameters: numCommands - The number of commands in the list |
|
|