Name

javax.microedition.lcdui.Form

Synopsis

This class extends the Screen class, and therefore a form is a screen that contains an arbitrary mixture of items (e.g., images, text, date fields, etc). As a general rule, any subclass of the Item class may be contained within a form.

public classForm extends Screen {
   // public constructors
   public Form(String title);
   public Form(String title, Item[] items);
   // public instance methods
   public int append(Image img);
   public int append(Item item);
   public int append(String str);
   public void delete(int itemNum);
   public Item get(int itemnum);
   public void insert(int itemNum, Item item);
   public void set(int itemNum, Item item);
   public void setItemStateListener(ItemStateListener listener)
   public int size(  );
}

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.