Featured classes

net.rim.device.api.ui.decor.Background

This class represents a rectangular region that is not focusable and that is contained within a screen or a field. You can create Background objects by calling one of the BackgroundFactory methods. You can also define and create custom Background objects by extending the Background class.

The sample application provides an example of a different background for each RichTextField object that the screen displays. The sample application demonstrates how to create Background objects by using different BackgroundFactory methods and the fields from the Background class.

net.rim.device.api.ui.decor.Border

This class represents a border with four edges around a rectangular region that is not focusable and that is contained within a screen or a field. You can create Border objects by calling one of the BorderFactory methods. You can also define and create custom Border objects by extending the Border class.

The sample application provides an example of a different border for each RichTextField object that the screen displays. The sample application demonstrates how to create Border objects by using different BorderFactory methods, fields from the Border class, and custom XYEdges objects.

net.rim.device.api.ui.component.RichTextField

This class represents a read-only field that displays text in a variety of fonts and formatting.

The sample application uses RichTextField objects to display different configurations of Background, Border, and XYEdges objects. In the sample application, each RichTextField object displays a text description of its appearance. In the sample application, the RichTextField constructor uses the Field.NON_FOCUSABLE field to make the RichTextField objects not focusable.

net.rim.device.api.ui.XYEdges

This class specifies the padding, border, and margins of an object.

The sample application uses XYEdges objects to define different configurations of colors and padding for a Border object.

Previous topic: Overview

Was this information helpful? Send us your comments.