FileDocCategorySizeDatePackage
StubDisplay.javaAPI DocphoneME MR2 API (J2ME)2850Wed May 02 18:00:22 BST 2007javax.microedition.lcdui

StubDisplay

public class StubDisplay extends Display

Fields Summary
Constructors Summary
public StubDisplay(String ownerName)
Creates a simple stub display and tells it that it is in the foreground.

param
ownerName class name of the MIDlet that owns this Display

        super(ownerName);
        foregroundController = new StubController();
        foregroundConsumer.handleDisplayForegroundNotifyEvent();
    
public StubDisplay()
Creates a stub display, in the foreground, with a stubbed out midlet controller event producer. This is sometimes necessary to prevent certain display actions (such as setCurrent) from flooding the AMS event queue with foreground-change requests.

        this("StubDisplay");
    
Methods Summary