|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--javax.microedition.lcdui.Display
This is the manager for displays in the system. There is one display per midlet
| Field Summary | |
Displayable |
current
The current displayable |
| Method Summary | |
void |
callSerially(Runnable r)
Let cause the runnable object to have its run method called sometime after the next repaint |
Displayable |
getCurrent()
Get the current displayable |
static Display |
getDisplay(MIDlet m)
Get the display for a midlet |
boolean |
isColor()
Do we support colour - the answer is yes |
int |
numColors()
Return the number of colours that can be represented |
void |
setCurrent(Alert alert,
Displayable next)
Set the current screen to be an alert, followed by a displayable |
void |
setCurrent(Displayable next)
Set the current displayable |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public Displayable current
| Method Detail |
public static Display getDisplay(MIDlet m)
m - The midlet
public void callSerially(Runnable r)
r - The runnable objectpublic Displayable getCurrent()
public boolean isColor()
public int numColors()
public void setCurrent(Alert alert,
Displayable next)
alert - The alertnext - The next displayablepublic void setCurrent(Displayable next)
next - The displayable to make current
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||