|
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
An object that has the capability of being placed on the display. A Displayable object may have commands and listeners associated with it. The contents displayed and their interaction with the user are defined by subclasses.
| Method Summary | |
void |
addCommand(Command cmd)
Adds a command to the Displayable. |
boolean |
isShown()
Checks if the Displayable is actually visible on the display. |
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)
cmd - the command to be addedpublic void removeCommand(Command cmd)
cmd - the command to be removedpublic 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.
|
MID Profile | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||