|
MID Profile | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--javax.microedition.lcdui.Displayable
A superclass of all Screens that can be put on the display.
The application may change the visible comnent when a Displayable while it its shown to the user. In that case the visible effect should take place no later than immediately after the callback returns back to the implementation.
| Method Summary | |
void |
addCommand(Command cmd)
Adds a command to the Displayable. |
boolean |
isShown()
Checks if the Displayable is really shown. |
void |
removeCommand(Command cmd)
Removes a command from the Displayable. |
void |
setListener(CommandListener l)
Sets a listener for Commands to this Displayable,
replacing any previous CommandListener. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public boolean isShown()
public void addCommand(Command cmd)
startApp
returns back to the implemenation.cmd - the command to be added.Commandpublic void removeCommand(Command cmd)
startApp
returns back to the implementation.cmd - the command to be removed.Commandpublic void setListener(CommandListener l)
Commands to this Displayable,
replacing any previous CommandListener. A null reference is
allowed and has the effect of removing any existing listener.l - the new listener, or null.
|
MID Profile | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||