Blackberry JAVA DEVELOPMENT ENVIRONMENT - - CRYPTOGRAPHIC SMART CARD DRIVER - DEVELOPMENT GUIDE Instrukcja Naprawy Strona 41

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 286
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 40
41
1: Creating UIs
Interpret the status parameter of
the navigation methods.
> In your implementation of one of the navigationClick, navigationUnclick, or
navigationMovement methods of the Screen or Field classes, perform a bitwise AND
operation on the status parameter to yield more information about the event. For example, to
determine the type of input mechanism that triggered an event, in your implementation of the
navigationClick(int status, int time) method, create code such as the following:
public boolean navigationClick(int status, int time) {
if ((status & KeypadListener.STATUS_TRACKWHEEL) ==
KeypadListener.STATUS_TRACKWHEEL) {
//Input came from the trackwheel
} else if ((status & KeypadListener.STATUS_FOUR_WAY) ==
KeypadListener.STATUS_FOUR_WAY) {
//Input came from a four way navigation input device
}
return super.navigationClick(status, time); }
See the API Reference for the class net.rim.device.api.system.KeypadListener for a listing
of other status modifiers.
Respond to BlackBerry® device
user interaction.
>Use the Screen class and its subclasses to provide a menu for the BlackBerry device users to
perform actions.
Provide screen navigation when
using a
FullScreen or Screen.
Creating a MainScreen object provides default navigation to your application. Avoid using buttons or
other UI elements that take up space on the screen.
> Specify the DEFAULT_MENU and DEFAULT_CLOSE parameters in the constructor to provide default
navigation.
FullScreen fullScreen = new FullScreen(DEFAULT_MENU | DEFAULT_CLOSE);
Provice menu support. > Extend the Screen class.
Provide menu support in an
application that uses the
TrackwheelClick() method of
the
TrackwheelListener.
1. Update your application to use an extension of the Screen class.
2. In the constructor of your Screen class extension, make sure to invoke the Screen class
constructor using the DEFAULT_MENU property.
3. Make sure your extension of the makeMenu() method of the Screen class invokes
Screen.makeMenu() and adds the required menu items for the current UI application.
Task Steps
Przeglądanie stron 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 285 286

Komentarze do niniejszej Instrukcji

Brak uwag

Kontron AM5020 uEFI BIOS podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Sprzęt komputerowy Kontron AM5020 uEFI BIOS.
Dostarczamy 1 pdf podręczników Kontron AM5020 uEFI BIOS do pobrania za darmo według typów dokumentów: Instrukcja Użytkownika






Więcej produktów i instrukcji dla Sprzęt komputerowy Kontron

Modele Rodzaj dokumentu
AM5020 Instrukcja Użytkownika   Kontron AM5020 User Manual, 34 strony
AM5020 IPMI Firmware Instrukcja Użytkownika   Kontron AM5020 IPMI Firmware User Manual, 48 strony
AM4100 Instrukcja Użytkownika   Kontron AM4100 User Manual [en] [de] [fr] , 32 strony
AM4120 Instrukcja Użytkownika   Kontron AM4120 User Manual, 30 strony
AM4120 IPMI Firmware Instrukcja Użytkownika   Kontron AM4120 IPMI Firmware User Manual, 40 strony
AM4140 Instrukcja Użytkownika   Kontron AM4140 User Manual, 30 strony
AM4140 U-Boot Bootloader Instrukcja Użytkownika   Kontron AM4140 U-Boot Bootloader User Manual, 46 strony
AM4140 IPMI Firmware Instrukcja Użytkownika   Kontron AM4140 IPMI Firmware User Manual, 40 strony
AM4150 Instrukcja Użytkownika   Kontron AM4150 User Manual, 30 strony
AM4150 IPMI Firmware Instrukcja Użytkownika   Kontron AM4150 IPMI Firmware User Manual, 40 strony
AM4150 U-Boot Bootloader Instrukcja Użytkownika   Kontron AM4150 U-Boot Bootloader User Manual, 48 strony
AM4020 Instrukcja Użytkownika   Kontron AM4020 User Manual, 32 strony
AM4020 uEFI BIOS Instrukcja Użytkownika   Kontron AM4020 uEFI BIOS User Manual, 66 strony
AM4020 IPMI Firmware Instrukcja Użytkownika   Kontron AM4020 IPMI Firmware User Manual, 50 strony
AM4022 Instrukcja Użytkownika   Kontron AM4022 User Manual, 34 strony
AM4022 uEFI BIOS Instrukcja Użytkownika   Kontron AM4022 uEFI BIOS User Manual, 76 strony
AM4022 IPMI Firmware Instrukcja Użytkownika   Kontron AM4022 IPMI Firmware User Manual, 48 strony
AM4024e Instrukcja Użytkownika   Kontron AM4024e User Manual, 92 strony
JRexplus-DC Instrukcja Użytkownika   Kontron JRexplus-DC User Manual, 77 strony
JRexplus-LX Instrukcja Użytkownika   Kontron JRexplus-LX User Manual, 60 strony