FileDocCategorySizeDatePackage
ForegroundController.javaAPI DocphoneME MR2 API (J2ME)2727Wed May 02 18:00:24 BST 2007com.sun.midp.lcdui

ForegroundController

public interface ForegroundController
This class provides methods to abstract the central foreground control code from the the LCDUI library.

Fields Summary
Constructors Summary
Methods Summary
public javax.microedition.lcdui.DisplayableregisterDisplay(int displayId, java.lang.String ownerClassName)
Called to register a newly created Display. Must method must be called before the other methods can be called.

param
displayId ID of the Display
param
ownerClassName Class name of the that owns the display
return
a place holder displayable to used when "getCurrent()==null", if null is returned an empty form is used

public voidrequestBackground(int displayId)
Called to request the background.

param
displayId ID of the Display

public voidrequestForeground(int displayId, boolean isAlert)
Called to request the foreground.

param
displayId ID of the Display
param
isAlert true if the current displayable is an Alert

public voidstartPreempting(int displayId)
Called to start preempting. The given display will preempt all other displays for this isolate.

param
displayId ID of the Display

public voidstopPreempting(int displayId)
Called to stop preempting.

param
displayId ID of the Display