kUI Documentation
API Documentation
Mapping LCDUI classes to their KUI counterpart
To save valuable space, kUI concentrates the functionality of several different LCDUI classes in a small set of kUI classes. The following table given an overview of the mapping; details can be found in the corresponding kUI Javadoc pages.
| LCDUI class | kUI replacement |
|---|---|
| Alert | Use KForm KDisplay.createAlert(String title, String text, Image image) in order to create an alert screen. |
| Class Canvas | Inherit your implementation from KForm and overwrite at least the paint() method. |
| Class CustomItem | Inherit your implementation from KItem and overwrite at least the paint() method. |
| Display | Use KDisplay instead. You can access the underlying MIDP Display instance via getDisplay() |
| Class Form | Use KForm instead |
| Class ImageItem | Use the class StringItem and void setImage(Image image) in order to create items with images. |