| com.sun.midp.lcdui.DisplayEventHandler
All known Subclasses: javax.microedition.lcdui.DisplayEventHandlerImpl,
DisplayEventHandler | public interface DisplayEventHandler (Code) | | This class works around the fact that public classes can not
be added to a javax package by an implementation.
|
donePreempting | public void donePreempting(Object preemptToken)(Code) | | Display the displayable that was being displayed before
preemptDisplay was called.
Parameters: preemptToken - the token returned from preemptDisplay |
initDisplayEventHandler | public void initDisplayEventHandler(DisplayEventProducer theDisplayEventProducer, ForegroundController theForegroundController, RepaintEventProducer theRepaintEventProducer, DisplayContainer theDisplayContainer)(Code) | | Initialize Display Event Handler
Parameters: theDisplayEventProducer - producer for display events Parameters: theForegroundController - controls which display has the foreground Parameters: theRepaintEventProducer - producer for repaint events events Parameters: theDisplayContainer - container for display objects |
initSuiteData | void initSuiteData(boolean drawTrustedIcon)(Code) | | Initialize per suite data of the display event handler.
Parameters: drawTrustedIcon - true, to draw the trusted icon in the upperstatus bar for every display of this suite |
onDisplayBackgroundProcessed | public void onDisplayBackgroundProcessed(int displayId)(Code) | | Called by Display to notify DisplayEventHandler that
Display has been sent to the background to finish
preempt process if any.
Parameters: displayId - id of Display |
preemptDisplay | public Object preemptDisplay(Displayable d, boolean waitForDisplay) throws InterruptedException(Code) | | Preempt the current displayable with
the given displayable until donePreempting is called.
Parameters: d - displayable to show the user Parameters: waitForDisplay - if true this method will wait if thescreen is being preempted by another thread. an preempt token object to pass to donePreempting done if premptwill happen, else null exception: SecurityException - if the caller does not have permissionthe internal MIDP permission. exception: InterruptedException - if another thread interrupts thecalling thread while this method is waiting to preempt thedisplay. |
|
|