FileDocCategorySizeDatePackage
EventConstants.javaAPI DocphoneME MR2 API (J2ME)3847Wed May 02 18:00:24 BST 2007com.sun.midp.lcdui

EventConstants

public final class EventConstants extends Object
Event type IDs, this should match midpEvents.h.

Fields Summary
public static final int
PRESSED
Minor ID indicating a press, either on a key or a pointer.
public static final int
RELEASED
Minor ID indicating a release, either of a key or a pointer.
public static final int
REPEATED
Minor ID indicating a key repeat.
public static final int
IME
Minor ID indicating a IME string typed (internal).
public static final int
DRAGGED
Minor ID indicating a pointer drag.
public static final int
MENU_REQUESTED
Minor ID indicating that command event requires posting a menu.
public static final int
MENU_DISMISSED
Minor ID indicating that command event is dismissing a menu.
public static final int
ABOUT_REQUESTED
Minor ID indicating that command event is requesting about box. This value should be a positive id since some platforms (like Qt) do not accept negative menu element id.
public static final int
SYSTEM_KEY_POWER
The value returned from getSystemKey if the keyCode is the POWER key.
public static final int
SYSTEM_KEY_SEND
The value returned from getSystemKey if the keyCode is SEND.
public static final int
SYSTEM_KEY_END
The value returned from getSystemKey if the keyCode is END.
public static final int
SYSTEM_KEY_CLEAR
The value returned from getSystemKey if the keyCode is either CLEAR or BACKSPACE.
public static final int
SOFT_BUTTON1
An identifier for the first soft button, typically the left one. NOTE: This value must be kept in sync with the value defined in the "midpInput.h" file
public static final int
SOFT_BUTTON2
An identifier for the second soft button, typically the right one. NOTE: This value must be kept in sync with the value defined in the "midpInput.h" file
public static final int
DEBUG_TRACE1
An identifier for the special debug tracing key. This key is generated by native code only when (Logging.REPORT_LEVEL < Logging.DISABLED). The exact key mapping is platform dependent. NOTE: This value must be kept in sync with the value KEY_DEBUGTRACE1 defined in the "midpInput.h" file
Constructors Summary
Methods Summary