Name

javax.microedition.lcdui.Displayable

Synopsis

This class is an object that has the capability of being placed on the display, and it may have commands and listeners associated with it. Subclasses define the contents and their interactions with the user. Both Canvas and Screen are direct subclasses of Displayable.

public abstract classDisplayable {
   // public instance methods
   public void addCommand(Command cmd);
   public boolean isShown(  );
   public void removeCommand(Command cmd);
   public void setCommandListener(CommandListener l);
}

Get Wireless Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.