Motorola T720 Developer's Manual page 42

Hide thumbs Also See for T720:
Table of Contents

Advertisement

Figure 16.
You'll notice that where LWT objects can't fit entirely on the screen, the LWT displays a
scrollbar at the right of the screen. You can't interact with the scrollbar; it's used to
indicate that some of the application's UI is off-screen. You use the navigation button to
see these hidden UI elements.
Step 3: Observe the button's behavior
Click on the Motorola T720's navigation button or use the keyboard's arrow keys to
navigate down the screen. The first click on the navigation button's down arrow causes
the small button at the top of the screen to display a small border (Figure 17). This border
indicates that the button has focus, or focus ownership.
Figure 17.
Focus defines where an LWT component receives key events from the device. In the case
of a button, there's not much in the way of key events to process, but it's important for,
say, an LWT TextArea component where the user must rely on the phone's keypad to
enter text.
NOTE: An LWT component receives focus only if it is visible, enabled, and its
acceptKeyFocus field is set to true. You might set this field to false to use the button as an
ornament in a screen design, rather than as a functional control.
42
The simulator displaying LWT buttons.
The first button has focus ownership, as indicated by the border.

Advertisement

Table of Contents
loading

Table of Contents