javax.microedition.lcdui
Class Display
java.lang.Object
javax.microedition.lcdui.Display
public class Display
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Display
public Display()
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.