Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.microedition.lcdui
Class Display  view Display download Display.java

java.lang.Object
  extended byjavax.microedition.lcdui.Display

public class Display
extends java.lang.Object


Nested Class Summary
private  class Display.AlertTimeout
           
private  class Display.DisplayAccessor
           
private  class Display.EventDispatcher
           
private  class Display.TickerPaint
           
 
Field Summary
private  Display.DisplayAccessor accessor
           
private  Displayable current
           
private static Display.EventDispatcher eventDispatcher
           
private  Displayable nextScreen
           
private  java.lang.Object paintLock
           
private  boolean repaintPending
           
private static Display.TickerPaint tickerPaint
           
 
Constructor Summary
(package private) Display()
           
 
Method Summary
 void callSerially(java.lang.Runnable r)
           
(package private)  void clearAlert()
           
 Displayable getCurrent()
           
static Display getDisplay(javax.microedition.midlet.MIDlet m)
           
(package private) static int getGameAction(int keyCode)
           
(package private) static int getKeyCode(int gameAction)
           
 boolean isColor()
           
(package private)  boolean isShown(Displayable d)
           
 int numColors()
           
private  void repaint()
           
(package private)  void repaint(Displayable d)
           
 void setCurrent(Alert alert, Displayable nextDisplayable)
           
 void setCurrent(Displayable nextDisplayable)
           
(package private)  void setScrollDown(boolean state)
           
(package private)  void setScrollUp(boolean state)
           
(package private)  void updateCommands()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eventDispatcher

private static Display.EventDispatcher eventDispatcher

tickerPaint

private static Display.TickerPaint tickerPaint

current

private Displayable current

nextScreen

private Displayable nextScreen

accessor

private Display.DisplayAccessor accessor

paintLock

private java.lang.Object paintLock

repaintPending

private boolean repaintPending
Constructor Detail

Display

Display()
Method Detail

callSerially

public void callSerially(java.lang.Runnable r)

numColors

public int numColors()

getDisplay

public static Display getDisplay(javax.microedition.midlet.MIDlet m)

getCurrent

public Displayable getCurrent()

isColor

public boolean isColor()

setCurrent

public void setCurrent(Displayable nextDisplayable)

setCurrent

public void setCurrent(Alert alert,
                       Displayable nextDisplayable)

clearAlert

void clearAlert()

getGameAction

static int getGameAction(int keyCode)

getKeyCode

static int getKeyCode(int gameAction)

isShown

boolean isShown(Displayable d)

repaint

void repaint(Displayable d)

setScrollDown

void setScrollDown(boolean state)

setScrollUp

void setScrollUp(boolean state)

updateCommands

void updateCommands()

repaint

private void repaint()