| java.lang.Object com.sun.midp.main.CldcForegroundController
CldcForegroundController | class CldcForegroundController implements ForegroundController(Code) | | This class provides methods to abstract the central foreground control
code from the the LCDUI library.
|
CldcForegroundController | CldcForegroundController(MIDletControllerEventProducer theMIDletControllerEventProducer)(Code) | | Initializes this class.
Parameters: theMIDletControllerEventProducer - event producer |
registerDisplay | public Displayable registerDisplay(int displayId, String ownerClassName)(Code) | | Called to register a newly create Display. Must method must
be called before the other methods can be called.
Parameters: displayId - ID of the Display Parameters: ownerClassName - Class name of the that owns the display a place holder displayable to used when "getCurrent()==null",if null is returned an empty form is used |
requestBackground | public void requestBackground(int displayId)(Code) | | Called to request the background.
Parameters: displayId - ID of the Display |
requestForeground | public void requestForeground(int displayId, boolean isAlert)(Code) | | Called to request the foreground.
Parameters: displayId - ID of the Display Parameters: isAlert - true if the current displayable is an Alert |
startPreempting | public void startPreempting(int displayId)(Code) | | Called to start preempting. The given display will preempt all other
displays for this isolate.
Parameters: displayId - ID of the Display |
stopPreempting | public void stopPreempting(int displayId)(Code) | | Called to end preempting.
Parameters: displayId - ID of the Display |
|
|