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 publicForm
(String title); publicForm
(String title, Item[] items); // public instance methods public intappend
(Image img); public intappend
(Item item); public intappend
(String str); public voiddelete
(int itemNum); public Itemget
(int itemnum); public voidinsert
(int itemNum, Item item); public voidset
(int itemNum, Item item); public voidsetItemStateListener
(ItemStateListener listener) public intsize
( ); }
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.