| java.lang.Object com.sun.midp.lcdui.DisplayFactory
DisplayFactory | public class DisplayFactory (Code) | | System non-MIDlet classes use this class to get Display.
|
getDisplay | public static Display getDisplay(SecurityToken token, String owner)(Code) | | Gets the Display object by owner name.
Parameters: token - security token for authorizing the caller for thecom.sun.midp permission. Parameters: owner - name of the owner of the display, the owner can be the display object that application can use for its userinterface throws: NullPointerException - if owner is null |
getDisplay | public static Display getDisplay(String owner)(Code) | | Gets the Display object by owner name.
The caller must be granted the com.sun.midp permission.
Parameters: owner - name of the owner of the display, the owner can be the display object that application can use for its userinterface throws: NullPointerException - if owner is null |
setStaticDisplayAccess | public static void setStaticDisplayAccess(SecurityToken token, DisplayStaticAccess tunnel)(Code) | | Sets up the reference to the DisplayStaticAccess implementation.
This must be called exactly once during system initialization.
Parameters: token - security token for authorizing the caller Parameters: tunnel - the DisplayStaticAccess implementation |
|
|