Blackberry JAVA DEVELOPMENT ENVIRONMENT - - RELEASE NOTES Manual de usuario Pagina 15

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 30
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 14
Item Description
Date and time picker The net.rim.device.api.ui.picker.DateTimePicker class is a user interface
component that is used to only pick a date, only pick a time, or pick the date and time
together. While the DateTimePicker is a Manager, no additional fields are actually
intended to be added to this.
Enhancements for string
comparisons
The compareToHandleSpecialChars(String s1, String s2) method in the
net.rim.device.api.util.StringUtilities class can be used to do a case-
insensitive comparison of two strings that handles special characters differently than strict
ASCII order. This method replaces
StringUtilities.compareToOutlookOrder(String, String).
EventInjector API The net.rim.device.api.system.EventInjector class has been improved for
BlackBerry devices with a touch screen to allow for additional programmatic injection of
events into the system using the EventInjector class.
The EventInjector.TouchEvent has been added which includes fields and methods
to set and get points with X and Y coordinates, as well as create and inject touch gestures
such as swipe, tap, and click through.
Eyelid field The
net.rim.device.api.ui.extension.container.EyelidFieldManager
class is used to display text or static image information on the top of a UI object for a period
of time.
FontManager API You can now load and remove custom fonts for system-wide or application-specific use using
the net.rim.device.api.ui.FontManager class. You can load custom fonts into
persistent memory (see SYSTEM_FONT) or into application memory (see
APPLICATION_FONT).
Menu Icon API You can add icons to a menu using new methods available from the
net.rim.device.api.ui.MenuItem class. You can set a menu icon and determine
an existing icon by using the setIcon(Image icon) and Image getIcon() methods.
Menu Customization API The net.rim.device.api.ui.component.Menu class has been enhanced to allow
you to determine and set the background, border and font for the menu. When displayed,
the menu will be shown with the custom background, border and font. The following methods
have been added to enable this functionality:
getBackground()
setBackground(Background)
getBorder()
RIM Confidential and Proprietary Information - Beta Customers Only. Content and software are subject to change.
13
Vista de pagina 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 29 30

Comentarios a estos manuales

Sin comentarios