javax.microedition.lcdui
Class Display

java.lang.Object
  extended by javax.microedition.lcdui.Display

public class Display
extends Object


Field Summary
static int ALERT
           
static int CHOICE_GROUP_ELEMENT
           
static int COLOR_BACKGROUND
           
static int COLOR_BORDER
           
static int COLOR_FOREGROUND
           
static int COLOR_HIGHLIGHTED_BACKGROUND
           
static int COLOR_HIGHLIGHTED_BORDER
           
static int COLOR_HIGHLIGHTED_FOREGROUND
           
static int LIST_ELEMENT
           
 
Constructor Summary
Display()
           
 
Method Summary
 void callSerially(Runnable r)
           
 boolean flashBacklight(int duration)
           
 int getBestImageHeight(int imageType)
           
 int getBestImageWidth(int imageType)
           
 int getBorderStyle(boolean highlighted)
           
 int getColor(int colorSpecifier)
           
 Displayable getCurrent()
           
static Display getDisplay(MIDlet m)
           
 boolean isColor()
           
 int numAlphaLevels()
           
 int numColors()
           
 void setCurrent(Alert alert, Displayable nextDisplayable)
           
 void setCurrent(Displayable nextDisplayable)
           
 void setCurrentItem(Item item)
           
static void setStaticInstance(Display delegate)
           
protected  Display static_getDisplay(MIDlet m)
           
 boolean vibrate(int duration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LIST_ELEMENT

public static final int LIST_ELEMENT
See Also:
Constant Field Values

CHOICE_GROUP_ELEMENT

public static final int CHOICE_GROUP_ELEMENT
See Also:
Constant Field Values

ALERT

public static final int ALERT
See Also:
Constant Field Values

COLOR_BACKGROUND

public static final int COLOR_BACKGROUND
See Also:
Constant Field Values

COLOR_FOREGROUND

public static final int COLOR_FOREGROUND
See Also:
Constant Field Values

COLOR_HIGHLIGHTED_BACKGROUND

public static final int COLOR_HIGHLIGHTED_BACKGROUND
See Also:
Constant Field Values

COLOR_HIGHLIGHTED_FOREGROUND

public static final int COLOR_HIGHLIGHTED_FOREGROUND
See Also:
Constant Field Values

COLOR_BORDER

public static final int COLOR_BORDER
See Also:
Constant Field Values

COLOR_HIGHLIGHTED_BORDER

public static final int COLOR_HIGHLIGHTED_BORDER
See Also:
Constant Field Values
Constructor Detail

Display

public Display()
Method Detail

setStaticInstance

public static void setStaticInstance(Display delegate)

getDisplay

public static Display getDisplay(MIDlet m)

static_getDisplay

protected Display static_getDisplay(MIDlet m)

getColor

public int getColor(int colorSpecifier)

getBorderStyle

public int getBorderStyle(boolean highlighted)

isColor

public boolean isColor()

numColors

public int numColors()

numAlphaLevels

public int numAlphaLevels()

getCurrent

public Displayable getCurrent()

setCurrent

public void setCurrent(Displayable nextDisplayable)

setCurrent

public void setCurrent(Alert alert,
                       Displayable nextDisplayable)

setCurrentItem

public void setCurrentItem(Item item)

callSerially

public void callSerially(Runnable r)

flashBacklight

public boolean flashBacklight(int duration)

vibrate

public boolean vibrate(int duration)

getBestImageWidth

public int getBestImageWidth(int imageType)

getBestImageHeight

public int getBestImageHeight(int imageType)


Copyright © 2006-2007 Jayway AB. All Rights Reserved.