Object: UIEvent
The UIEvent object represents a user interface event, generated by user interaction with a BlackBerry device input method, such as the trackball or trackwheel, or the BlackBerry device keypad.
To create an instance of a UIEvent, you must invoke Document.createEvent() with an input parameter of ”UIEvent”.
User interface events
Event type |
Bubbles |
Cancelable |
Description |
|---|---|---|---|
DOMFocusIn |
yes |
no |
Occurs when an EventTarget receives focus. |
DOMFocusOut |
yes |
no |
Occurs when an EventTarget loses focus. |
DOMActivate |
yes |
yes |
Occurs when an EventTarget is activated though a keyboard press or trackball or trackwheel click. This event type includes the following context information: |
UIEvent properties
UIEvent methods
Next topic: Geolocation API
Previous topic: TextEvent methods