Blackberry JAVA DEVELOPMENT ENVIRONMENT - - GPS AND MAPS - DEVELOPMENT GUIDE Uživatelský manuál Strana 8

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 33
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 7
Image creation
You can add an image to your application from a bitmap or an encoded image by using the Image API that is provided in the
net.rim.device.api.ui.image package. For example, you can use an Image as an icon in a menu item.
For more information about the Image API, see the API reference for the BlackBerry® Java® Development Environment.
Menu customization
You can customize a menu in your BlackBerry® device application.
Customization Description
background, border, and font You can specify a custom background, border, and font for a menu in your application
by using the Menu.setBackground, Menu.setBorder, and
Menu.setFont methods in the net.rim.device.api.ui.component
package.
menu icons You can add an icon to a menu item in your BlackBerry device application by using
the MenuItem.setIcon method in the net.rim.device.api.ui package.
To download a sample application that demonstrates how to customize a menu, visit www.blackberry.com/go/menusample. For
more information on customizing menus, see the BlackBerry Java Application UI and Navigation Development Guide and the
API reference for the BlackBerry® Java® Development Environment.
Picker dialog boxes
You can use picker dialog boxes to help users choose an item from a list.
Feature and Technical Overview
Screen and UI
6
Zobrazit stránku 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 32 33

Komentáře k této Příručce

Žádné komentáře