BiKeyboardEvent
This class describes event object used in keyboard events.
All keyboard events bubble by default. This means that once all the
event listeners have been notified the event propagates to the parent
BiComponent. To prevent the event to
bubble to the parent call
stopPropagation() on the event object.
The currently supported keyboard events by BiComponent
are:
keydown
keypress
keyup
This object should not be created by the user. It is created as needed by the event system.
This class extends
BiEvent
and therefore all methods and fields available for
BiEvent
are also available for
BiKeyboardEvent
.
Constructor
new
BiKeyboardEvent
(
sType,oBrowserEvent
)
Parameters
| Name | Type | Optional | Default | Descripton |
sType |
String |
The type (name) of the event | ||
oBrowserEvent |
Object |
This is the internal browser event object. |
Properties
Methods
None.
Events
None.
Static Methods
None.
Static Fields
| Name | Type | Descripton |
ALT |
Number |
The key code used for the ALT key. |
BACKSPACE |
Number |
The key code used for the BACKSPACE key. |
CONTROL |
Number |
The key code used for the CONTROL key. Same as CTRL |
CTRL |
Number |
The key code used for the CTRL key. |
DEL |
Number |
The key code used for the DEL key. |
DELETE |
Number |
The key code used for the DELETE key. Same as DEL |
DOWN |
Number |
The key code used for the DOWN key. |
END |
Number |
The key code used for the END key. |
ENTER |
Number |
The key code used for the ENTER key. |
ESC |
Number |
The key code used for the ESC key. |
F1 |
Number |
The key code used for the F1 key. |
F10 |
Number |
The key code used for the F10 key. |
F11 |
Number |
The key code used for the F11 key. |
F12 |
Number |
The key code used for the F12 key. |
F2 |
Number |
The key code used for the F2 key. |
F3 |
Number |
The key code used for the F3 key. |
F4 |
Number |
The key code used for the F4 key. |
F5 |
Number |
The key code used for the F5 key. |
F6 |
Number |
The key code used for the F6 key. |
F7 |
Number |
The key code used for the F7 key. |
F8 |
Number |
The key code used for the F8 key. |
F9 |
Number |
The key code used for the F9 key. |
HOME |
Number |
The key code used for the HOME key. |
INSERT |
Number |
The key code used for the INSERT key. |
LEFT |
Number |
The key code used for the LEFT key. |
NUM_LOCK |
Number |
The key code used for the NUM_LOCK key. |
NUMPAD_DIVIDE |
Number |
The key code used for the NUMPAD_DIVIDE key. |
NUMPAD_MINUS |
Number |
The key code used for the NUMPAD_MINUS key. |
NUMPAD_MULTIPLY |
Number |
The key code used for the NUMPAD_MULTIPLY key. |
NUMPAD_PLUS1 |
Number |
The key code used for the NUMPAD_PLUS1 key. |
NUMPAD0 |
Number |
The key code used for the NUMPAD0 key. |
NUMPAD1 |
Number |
The key code used for the NUMPAD1 key. |
NUMPAD2 |
Number |
The key code used for the NUMPAD2 key. |
NUMPAD3 |
Number |
The key code used for the NUMPAD3 key. |
NUMPAD4 |
Number |
The key code used for the NUMPAD4 key. |
NUMPAD5 |
Number |
The key code used for the NUMPAD5 key. |
NUMPAD6 |
Number |
The key code used for the NUMPAD6 key. |
NUMPAD7 |
Number |
The key code used for the NUMPAD7 key. |
NUMPAD8 |
Number |
The key code used for the NUMPAD8 key. |
NUMPAD9 |
Number |
The key code used for the NUMPAD9 key. |
PAGE_DOWN |
Number |
The key code used for the PAGE_DOWN key. |
PAGE_UP |
Number |
The key code used for the PAGE_UP key. |
RIGHT |
Number |
The key code used for the RIGHT key. |
SHIFT |
Number |
The key code used for the SHIFT key. |
SPACE |
Number |
The key code used for the SPACE key. |
TAB |
Number |
The key code used for the TAB key. |
UP |
Number |
The key code used for the UP key. |
Remarks
This object should not be created by the user. It is created as needed by the event system.
