Methods Summary |
---|
public void | activate(MIDletEventListener l, javax.microedition.midlet.MIDlet m)Places the display of the given MIDlet in the list of active displays
and registers an object to receive events on behalf of the MIDlet.
|
public void | addSystemEventListener(SystemEventListener l)Add a listener for system events.
|
public DisplayAccess | createDisplay(com.sun.midp.security.SecurityToken token, javax.microedition.midlet.MIDlet midlet)Create a display and return its internal access object.
|
public void | deactivate(javax.microedition.midlet.MIDlet m)Removes the display of the given MIDlet from the list of active displays
and unregisters MIDlet's event listener.
|
public void | donePreempting(java.lang.Object preemptToken)Display the displayable that was being displayed before
preemptDisplay was called.
|
public javax.microedition.lcdui.Image | getTrustedMIDletIcon()Get the Image of the trusted icon for this Display.
Only callers with the internal AMS permission can use this method.
|
public void | initSecurityToken(com.sun.midp.security.SecurityToken token)Initializes the security token for this class, so it can
perform actions that a normal MIDlet Suite cannot.
|
public void | killCurrent()Kill the current foreground MIDlet and return to the
AMS or "selector" to possibly run another MIDlet in the
currently active suite. This is a system callback which
allows a user to forcibly exit a running MIDlet in cases
where it is necessary (such as a rogue MIDlet which does
not provide exit capability).
Called by the system event handler within Display.
|
public java.lang.Object | preemptDisplay(com.sun.midp.security.SecurityToken token, MIDletEventListener l, javax.microedition.lcdui.Displayable d, boolean waitForDisplay)Preempt the current displayable with
the given displayable until donePreempting is called.
The preemptor should stop preempting when a destroyMIDlet event occurs.
The event will have a null MIDlet parameter.
|
public void | releaseSystemEventListener(SystemEventListener l)Release the system event listener set during the call to
getDisplayManger.
|
public void | resumeAll()Resume the currently suspended state. This is a result
of the underlying system returning control to MIDP.
Any previously paused foreground MIDlet will be restarted
and the Display will be refreshed.
Called by the system event handler within Display.
|
public void | resumePrevious()Resume the currently suspended state. This is a result
of the underlying system returning control to MIDP.
Any previously paused foreground MIDlet will be restarted
and the Display will be refreshed.
Called by the system event handler within Display.
|
public void | screenChange(javax.microedition.lcdui.Display parent, javax.microedition.lcdui.Displayable screen)Called by event delivery when a screen change needs to occur.
|
public void | shutdown()Shutdown all running MIDlets and prepare the MIDP runtime
to exit completely.
|
public void | suspendAll()Suspend Pause all to allow the system to use the
display. This will result in calling pauseApp() on the
all of the active MIDlets. A subsequent 'resumeAll()' call will
return the all of the paused midlets to active status.
Called by the system event handler within Display.
|
public void | suspendCurrent()Suspend the current foreground MIDlet and return to the
AMS or "selector" to possibly run another MIDlet in the
currently active suite. Currently, the RI does not support
running multiple MIDlets, but if it did, this system
callback would allow it.
Called by the system event handler within Display.
|