KeyboardEvent
@Deprecated public class KeyboardEvent extends KeyboardEvent
DOM_VK_0, DOM_VK_1, DOM_VK_2, DOM_VK_3, DOM_VK_4, DOM_VK_5, DOM_VK_6, DOM_VK_7, DOM_VK_8, DOM_VK_9, DOM_VK_A, DOM_VK_ADD, DOM_VK_ALT, DOM_VK_B, DOM_VK_BACK_QUOTE, DOM_VK_BACK_SLASH, DOM_VK_BACK_SPACE, DOM_VK_C, DOM_VK_CANCEL, DOM_VK_CAPS_LOCK, DOM_VK_CLEAR, DOM_VK_CLOSE_BRACKET, DOM_VK_COMMA, DOM_VK_CONTEXT_MENU, DOM_VK_CONTROL, DOM_VK_D, DOM_VK_DECIMAL, DOM_VK_DELETE, DOM_VK_DIVIDE, DOM_VK_DOWN, DOM_VK_E, DOM_VK_END, DOM_VK_ENTER, DOM_VK_EQUALS, DOM_VK_ESCAPE, DOM_VK_F, DOM_VK_F1, DOM_VK_F10, DOM_VK_F11, DOM_VK_F12, DOM_VK_F13, DOM_VK_F14, DOM_VK_F15, DOM_VK_F16, DOM_VK_F17, DOM_VK_F18, DOM_VK_F19, DOM_VK_F2, DOM_VK_F20, DOM_VK_F21, DOM_VK_F22, DOM_VK_F23, DOM_VK_F24, DOM_VK_F3, DOM_VK_F4, DOM_VK_F5, DOM_VK_F6, DOM_VK_F7, DOM_VK_F8, DOM_VK_F9, DOM_VK_G, DOM_VK_H, DOM_VK_HELP, DOM_VK_HOME, DOM_VK_I, DOM_VK_INSERT, DOM_VK_J, DOM_VK_K, DOM_VK_L, DOM_VK_LEFT, DOM_VK_M, DOM_VK_META, DOM_VK_MULTIPLY, DOM_VK_N, DOM_VK_NUM_LOCK, DOM_VK_NUMPAD0, DOM_VK_NUMPAD1, DOM_VK_NUMPAD2, DOM_VK_NUMPAD3, DOM_VK_NUMPAD4, DOM_VK_NUMPAD5, DOM_VK_NUMPAD6, DOM_VK_NUMPAD7, DOM_VK_NUMPAD8, DOM_VK_NUMPAD9, DOM_VK_O, DOM_VK_OPEN_BRACKET, DOM_VK_P, DOM_VK_PAGE_DOWN, DOM_VK_PAGE_UP, DOM_VK_PAUSE, DOM_VK_PERIOD, DOM_VK_PRINTSCREEN, DOM_VK_Q, DOM_VK_QUOTE, DOM_VK_R, DOM_VK_RETURN, DOM_VK_RIGHT, DOM_VK_S, DOM_VK_SCROLL_LOCK, DOM_VK_SEMICOLON, DOM_VK_SEPARATOR, DOM_VK_SHIFT, DOM_VK_SLASH, DOM_VK_SPACE, DOM_VK_SUBTRACT, DOM_VK_T, DOM_VK_TAB, DOM_VK_U, DOM_VK_UP, DOM_VK_V, DOM_VK_W, DOM_VK_X, DOM_VK_Y, DOM_VK_Z
ABORT, ALT_MASK, AT_TARGET, BACK, BLUR, BUBBLING_PHASE, CAPTURING_PHASE, CHANGE, CLICK, CONTROL_MASK, DBLCLICK, DRAGDROP, ERROR, FOCUS, FORWARD, HELP, KEY_CURRENT_EVENT, KEYDOWN, KEYPRESS, KEYUP, LOAD, LOCATE, META_MASK, MOUSEDOWN, MOUSEDRAG, MOUSEMOVE, MOUSEOUT, MOUSEOVER, MOUSEUP, MOVE, NONE, RESET, RESIZE, SCROLL, SELECT, SHIFT_MASK, SUBMIT, TEXT, TYPE_BEFORE_UNLOAD, TYPE_BLUR, TYPE_CHANGE, TYPE_DOM_DOCUMENT_LOADED, TYPE_ERROR, TYPE_FOCUS, TYPE_FOCUS_IN, TYPE_FOCUS_OUT, TYPE_HASH_CHANGE, TYPE_INPUT, TYPE_KEY_DOWN, TYPE_KEY_PRESS, TYPE_KEY_UP, TYPE_LOAD, TYPE_MESSAGE, TYPE_PROPERTY_CHANGE, TYPE_READY_STATE_CHANGE, TYPE_RESET, TYPE_SUBMIT, TYPE_UNLOAD, UNLOAD, XFER_DONE
Constructor and Description |
---|
KeyboardEvent()
Deprecated.
Creates a new keyboard event instance.
|
KeyboardEvent(DomNode domNode,
String type,
char character,
boolean shiftKey,
boolean ctrlKey,
boolean altKey)
Deprecated.
Creates a new keyboard event instance.
|
KeyboardEvent(DomNode domNode,
String type,
int keyCode,
boolean shiftKey,
boolean ctrlKey,
boolean altKey)
Deprecated.
Creates a new keyboard event instance.
|
getAltKey, getCharCode, getCtrlKey, getKeyCode, getShiftKey, getWhich, initKeyEvent
getCancelBubble, getDetail, getMetaKey, getView, initUIEvent, setCancelBubble, setDetail, setMetaKey
applies, createPropertyChangeEvent, endFire, eventCreated, getBubbles, getCancelable, getCurrentTarget, getDefaultPrevented, getEventPhase, getPropertyName, getReturnValue, getSrcElement, getTarget, getTimeStamp, getType, initEvent, isAborted, isPropagationStopped, jsConstructor, preventDefault, setAltKey, setBubbles, setCancelable, setCtrlKey, setCurrentTarget, setEventPhase, setEventType, setKeyCode, setReturnValue, setShiftKey, setSrcElement, setTarget, setType, startFire, stopPropagation, toString
clone, defineFunctionProperties, defineProperty, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, isReadOnlySettable, makeScriptableFor, setCaseSensitive, setClassName, setDomNode, setDomNode, setHtmlElement, setParentScope
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, size
public KeyboardEvent()
public KeyboardEvent(DomNode domNode, String type, char character, boolean shiftKey, boolean ctrlKey, boolean altKey)
domNode
- the DOM node that triggered the eventtype
- the event typecharacter
- the character associated with the eventshiftKey
- true if SHIFT is pressedctrlKey
- true if CTRL is pressedaltKey
- true if ALT is pressedpublic KeyboardEvent(DomNode domNode, String type, int keyCode, boolean shiftKey, boolean ctrlKey, boolean altKey)
domNode
- the DOM node that triggered the eventtype
- the event typekeyCode
- the key code associated with the eventshiftKey
- true if SHIFT is pressedctrlKey
- true if CTRL is pressedaltKey
- true if ALT is pressedCopyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.