nsgenbind
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
KeyboardEvent Interface Reference

import <uievents.idl;

Inheritance diagram for KeyboardEvent:
UIEvent Event

Public Member Functions

boolean getModifierState (DOMString keyArg)
 
void initKeyboardEvent (DOMString typeArg, boolean bubblesArg, boolean cancelableArg, Window? viewArg, DOMString keyArg, unsigned long locationArg, DOMString modifiersListArg, boolean repeat, DOMString locale)
 
- Public Member Functions inherited from UIEvent
void initUIEvent (DOMString typeArg, boolean bubblesArg, boolean cancelableArg, Window? viewArg, long detailArg)
 
- Public Member Functions inherited from Event
void stopPropagation ()
 
void stopImmediatePropagation ()
 
void preventDefault ()
 
void initEvent (DOMString type, boolean bubbles, boolean cancelable)
 

Public Attributes

const unsigned long DOM_KEY_LOCATION_STANDARD = 0x00
 
const unsigned long DOM_KEY_LOCATION_LEFT = 0x01
 
const unsigned long DOM_KEY_LOCATION_RIGHT = 0x02
 
const unsigned long DOM_KEY_LOCATION_NUMPAD = 0x03
 
readonly attribute DOMString key
 
readonly attribute DOMString code
 
readonly attribute unsigned long location
 
readonly attribute boolean ctrlKey
 
readonly attribute boolean shiftKey
 
readonly attribute boolean altKey
 
readonly attribute boolean metaKey
 
readonly attribute boolean repeat
 
readonly attribute boolean isComposing
 
readonly attribute unsigned long charCode
 
readonly attribute unsigned long keyCode
 
readonly attribute unsigned long which
 
- Public Attributes inherited from UIEvent
readonly attribute Window view
 
readonly attribute long detail
 
- Public Attributes inherited from Event
readonly attribute DOMString type
 
readonly attribute EventTarget target
 
readonly attribute EventTarget currentTarget
 
const unsigned short NONE = 0
 
const unsigned short CAPTURING_PHASE = 1
 
const unsigned short AT_TARGET = 2
 
const unsigned short BUBBLING_PHASE = 3
 
readonly attribute unsigned short eventPhase
 
readonly attribute boolean bubbles
 
readonly attribute boolean cancelable
 
readonly attribute boolean defaultPrevented
 
readonly attribute boolean isTrusted
 
readonly attribute DOMTimeStamp timeStamp
 

Detailed Description

Definition at line 90 of file uievents.idl.

Member Function Documentation

◆ getModifierState()

boolean KeyboardEvent::getModifierState ( DOMString  keyArg)

◆ initKeyboardEvent()

void KeyboardEvent::initKeyboardEvent ( DOMString  typeArg,
boolean  bubblesArg,
boolean  cancelableArg,
Window viewArg,
DOMString  keyArg,
unsigned long  locationArg,
DOMString  modifiersListArg,
boolean  repeat,
DOMString  locale 
)

Member Data Documentation

◆ altKey

readonly attribute boolean KeyboardEvent::altKey

Definition at line 101 of file uievents.idl.

◆ charCode

readonly attribute unsigned long KeyboardEvent::charCode

Definition at line 162 of file uievents.idl.

◆ code

readonly attribute DOMString KeyboardEvent::code

Definition at line 97 of file uievents.idl.

◆ ctrlKey

readonly attribute boolean KeyboardEvent::ctrlKey

Definition at line 99 of file uievents.idl.

◆ DOM_KEY_LOCATION_LEFT

const unsigned long KeyboardEvent::DOM_KEY_LOCATION_LEFT = 0x01

Definition at line 93 of file uievents.idl.

◆ DOM_KEY_LOCATION_NUMPAD

const unsigned long KeyboardEvent::DOM_KEY_LOCATION_NUMPAD = 0x03

Definition at line 95 of file uievents.idl.

◆ DOM_KEY_LOCATION_RIGHT

const unsigned long KeyboardEvent::DOM_KEY_LOCATION_RIGHT = 0x02

Definition at line 94 of file uievents.idl.

◆ DOM_KEY_LOCATION_STANDARD

const unsigned long KeyboardEvent::DOM_KEY_LOCATION_STANDARD = 0x00

Definition at line 92 of file uievents.idl.

◆ isComposing

readonly attribute boolean KeyboardEvent::isComposing

Definition at line 104 of file uievents.idl.

◆ key

readonly attribute DOMString KeyboardEvent::key

Definition at line 96 of file uievents.idl.

◆ keyCode

readonly attribute unsigned long KeyboardEvent::keyCode

Definition at line 163 of file uievents.idl.

◆ location

readonly attribute unsigned long KeyboardEvent::location

Definition at line 98 of file uievents.idl.

◆ metaKey

readonly attribute boolean KeyboardEvent::metaKey

Definition at line 102 of file uievents.idl.

◆ repeat

readonly attribute boolean KeyboardEvent::repeat

Definition at line 103 of file uievents.idl.

◆ shiftKey

readonly attribute boolean KeyboardEvent::shiftKey

Definition at line 100 of file uievents.idl.

◆ which

readonly attribute unsigned long KeyboardEvent::which

Definition at line 164 of file uievents.idl.


The documentation for this interface was generated from the following file: