|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.lcdui.Displayable
A superclass of all Screens that can be put on the display.
The application may change the visible component 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 |
setCommandListener(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.Command
public void removeCommand(Command cmd)
startApp
returns back to the implementation.
cmd
- the command to be removed.Command
public void setCommandListener(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
.
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Generated on 2003-10-17 | For further information and updates, please visit Siemens mobile Developer Portal |