Method Summary |
|
public void | activateMidlet() Asynchronously change the MIDlet's state to active. |
public void | destroyMidlet() Asynchronously change the MIDlet's state to destroyed. |
void | destroyedNotification() Process a MIDlet destroyed notification. |
public String | getClassName() Get the class name of the MIDlet. |
public int | getDisplayId() Get the ID of the MIDlet's Display. |
public String | getDisplayName() Get the Display name of the MIDlet. |
public int | getExternalAppId() Get the external application ID used for forwarding changes. |
public int | getIsolateId() Get the ID of the Isolate the MIDlet is running in. |
public int | getMidletState() Get the MIDlet lifecycle state. |
MIDletProxy | getPreemptedMidlet() Get the proxy of the MIDlet that should get the foreground
after preempting is done. |
MIDletProxy | getPreemptingDisplay() Get the proxy of the display that is preempting this MIDlet. |
public int | getSuiteId() Get the ID of the MIDlet's suite. |
Timer | getTimer() |
static void | initClass(ForegroundEventProducer theForegroundEventProducer, MIDletEventProducer theMIDletEventProducer) Initialize the MIDletProxy class. |
public boolean | isAlertWaiting() Called to determine if alert is waiting for the foreground. |
public boolean | noDisplay() Check if the MIDlet has not created its display. |
public boolean | noDisplayable() Check if the MIDlet has not set a displayable in its display. |
void | notifyMIDletHasForeground(boolean hasForeground) Notify the midlet's display of a foreground change. |
public void | pauseMidlet() Asynchronously change the MIDlet's state to paused. |
void | setDisplayId(int id) Sets the ID of the MIDlet's Display. |
void | setMidletState(int newMidletState) Set the MIDlet cycle state. |
void | setPreemptedMidlet(MIDletProxy preemptedDisplay) Set the proxy of the MIDlet that should get the foreground
after preempting is done. |
void | setPreemptingDisplay(MIDletProxy preemptingDisplay) Set the proxy of the display that is preempting this MIDlet. |
void | setTimer(Timer t) |
void | setWantsForeground(boolean newWantsForeground, boolean isAlert) Set the wants foreground state in the proxy. |
public void | terminateNotPausedMidlet() Terminates ther MIDlet if it is neither paused nor destroyed. |
public String | toString() Print the state of the proxy. |
public boolean | wantsForeground() Check if the MIDlet want's its Display in the foreground. |