Ext.data.JsonP.Ext_EventObject({"mixins":[],"code_type":"ext_define","inheritable":false,"component":false,"meta":{"markdown":true},"mixedInto":[],"uses":["Ext.util.Point"],"aliases":{},"parentMixins":[],"superclasses":["Ext.Base"],"members":{"event":[],"property":[{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"$className","id":"property-S-className"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"A","id":"property-A"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"ALT","id":"property-ALT"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"B","id":"property-B"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"BACKSPACE","id":"property-BACKSPACE"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"C","id":"property-C"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"CAPS_LOCK","id":"property-CAPS_LOCK"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"CONTEXT_MENU","id":"property-CONTEXT_MENU"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"CTRL","id":"property-CTRL"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"D","id":"property-D"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"DELETE","id":"property-DELETE"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"DOWN","id":"property-DOWN"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"E","id":"property-E"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"EIGHT","id":"property-EIGHT"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"END","id":"property-END"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"ENTER","id":"property-ENTER"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"ESC","id":"property-ESC"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"F","id":"property-F"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"F1","id":"property-F1"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"F10","id":"property-F10"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"F11","id":"property-F11"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"F12","id":"property-F12"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"F2","id":"property-F2"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"F3","id":"property-F3"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"F4","id":"property-F4"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"F5","id":"property-F5"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"F6","id":"property-F6"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"F7","id":"property-F7"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"F8","id":"property-F8"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"F9","id":"property-F9"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"FIVE","id":"property-FIVE"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"FOUR","id":"property-FOUR"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"G","id":"property-G"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"H","id":"property-H"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"HOME","id":"property-HOME"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"I","id":"property-I"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"INSERT","id":"property-INSERT"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"J","id":"property-J"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"K","id":"property-K"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"L","id":"property-L"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"LEFT","id":"property-LEFT"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"M","id":"property-M"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"N","id":"property-N"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NINE","id":"property-NINE"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_CENTER","id":"property-NUM_CENTER"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_DIVISION","id":"property-NUM_DIVISION"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_EIGHT","id":"property-NUM_EIGHT"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_FIVE","id":"property-NUM_FIVE"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_FOUR","id":"property-NUM_FOUR"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_MINUS","id":"property-NUM_MINUS"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_MULTIPLY","id":"property-NUM_MULTIPLY"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_NINE","id":"property-NUM_NINE"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_ONE","id":"property-NUM_ONE"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_PERIOD","id":"property-NUM_PERIOD"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_PLUS","id":"property-NUM_PLUS"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_SEVEN","id":"property-NUM_SEVEN"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_SIX","id":"property-NUM_SIX"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_THREE","id":"property-NUM_THREE"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_TWO","id":"property-NUM_TWO"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"NUM_ZERO","id":"property-NUM_ZERO"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"O","id":"property-O"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"ONE","id":"property-ONE"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"P","id":"property-P"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"PAGE_DOWN","id":"property-PAGE_DOWN"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"PAGE_UP","id":"property-PAGE_UP"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"PAUSE","id":"property-PAUSE"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"PRINT_SCREEN","id":"property-PRINT_SCREEN"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"Q","id":"property-Q"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"R","id":"property-R"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"RETURN","id":"property-RETURN"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"RIGHT","id":"property-RIGHT"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"S","id":"property-S"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"SEVEN","id":"property-SEVEN"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"SHIFT","id":"property-SHIFT"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"SIX","id":"property-SIX"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"SPACE","id":"property-SPACE"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"T","id":"property-T"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"TAB","id":"property-TAB"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"THREE","id":"property-THREE"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"TWO","id":"property-TWO"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"U","id":"property-U"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"UP","id":"property-UP"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"V","id":"property-V"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"W","id":"property-W"},{"meta":{"markdown":true},"owner":"Ext.EventObject","tagname":"property","name":"WHEEL_SCALE","id":"property-WHEEL_SCALE"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"X","id":"property-X"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"Y","id":"property-Y"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"Z","id":"property-Z"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"ZERO","id":"property-ZERO"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"altKey","id":"property-altKey"},{"meta":{"private":true},"owner":"Ext.EventObject","tagname":"property","name":"clickRe","id":"property-clickRe"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"configMap","id":"property-configMap"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"ctrlKey","id":"property-ctrlKey"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"initConfigList","id":"property-initConfigList"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"initConfigMap","id":"property-initConfigMap"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"isInstance","id":"property-isInstance"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"property","name":"self","id":"property-self"},{"meta":{},"owner":"Ext.EventObject","tagname":"property","name":"shiftKey","id":"property-shiftKey"}],"css_var":[],"method":[{"meta":{"deprecated":{"text":"as of 4.1. Use {@link #callParent} instead."},"protected":true},"owner":"Ext.Base","tagname":"method","name":"callOverridden","id":"method-callOverridden"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"method","name":"callParent","id":"method-callParent"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"configClass","id":"method-configClass"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"correctWheelDelta","id":"method-correctWheelDelta"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"destroy","id":"method-destroy"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"getCharCode","id":"method-getCharCode"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"getConfig","id":"method-getConfig"},{"meta":{},"owner":"Ext.Base","tagname":"method","name":"getInitialConfig","id":"method-getInitialConfig"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"getKey","id":"method-getKey"},{"meta":{"deprecated":{"text":"Replaced by {@link #getX}","version":"4.0"}},"owner":"Ext.EventObject","tagname":"method","name":"getPageX","id":"method-getPageX"},{"meta":{"deprecated":{"text":"Replaced by {@link #getY}","version":"4.0"}},"owner":"Ext.EventObject","tagname":"method","name":"getPageY","id":"method-getPageY"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"getPoint","id":"method-getPoint"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"getRelatedTarget","id":"method-getRelatedTarget"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"getTarget","id":"method-getTarget"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"getWheelDelta","id":"method-getWheelDelta"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"getWheelDeltas","id":"method-getWheelDeltas"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"getX","id":"method-getX"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"getXY","id":"method-getXY"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"getY","id":"method-getY"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"hasConfig","id":"method-hasConfig"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"hasModifier","id":"method-hasModifier"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"method","name":"initConfig","id":"method-initConfig"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"injectEvent","id":"method-injectEvent"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"isNavKeyPress","id":"method-isNavKeyPress"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"isSpecialKey","id":"method-isSpecialKey"},{"meta":{"private":true},"owner":"Ext.EventObject","tagname":"method","name":"normalizeKey","id":"method-normalizeKey"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"onConfigUpdate","id":"method-onConfigUpdate"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"preventDefault","id":"method-preventDefault"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"setConfig","id":"method-setConfig"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"method","name":"statics","id":"method-statics"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"stopEvent","id":"method-stopEvent"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"stopPropagation","id":"method-stopPropagation"},{"meta":{},"owner":"Ext.EventObject","tagname":"method","name":"within","id":"method-within"}],"css_mixin":[],"cfg":[]},"tagname":"class","extends":"Ext.Base","html":"

Hierarchy

Ext.Base
Ext.EventObject

Uses

Files

Just as Ext.Element wraps around a native DOM node, Ext.EventObject\nwraps the browser's native event-object normalizing cross-browser differences,\nsuch as which mouse button is clicked, keys pressed, mechanisms to stop\nevent-propagation along with a method to prevent default actions from taking place.

\n\n

For example:

\n\n
function handleClick(e, t){ // e is not a standard event object, it is a Ext.EventObject\n    e.preventDefault();\n    var target = e.getTarget(); // same as t (the target HTMLElement)\n    ...\n}\n\nvar myDiv = Ext.get(\"myDiv\");  // get reference to an Ext.Element\nmyDiv.on(         // 'on' is shorthand for addListener\n    \"click\",      // perform an action on click of myDiv\n    handleClick   // reference to the action handler\n);\n\n// other methods to do the same:\nExt.EventManager.on(\"myDiv\", 'click', handleClick);\nExt.EventManager.addListener(\"myDiv\", 'click', handleClick);\n
\n
Defined By

Properties

...
\n

Defaults to: "Ext.Base"

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 65

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 18

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 66

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 8

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 67

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 20

Key constant ...

Key constant

\n

Defaults to: 93

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 17

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 68

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 46

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 40

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 69

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 56

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 35

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 13

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 27

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 70

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 112

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 121

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 122

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 123

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 113

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 114

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 115

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 116

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 117

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 118

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 119

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 120

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 53

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 52

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 71

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 72

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 36

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 73

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 45

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 74

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 75

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 76

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 37

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 77

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 78

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 57

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 12

Key constant ...

Key constant

\n

Defaults to: 111

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 104

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 101

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 100

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 109

Key constant ...

Key constant

\n

Defaults to: 106

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 105

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 97

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 110

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 107

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 103

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 102

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 99

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 98

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 96

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 79

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 49

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 80

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 34

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 33

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 19

Key constant ...

Key constant

\n

Defaults to: 44

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 81

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 82

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 13

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 39

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 83

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 55

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 16

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 54

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 32

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 84

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 9

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 51

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 50

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 85

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 38

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 86

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 87

The mouse wheel delta scaling factor. ...

The mouse wheel delta scaling factor. This value depends on browser version and OS and\nattempts to produce a similar scrolling experience across all platforms and browsers.

\n\n

To change this value:

\n\n
 Ext.EventObjectImpl.prototype.WHEEL_SCALE = 72;\n
\n
Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 88

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 89

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 90

Ext.EventObject
view source
: Number
Key constant ...

Key constant

\n

Defaults to: 48

Ext.EventObject
view source
altKey : Boolean

True if the alt key was down during the event.

\n

True if the alt key was down during the event.

\n
Ext.EventObject
view source
: RegExpprivate
Simple click regex ...

Simple click regex

\n

Defaults to: /(dbl)?click/

...
\n

Defaults to: {}

Ext.EventObject
view source
: Boolean
True if the control key was down during the event. ...

True if the control key was down during the event.\nIn Mac this will also be true when meta key was down.

\n
...
\n

Defaults to: []

...
\n

Defaults to: {}

...
\n

Defaults to: true

Get the reference to the current class from which this object was instantiated. ...

Get the reference to the current class from which this object was instantiated. Unlike statics,\nthis.self is scope-dependent and it's meant to be used for dynamic inheritance. See statics\nfor a detailed comparison

\n\n
Ext.define('My.Cat', {\n    statics: {\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        alert(this.self.speciesName); // dependent on 'this'\n    },\n\n    clone: function() {\n        return new this.self();\n    }\n});\n\n\nExt.define('My.SnowLeopard', {\n    extend: 'My.Cat',\n    statics: {\n        speciesName: 'Snow Leopard'         // My.SnowLeopard.speciesName = 'Snow Leopard'\n    }\n});\n\nvar cat = new My.Cat();                     // alerts 'Cat'\nvar snowLeopard = new My.SnowLeopard();     // alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone));             // alerts 'My.SnowLeopard'\n
\n
Ext.EventObject
view source
shiftKey : Boolean

True if the shift key was down during the event.

\n

True if the shift key was down during the event.

\n
Defined By

Methods

( Array/Arguments args ) : Objectdeprecatedprotected
Call the original method that was previously overridden with override\n\nExt.define('My.Cat', {\n constructor: functi...

Call the original method that was previously overridden with override

\n\n
Ext.define('My.Cat', {\n    constructor: function() {\n        alert(\"I'm a cat!\");\n    }\n});\n\nMy.Cat.override({\n    constructor: function() {\n        alert(\"I'm going to be a cat!\");\n\n        this.callOverridden();\n\n        alert(\"Meeeeoooowwww\");\n    }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n                          // alerts \"I'm a cat!\"\n                          // alerts \"Meeeeoooowwww\"\n
\n
\n

This method has been deprecated

\n

as of 4.1. Use callParent instead.

\n\n
\n

Parameters

  • args : Array/Arguments

    The arguments, either an array or the arguments object\nfrom the current method, for example: this.callOverridden(arguments)

    \n

Returns

  • Object

    Returns the result of calling the overridden method

    \n
( Array/Arguments args ) : Objectprotected
Call the \"parent\" method of the current method. ...

Call the \"parent\" method of the current method. That is the method previously\noverridden by derivation or by an override (see Ext.define).

\n\n
 Ext.define('My.Base', {\n     constructor: function (x) {\n         this.x = x;\n     },\n\n     statics: {\n         method: function (x) {\n             return x;\n         }\n     }\n });\n\n Ext.define('My.Derived', {\n     extend: 'My.Base',\n\n     constructor: function () {\n         this.callParent([21]);\n     }\n });\n\n var obj = new My.Derived();\n\n alert(obj.x);  // alerts 21\n
\n\n

This can be used with an override as follows:

\n\n
 Ext.define('My.DerivedOverride', {\n     override: 'My.Derived',\n\n     constructor: function (x) {\n         this.callParent([x*2]); // calls original My.Derived constructor\n     }\n });\n\n var obj = new My.Derived();\n\n alert(obj.x);  // now alerts 42\n
\n\n

This also works with static methods.

\n\n
 Ext.define('My.Derived2', {\n     extend: 'My.Base',\n\n     statics: {\n         method: function (x) {\n             return this.callParent([x*2]); // calls My.Base.method\n         }\n     }\n });\n\n alert(My.Base.method(10);     // alerts 10\n alert(My.Derived2.method(10); // alerts 20\n
\n\n

Lastly, it also works with overridden static methods.

\n\n
 Ext.define('My.Derived2Override', {\n     override: 'My.Derived2',\n\n     statics: {\n         method: function (x) {\n             return this.callParent([x*2]); // calls My.Derived2.method\n         }\n     }\n });\n\n alert(My.Derived2.method(10); // now alerts 40\n
\n

Parameters

  • args : Array/Arguments

    The arguments, either an array or the arguments object\nfrom the current method, for example: this.callParent(arguments)

    \n

Returns

  • Object

    Returns the result of calling the parent method

    \n
Ext.EventObject
view source
( Number delta )
Correctly scales a given wheel delta. ...

Correctly scales a given wheel delta.

\n

Parameters

  • delta : Number

    The delta value.

    \n
Ext.EventObject
view source
( ) : Number
Gets the character code for the event. ...

Gets the character code for the event.

\n

Returns

...
\n

Parameters

Returns the initial configuration passed to constructor when instantiating\nthis class. ...

Returns the initial configuration passed to constructor when instantiating\nthis class.

\n

Parameters

  • name : String (optional)

    Name of the config option to return.

    \n

Returns

  • Object/Mixed

    The full config object or a single config value\nwhen name parameter specified.

    \n
Ext.EventObject
view source
( ) : Number
Returns a normalized keyCode for the event. ...

Returns a normalized keyCode for the event.

\n

Returns

Ext.EventObject
view source
( ) : Numberdeprecated
Gets the x coordinate of the event. ...

Gets the x coordinate of the event.

\n
\n

This method has been deprecated since 4.0

\n

Replaced by getX

\n\n
\n

Returns

Ext.EventObject
view source
( ) : Numberdeprecated
Gets the y coordinate of the event. ...

Gets the y coordinate of the event.

\n
\n

This method has been deprecated since 4.0

\n

Replaced by getY

\n\n
\n

Returns

Returns a point object that consists of the object coordinates. ...

Returns a point object that consists of the object coordinates.

\n

Returns

Ext.EventObject
view source
( [String selector], [Number/HTMLElement maxDepth], [Boolean returnEl] ) : HTMLElement
Gets the related target. ...

Gets the related target.

\n

Parameters

  • selector : String (optional)

    A simple selector to filter the target or look for an ancestor of the target

    \n
  • maxDepth : Number/HTMLElement (optional)

    The max depth to search as a number or element (defaults to 10 || document.body)

    \n
  • returnEl : Boolean (optional)

    True to return a Ext.Element object instead of DOM node

    \n

Returns

  • HTMLElement
    \n
Ext.EventObject
view source
( [String selector], [Number/HTMLElement maxDepth], [Boolean returnEl] ) : HTMLElement
Gets the target for the event. ...

Gets the target for the event.

\n

Parameters

  • selector : String (optional)

    A simple selector to filter the target or look for an ancestor of the target

    \n
  • maxDepth : Number/HTMLElement (optional)

    The max depth to search as a number or element (defaults to 10 || document.body)

    \n
  • returnEl : Boolean (optional)

    True to return a Ext.Element object instead of DOM node

    \n

Returns

  • HTMLElement
    \n
Ext.EventObject
view source
( ) : Number
Normalizes mouse wheel y-delta across browsers. ...

Normalizes mouse wheel y-delta across browsers. To get x-delta information, use\ngetWheelDeltas instead.

\n

Returns

  • Number

    The mouse wheel y-delta

    \n
Ext.EventObject
view source
( ) : Object
Returns the mouse wheel deltas for this event. ...

Returns the mouse wheel deltas for this event.

\n

Returns

  • Object

    An object with \"x\" and \"y\" properties holding the mouse wheel deltas.

    \n
Ext.EventObject
view source
( ) : Number
Gets the x coordinate of the event. ...

Gets the x coordinate of the event.

\n

Returns

Ext.EventObject
view source
( ) : Number[]
Gets the page coordinates of the event. ...

Gets the page coordinates of the event.

\n

Returns

  • Number[]

    The xy values like [x, y]

    \n
Ext.EventObject
view source
( ) : Number
Gets the y coordinate of the event. ...

Gets the y coordinate of the event.

\n

Returns

...
\n

Parameters

Ext.EventObject
view source
( ) : Boolean
Returns true if the control, meta, shift or alt key was pressed during this event. ...

Returns true if the control, meta, shift or alt key was pressed during this event.

\n

Returns

Initialize configuration for this class. ...

Initialize configuration for this class. a typical example:

\n\n
Ext.define('My.awesome.Class', {\n    // The default config\n    config: {\n        name: 'Awesome',\n        isAwesome: true\n    },\n\n    constructor: function(config) {\n        this.initConfig(config);\n    }\n});\n\nvar awesome = new My.awesome.Class({\n    name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n
\n

Parameters

Returns

Ext.EventObject
view source
( [Ext.Element/HTMLElement target] )
Injects a DOM event using the data in this object and (optionally) a new target. ...

Injects a DOM event using the data in this object and (optionally) a new target.\nThis is a low-level technique and not likely to be used by application code. The\ncurrently supported event types are:

\n\n

HTMLEvents

\n\n\n
    \n
  • load
  • \n
  • unload
  • \n
  • select
  • \n
  • change
  • \n
  • submit
  • \n
  • reset
  • \n
  • resize
  • \n
  • scroll
  • \n
\n\n\n

MouseEvents

\n\n\n
    \n
  • click
  • \n
  • dblclick
  • \n
  • mousedown
  • \n
  • mouseup
  • \n
  • mouseover
  • \n
  • mousemove
  • \n
  • mouseout
  • \n
\n\n\n

UIEvents

\n\n\n
    \n
  • focusin
  • \n
  • focusout
  • \n
  • activate
  • \n
  • focus
  • \n
  • blur
  • \n
\n\n

Parameters

  • target : Ext.Element/HTMLElement (optional)

    If specified, the target for the event. This\nis likely to be used when relaying a DOM event. If not specified, getTarget\nis used to determine the target.

    \n
Ext.EventObject
view source
( ) : Boolean
Checks if the key pressed was a \"navigation\" key ...

Checks if the key pressed was a \"navigation\" key

\n

Returns

  • Boolean

    True if the press is a navigation keypress

    \n
Ext.EventObject
view source
( ) : Boolean
Checks if the key pressed was a \"special\" key ...

Checks if the key pressed was a \"special\" key

\n

Returns

  • Boolean

    True if the press is a special keypress

    \n
Ext.EventObject
view source
( Number key ) : Numberprivate
Normalize key codes across browsers ...

Normalize key codes across browsers

\n

Parameters

Returns

( Object names, Object callback, Object scope )private
...
\n

Parameters

Ext.EventObject
view source
( )
Prevents the browsers default handling of the event. ...

Prevents the browsers default handling of the event.

\n
( Object config, Object applyIfNotSet )private
...
\n

Parameters

Get the reference to the class from which this object was instantiated. ...

Get the reference to the class from which this object was instantiated. Note that unlike self,\nthis.statics() is scope-independent and it always returns the class from which it was called, regardless of what\nthis points to during run-time

\n\n
Ext.define('My.Cat', {\n    statics: {\n        totalCreated: 0,\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        var statics = this.statics();\n\n        alert(statics.speciesName);     // always equals to 'Cat' no matter what 'this' refers to\n                                        // equivalent to: My.Cat.speciesName\n\n        alert(this.self.speciesName);   // dependent on 'this'\n\n        statics.totalCreated++;\n    },\n\n    clone: function() {\n        var cloned = new this.self;                      // dependent on 'this'\n\n        cloned.groupName = this.statics().speciesName;   // equivalent to: My.Cat.speciesName\n\n        return cloned;\n    }\n});\n\n\nExt.define('My.SnowLeopard', {\n    extend: 'My.Cat',\n\n    statics: {\n        speciesName: 'Snow Leopard'     // My.SnowLeopard.speciesName = 'Snow Leopard'\n    },\n\n    constructor: function() {\n        this.callParent();\n    }\n});\n\nvar cat = new My.Cat();                 // alerts 'Cat', then alerts 'Cat'\n\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Cat', then alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone));         // alerts 'My.SnowLeopard'\nalert(clone.groupName);                 // alerts 'Cat'\n\nalert(My.Cat.totalCreated);             // alerts 3\n
\n

Returns

Ext.EventObject
view source
( )
Stop the event (preventDefault and stopPropagation) ...

Stop the event (preventDefault and stopPropagation)

\n
Ext.EventObject
view source
( )
Cancels bubbling of the event. ...

Cancels bubbling of the event.

\n
Ext.EventObject
view source
( String/HTMLElement/Ext.Element el, [Boolean related], [Boolean allowEl] ) : Boolean
Returns true if the target of this event is a child of el. ...

Returns true if the target of this event is a child of el. Unless the allowEl parameter is set, it will return false if if the target is el.\nExample usage:

\n\n
// Handle click on any child of an element\nExt.getBody().on('click', function(e){\n    if(e.within('some-el')){\n        alert('Clicked on a child of some-el!');\n    }\n});\n\n// Handle click directly on an element, ignoring clicks on child nodes\nExt.getBody().on('click', function(e,t){\n    if((t.id == 'some-el') && !e.within(t, true)){\n        alert('Clicked directly on some-el!');\n    }\n});\n
\n\n

Parameters

  • el : String/HTMLElement/Ext.Element

    The id, DOM element or Ext.Element to check

    \n
  • related : Boolean (optional)

    true to test if the related target is within el instead of the target

    \n
  • allowEl : Boolean (optional)

    true to also check if the passed element is the target or related target

    \n

Returns

","subclasses":[],"name":"Ext.EventObject","alternateClassNames":[],"inheritdoc":null,"files":[{"href":"EventObject.html#Ext-EventObject","filename":"EventObject.js"}],"html_meta":{"markdown":null},"singleton":true,"id":"class-Ext.EventObject","statics":{"property":[],"event":[],"css_var":[],"method":[],"css_mixin":[],"cfg":[]},"requires":[]});