import "KeyboardEvent.idl";
Inherits UIEvent.
Inheritance diagram for KeyboardEvent:


Public Member Functions | |
| boolean | getModifierState (in DOMString keyIdentifierArg) |
| void | initKeyboardEvent (in AtomicString type, in boolean canBubble, in boolean cancelable, in DOMWindow view, in DOMString keyIdentifier, in unsigned long keyLocation, in boolean ctrlKey, in boolean altKey, in boolean shiftKey, in boolean metaKey, in boolean altGraphKey) |
| void | initKeyboardEvent (in AtomicString type, in boolean canBubble, in boolean cancelable, in DOMWindow view, in DOMString keyIdentifier, in unsigned long keyLocation, in boolean ctrlKey, in boolean altKey, in boolean shiftKey, in boolean metaKey) |
Public Attributes | |
| const unsigned long | KEY_LOCATION_STANDARD = 0x00 |
| const unsigned long | KEY_LOCATION_LEFT = 0x01 |
| const unsigned long | KEY_LOCATION_RIGHT = 0x02 |
| const unsigned long | KEY_LOCATION_NUMPAD = 0x03 |
| readonly attribute DOMString | keyIdentifier |
| readonly attribute unsigned long | keyLocation |
| readonly attribute boolean | ctrlKey |
| readonly attribute boolean | shiftKey |
| readonly attribute boolean | altKey |
| readonly attribute boolean | metaKey |
| readonly attribute boolean | altGraphKey |
| readonly attribute long | keyCode |
| readonly attribute long | charCode |
Definition at line 24 of file KeyboardEvent.idl.
| boolean getModifierState | ( | in DOMString | keyIdentifierArg | ) |
| void initKeyboardEvent | ( | in AtomicString | type, | |
| in boolean | canBubble, | |||
| in boolean | cancelable, | |||
| in DOMWindow | view, | |||
| in DOMString | keyIdentifier, | |||
| in unsigned long | keyLocation, | |||
| in boolean | ctrlKey, | |||
| in boolean | altKey, | |||
| in boolean | shiftKey, | |||
| in boolean | metaKey, | |||
| in boolean | altGraphKey | |||
| ) |
| void initKeyboardEvent | ( | in AtomicString | type, | |
| in boolean | canBubble, | |||
| in boolean | cancelable, | |||
| in DOMWindow | view, | |||
| in DOMString | keyIdentifier, | |||
| in unsigned long | keyLocation, | |||
| in boolean | ctrlKey, | |||
| in boolean | altKey, | |||
| in boolean | shiftKey, | |||
| in boolean | metaKey | |||
| ) |
| const unsigned long KEY_LOCATION_STANDARD = 0x00 |
Definition at line 28 of file KeyboardEvent.idl.
| const unsigned long KEY_LOCATION_LEFT = 0x01 |
Definition at line 29 of file KeyboardEvent.idl.
| const unsigned long KEY_LOCATION_RIGHT = 0x02 |
Definition at line 30 of file KeyboardEvent.idl.
| const unsigned long KEY_LOCATION_NUMPAD = 0x03 |
Definition at line 31 of file KeyboardEvent.idl.
| readonly attribute DOMString keyIdentifier |
Definition at line 34 of file KeyboardEvent.idl.
| readonly attribute unsigned long keyLocation |
Definition at line 35 of file KeyboardEvent.idl.
| readonly attribute boolean ctrlKey |
Definition at line 36 of file KeyboardEvent.idl.
| readonly attribute boolean shiftKey |
Definition at line 37 of file KeyboardEvent.idl.
| readonly attribute boolean altKey |
Definition at line 38 of file KeyboardEvent.idl.
| readonly attribute boolean metaKey |
Definition at line 39 of file KeyboardEvent.idl.
| readonly attribute boolean altGraphKey |
Definition at line 40 of file KeyboardEvent.idl.
| readonly attribute long keyCode |
| readonly attribute long charCode |
1.5.1