Help Center

Local Navigation

Screen classes

Class

Description

Screen

Use the Screen class to define a manager to lay out UI components on the screen and to define a specific type of screen using the styles that the constants on the Field superclass define.

FullScreen

By default, a FullScreen class contains a single vertical field manager. Use a FullScreen class to provide an empty screen that you can add UI components to in a standard vertical layout. For another layout style, such as horizontal or diagonal, use a Screen class and add a Manager to it.

MainScreen

The MainScreen class provides features that are common to standard BlackBerry® Java® Applications. Use a MainScreen object for the first screen of your BlackBerry Java Application to maintain consistency with other BlackBerry Java Applications. The MainScreen class provides the following UI components:

  • default position of a screen title, with a SeparatorField after the title
  • main scrollable section contained in a VerticalFieldManager
  • default menu with a Close menu item
  • default close action when the BlackBerry device user clicks the Close menu item or presses the Escape key

Index


Was this information helpful? Send us your comments.