KeyboardEvent Interface Reference

import "KeyboardEvent.idl";

Inherits UIEvent.

Inheritance diagram for KeyboardEvent:

Inheritance graph
[legend]
Collaboration diagram for KeyboardEvent:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 24 of file KeyboardEvent.idl.


Member Function Documentation

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 
)


Member Data Documentation

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

Implements UIEvent.

Definition at line 61 of file KeyboardEvent.idl.

readonly attribute long charCode

Implements UIEvent.

Definition at line 62 of file KeyboardEvent.idl.


The documentation for this interface was generated from the following file:
Generated on Fri Feb 9 15:12:10 2007 for Web Kit DOM by  doxygen 1.5.1