FileDocCategorySizeDatePackage
EventTypes.javaAPI DocphoneME MR2 API (J2ME)8591Wed May 02 18:00:16 BST 2007com.sun.midp.events

EventTypes

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

Fields Summary
public static final int
KEY_EVENT
Major ID for an event on a key.
public static final int
PEN_EVENT
Major ID for a pointer event.
public static final int
COMMAND_EVENT
Major ID for an Abstract Command.
public static final int
REPAINT_EVENT
Major ID for a repaint event.
public static final int
SCREEN_CHANGE_EVENT
Major ID for a screen change event.
public static final int
INVALIDATE_EVENT
Major ID for an invalidate event.
public static final int
ITEM_EVENT
Major ID for an item event.
public static final int
PEER_CHANGED_EVENT
Major ID for a item's native peer state changed event.
public static final int
CALL_SERIALLY_EVENT
Major ID for a call serially event.
public static final int
FOREGROUND_NOTIFY_EVENT
Major ID for a foreground notify event.
  • intParam4 = displayID
public static final int
BACKGROUND_NOTIFY_EVENT
Major ID for a background notify event.
  • intParam4 = displayID
public static final int
ACTIVATE_MIDLET_EVENT
Major ID for a activate MIDlet event.
public static final int
PAUSE_MIDLET_EVENT
Major ID for a pause MIDlet event.
public static final int
DESTROY_MIDLET_EVENT
Major ID for a destroy MIDlet event.
public static final int
SHUTDOWN_EVENT
Major ID for a shutdown event.
public static final int
ACTIVATE_ALL_EVENT
Major ID for a pause all event.
public static final int
PAUSE_ALL_EVENT
Major ID for a pause all event.
public static final int
MIDLET_CREATED_NOTIFICATION
Major ID for a MIDlet created notification.
public static final int
MIDLET_ACTIVE_NOTIFICATION
Major ID for a MIDlet active notification.
public static final int
MIDLET_PAUSED_NOTIFICATION
Major ID for a MIDlet paused notification.
public static final int
MIDLET_DESTROYED_NOTIFICATION
Major ID for a MIDlet destroyed notification.
public static final int
DISPLAY_CREATED_NOTIFICATION
Major ID for a Display created notification.
public static final int
FOREGROUND_REQUEST_EVENT
Major ID for a foreground request event.
  • intParam1 = IsolateID
  • intParam4 = displayID
public static final int
BACKGROUND_REQUEST_EVENT
Major ID for a background request event.
  • intParam1 = IsolateID
  • intParam4 = displayID
public static final int
SELECT_FOREGROUND_EVENT
User request to show the midlet selection screen, if any.
  • stringParam1 = 1 if midlet should be selected from the list of aunched midlets, if 0 then possibility to launch midlet is needed.
public static final int
PREEMPT_EVENT
Major ID for a preempt event.
public static final int
MIDLET_START_ERROR_EVENT
Major ID for a MIDlet start error event.
public static final int
EXECUTE_MIDLET_EVENT
Major ID for a execute MIDlet event.
  • stringParam1 = id;
  • stringParam2 = midlet;
  • stringParam3 = displayName;
  • stringParam4 = arg0;
  • stringParam5 = arg1;
  • stringParam6 = arg2;
public static final int
MIDLET_DESTROY_REQUEST_EVENT
Major ID for a request to destroy a MIDlet event.
public static final int
FOREGROUND_TRANSFER_EVENT
Major ID for an foreground handoff event. This is a request to the AMS to transition the foreground from a current MIDlet to a target MIDlet (by application ID and classname).
  • stringParam1 = current FG MIDlet ID
  • stringParam2 = current FG MIDlet class
  • stringParam3 = target MIDlet ID
  • stringParam4 = target MIDlet class
public static final int
EVENT_QUEUE_SHUTDOWN
The event will shutdown the event queue when processed.
public static final int
FATAL_ERROR_NOTIFICATION
This is sent to the AMS isolate when an application isolate has fatal error.
public static final int
FC_DISKS_CHANGED_EVENT
Major ID for a JSR 75 FileConnection disks changed event.
public static final int
TEST_EVENT
Reserved for testing.
public static final int
MIDLET_RESUME_REQUEST
Sent to the AMS isolate when a paused MIDlet is requesting to be moved to active state.
public static final int
NATIVE_MIDLET_EXECUTE_REQUEST
Sent by the native system to request a MIDlet be created and started.
public static final int
NATIVE_MIDLET_RESUME_REQUEST
Sent by the native system to request a paused MIDlet be resumed.
public static final int
NATIVE_MIDLET_PAUSE_REQUEST
Sent by the native system to request a MIDlet be paused.
public static final int
NATIVE_MIDLET_DESTROY_REQUEST
Sent by the native system to request a MIDlet be destroyed.
public static final int
NATIVE_MIDLET_GETINFO_REQUEST
Sent by the native system to request a MIDlet be destroyed.
public static final int
NATIVE_SET_FOREGROUND_REQUEST
Sent by the native system to request a MIDlet be in the foreground.
public static final int
SET_FOREGROUND_BY_NAME_REQUEST
Sent by the Automation API subsystem to request a MIDlet be in the foreground.
  • stringParam1 = MIDlet's suite ID
  • stringParam2 = MIDlet's class name
public static final int
ROTATION_EVENT
public static final int
MIDLET_RS_PAUSED_NOTIFICATION
MIDlet resources paused notification
public static final int
MMAPI_EVENT
Major ID for MMAPI event
public static final int
AMMS_EVENT
Major ID for AMMS event
public static final int
SCREEN_REPAINT_EVENT
The event to repaint entire screen
Constructors Summary
Methods Summary