December 2007
Intermediate to advanced
432 pages
8h 37m
English
A middle ground lies between the easy path of canned LCDUI screens and the raw bravado of using Canvas. Custom items are your own items that can be placed into standard forms.
A custom item is very similar to a canvas, but it has some additional equipment to allow it to be part of a form. Create a custom item by subclassing javax.microedition.lcdui.CustomItem.
The size of a custom item is determined by the form. In your own implementation, you must specify a minimum and a preferred size for your custom item. The minimum is the smallest size your item can possibly be. The preferred size is the size at which your item will look its best and operate most smoothly.
The minimum and preferred sizes refer to ...
Read now
Unlock full access