1 Ext.data.JsonP.Ext_EventManager({
3 "name": "Ext.EventManager",
4 "doc": "<p>Registers event handlers that want to receive a normalized EventObject instead of the standard browser event and provides\nseveral useful events directly.\nSee <a href=\"#/api/Ext.EventObject\" rel=\"Ext.EventObject\" class=\"docClass\">Ext.EventObject</a> for more details on normalized event objects.</p>\n",
9 "alternateClassNames": [
23 "name": "addListener",
24 "member": "Ext.EventManager",
25 "doc": "<p>Appends an event handler to an element. The shorthand version <a href=\"#/api/Ext.EventManager-method-on\" rel=\"Ext.EventManager-method-on\" class=\"docClass\">on</a> is equivalent. Typically you will\nuse <a href=\"#/api/Ext.core.Element-method-addListener\" rel=\"Ext.core.Element-method-addListener\" class=\"docClass\">Ext.core.Element.addListener</a> directly on an Element in favor of calling this version.</p>\n",
28 "type": "String/HTMLElement",
30 "doc": "<p>The html element or id to assign the event handler to.</p>\n",
36 "doc": "<p>The name of the event to listen for.</p>\n",
42 "doc": "<p>The handler function the event invokes. This function is passed\nthe following parameters:<ul>\n<li>evt : EventObject<div class=\"sub-desc\">The <a href=\"#/api/Ext.EventObject\" rel=\"Ext.EventObject\" class=\"docClass\">EventObject</a> describing the event.</div></li>\n<li>t : Element<div class=\"sub-desc\">The <a href=\"#/api/Ext.core.Element\" rel=\"Ext.core.Element\" class=\"docClass\">Element</a> which was the target of the event.\nNote that this may be filtered by using the <tt>delegate</tt> option.</div></li>\n<li>o : Object<div class=\"sub-desc\">The options object from the addListener call.</div></li>\n</ul></p>\n",
48 "doc": "<p>(optional) The scope (<b><code>this</code></b> reference) in which the handler function is executed. <b>Defaults to the Element</b>.</p>\n",
54 "doc": "<p>(optional) An object containing handler configuration properties.\nThis may contain any of the following properties:<ul>\n<li>scope : Object<div class=\"sub-desc\">The scope (<b><code>this</code></b> reference) in which the handler function is executed. <b>Defaults to the Element</b>.</div></li>\n<li>delegate : String<div class=\"sub-desc\">A simple selector to filter the target or look for a descendant of the target</div></li>\n<li>stopEvent : Boolean<div class=\"sub-desc\">True to stop the event. That is stop propagation, and prevent the default action.</div></li>\n<li>preventDefault : Boolean<div class=\"sub-desc\">True to prevent the default action</div></li>\n<li>stopPropagation : Boolean<div class=\"sub-desc\">True to prevent event propagation</div></li>\n<li>normalized : Boolean<div class=\"sub-desc\">False to pass a browser event to the handler function instead of an Ext.EventObject</div></li>\n<li>delay : Number<div class=\"sub-desc\">The number of milliseconds to delay the invocation of the handler after te event fires.</div></li>\n<li>single : Boolean<div class=\"sub-desc\">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>\n<li>buffer : Number<div class=\"sub-desc\">Causes the handler to be scheduled to run in an <a href=\"#/api/Ext.util.DelayedTask\" rel=\"Ext.util.DelayedTask\" class=\"docClass\">Ext.util.DelayedTask</a> delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>\n<li>target : Element<div class=\"sub-desc\">Only call the handler if the event was fired on the target Element, <i>not</i> if the event was bubbled up from a child node.</div></li>\n</ul><br></p>\n\n<p>See <a href=\"#/api/Ext.core.Element-method-addListener\" rel=\"Ext.core.Element-method-addListener\" class=\"docClass\">Ext.core.Element.addListener</a> for examples of how to use these options.</p>\n\n",
64 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
66 "html_filename": "EventManager.html",
67 "href": "EventManager.html#Ext-EventManager-method-addListener",
68 "shortDoc": "Appends an event handler to an element. The shorthand version on is equivalent. Typically you will\nuse Ext.core.Ele..."
73 "member": "Ext.EventManager",
74 "doc": "<p>Get the id of the element. If one has not been assigned, automatically assign it.</p>\n",
79 "doc": "<p>The element to get the id for.</p>\n",
89 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
91 "html_filename": "EventManager.html",
92 "href": "EventManager.html#Ext-EventManager-method-getId",
93 "shortDoc": "<p>Get the id of the element. If one has not been assigned, automatically assign it.</p>\n"
97 "name": "getKeyEvent",
98 "member": "Ext.EventManager",
99 "doc": "<p>Indicates which event to use for getting key presses.</p>\n",
105 "doc": "<p>The appropriate event name.</p>\n"
109 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
111 "html_filename": "EventManager.html",
112 "href": "EventManager.html#Ext-EventManager-method-getKeyEvent",
113 "shortDoc": "<p>Indicates which event to use for getting key presses.</p>\n"
118 "member": "Ext.EventManager",
119 "doc": "<p>Gets the x coordinate from the event</p>\n",
124 "doc": "<p>The event</p>\n",
130 "doc": "<p>The x coordinate</p>\n"
134 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
136 "html_filename": "EventManager.html",
137 "href": "EventManager.html#Ext-EventManager-method-getPageX",
138 "shortDoc": "<p>Gets the x coordinate from the event</p>\n"
143 "member": "Ext.EventManager",
144 "doc": "<p>Gets the x & ycoordinate from the event</p>\n",
149 "doc": "<p>The event</p>\n",
155 "doc": "<p>The x/y coordinate</p>\n"
159 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
161 "html_filename": "EventManager.html",
162 "href": "EventManager.html#Ext-EventManager-method-getPageXY",
163 "shortDoc": "<p>Gets the x & ycoordinate from the event</p>\n"
168 "member": "Ext.EventManager",
169 "doc": "<p>Gets the y coordinate from the event</p>\n",
174 "doc": "<p>The event</p>\n",
180 "doc": "<p>The y coordinate</p>\n"
184 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
186 "html_filename": "EventManager.html",
187 "href": "EventManager.html#Ext-EventManager-method-getPageY",
188 "shortDoc": "<p>Gets the y coordinate from the event</p>\n"
192 "name": "getRelatedTarget",
193 "member": "Ext.EventManager",
194 "doc": "<p>Gets the related target from the event.</p>\n",
199 "doc": "<p>The event</p>\n",
204 "type": "HTMLElement",
205 "doc": "<p>The related target.</p>\n"
209 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
211 "html_filename": "EventManager.html",
212 "href": "EventManager.html#Ext-EventManager-method-getRelatedTarget",
213 "shortDoc": "<p>Gets the related target from the event.</p>\n"
218 "member": "Ext.EventManager",
219 "doc": "<p>Gets the target of the event.</p>\n",
224 "doc": "<p>The event</p>\n",
229 "type": "HTMLElement",
230 "doc": "<p>target</p>\n"
234 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
236 "html_filename": "EventManager.html",
237 "href": "EventManager.html#Ext-EventManager-method-getTarget",
238 "shortDoc": "<p>Gets the target of the event.</p>\n"
243 "member": "Ext.EventManager",
244 "doc": "<p>Alias for <a href=\"#/api/Ext.EventManager-method-addListener\" rel=\"Ext.EventManager-method-addListener\" class=\"docClass\">Ext.EventManager.addListener</a></p>\n",
254 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
256 "html_filename": "EventManager.html",
257 "href": "EventManager.html#Ext-EventManager-method-on",
258 "shortDoc": "<p>Alias for <a href=\"#/api/Ext.EventManager-method-addListener\" rel=\"Ext.EventManager-method-addListener\" class=\"docClass\">Ext.EventManager.addListener</a></p>\n"
262 "name": "onDocumentReady",
263 "member": "Ext.EventManager",
264 "doc": "<p>Adds a listener to be notified when the document is ready (before onload and before images are loaded). Can be\naccessed shorthanded as Ext.onReady().</p>\n",
269 "doc": "<p>The method the event invokes.</p>\n",
275 "doc": "<p>(optional) The scope (<code>this</code> reference) in which the handler function executes. Defaults to the browser window.</p>\n",
281 "doc": "<p>(optional) Options object as passed to <a href=\"#/api/Ext.core.Element-method-addListener\" rel=\"Ext.core.Element-method-addListener\" class=\"docClass\">Ext.core.Element.addListener</a>.</p>\n",
291 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
293 "html_filename": "EventManager.html",
294 "href": "EventManager.html#Ext-EventManager-method-onDocumentReady",
295 "shortDoc": "Adds a listener to be notified when the document is ready (before onload and before images are loaded). Can be\naccess..."
299 "name": "onWindowResize",
300 "member": "Ext.EventManager",
301 "doc": "<p>Adds a listener to be notified when the browser window is resized and provides resize event buffering (100 milliseconds),\npasses new viewport width and height to handlers.</p>\n",
306 "doc": "<p>The handler function the window resize event invokes.</p>\n",
312 "doc": "<p>The scope (<code>this</code> reference) in which the handler function executes. Defaults to the browser window.</p>\n",
318 "doc": "<p>Options object as passed to <a href=\"#/api/Ext.core.Element-method-addListener\" rel=\"Ext.core.Element-method-addListener\" class=\"docClass\">Ext.core.Element.addListener</a></p>\n",
328 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
330 "html_filename": "EventManager.html",
331 "href": "EventManager.html#Ext-EventManager-method-onWindowResize",
332 "shortDoc": "Adds a listener to be notified when the browser window is resized and provides resize event buffering (100 millisecon..."
336 "name": "preventDefault",
337 "member": "Ext.EventManager",
338 "doc": "<p>Prevents the browsers default handling of the event.</p>\n",
343 "doc": "<p>event to prevent the default</p>\n",
353 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
355 "html_filename": "EventManager.html",
356 "href": "EventManager.html#Ext-EventManager-method-preventDefault",
357 "shortDoc": "<p>Prevents the browsers default handling of the event.</p>\n"
361 "name": "purgeElement",
362 "member": "Ext.EventManager",
363 "doc": "<p>Recursively removes all previous added listeners from an element and its children. Typically you will use <a href=\"#/api/Ext.core.Element-method-purgeAllListeners\" rel=\"Ext.core.Element-method-purgeAllListeners\" class=\"docClass\">Ext.core.Element.purgeAllListeners</a>\ndirectly on an Element in favor of calling this version.</p>\n",
366 "type": "String/HTMLElement",
368 "doc": "<p>The id or html element from which to remove all event handlers.</p>\n",
374 "doc": "<p>(optional) The name of the event.</p>\n",
384 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
386 "html_filename": "EventManager.html",
387 "href": "EventManager.html#Ext-EventManager-method-purgeElement",
388 "shortDoc": "Recursively removes all previous added listeners from an element and its children. Typically you will use Ext.core.El..."
393 "member": "Ext.EventManager",
394 "doc": "<p>Removes all event handers from an element. Typically you will use <a href=\"#/api/Ext.core.Element-method-removeAllListeners\" rel=\"Ext.core.Element-method-removeAllListeners\" class=\"docClass\">Ext.core.Element.removeAllListeners</a>\ndirectly on an Element in favor of calling this version.</p>\n",
397 "type": "String/HTMLElement",
399 "doc": "<p>The id or html element from which to remove all event handlers.</p>\n",
409 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
411 "html_filename": "EventManager.html",
412 "href": "EventManager.html#Ext-EventManager-method-removeAll",
413 "shortDoc": "Removes all event handers from an element. Typically you will use Ext.core.Element.removeAllListeners\ndirectly on an..."
417 "name": "removeListener",
418 "member": "Ext.EventManager",
419 "doc": "<p>Removes an event handler from an element. The shorthand version <a href=\"#/api/Ext.EventManager-method-un\" rel=\"Ext.EventManager-method-un\" class=\"docClass\">un</a> is equivalent. Typically\nyou will use <a href=\"#/api/Ext.core.Element-method-removeListener\" rel=\"Ext.core.Element-method-removeListener\" class=\"docClass\">Ext.core.Element.removeListener</a> directly on an Element in favor of calling this version.</p>\n",
422 "type": "String/HTMLElement",
424 "doc": "<p>The id or html element from which to remove the listener.</p>\n",
430 "doc": "<p>The name of the event.</p>\n",
436 "doc": "<p>The handler function to remove. <b>This must be a reference to the function passed into the <a href=\"#/api/Ext.EventManager-method-addListener\" rel=\"Ext.EventManager-method-addListener\" class=\"docClass\">addListener</a> call.</b></p>\n",
442 "doc": "<p>If a scope (<b><code>this</code></b> reference) was specified when the listener was added,\nthen this must refer to the same object.</p>\n",
452 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
454 "html_filename": "EventManager.html",
455 "href": "EventManager.html#Ext-EventManager-method-removeListener",
456 "shortDoc": "Removes an event handler from an element. The shorthand version un is equivalent. Typically\nyou will use Ext.core.E..."
460 "name": "removeResizeListener",
461 "member": "Ext.EventManager",
462 "doc": "<p>Removes the passed window resize listener.</p>\n",
467 "doc": "<p>The method the event invokes</p>\n",
473 "doc": "<p>The scope of handler</p>\n",
483 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
485 "html_filename": "EventManager.html",
486 "href": "EventManager.html#Ext-EventManager-method-removeResizeListener",
487 "shortDoc": "<p>Removes the passed window resize listener.</p>\n"
491 "name": "removeUnloadListener",
492 "member": "Ext.EventManager",
493 "doc": "<p>Removes the passed window unload listener.</p>\n",
498 "doc": "<p>The method the event invokes</p>\n",
504 "doc": "<p>The scope of handler</p>\n",
514 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
516 "html_filename": "EventManager.html",
517 "href": "EventManager.html#Ext-EventManager-method-removeUnloadListener",
518 "shortDoc": "<p>Removes the passed window unload listener.</p>\n"
523 "member": "Ext.EventManager",
524 "doc": "<p>Stop the event (preventDefault and stopPropagation)</p>\n",
529 "doc": "<p>event to stop</p>\n",
539 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
541 "html_filename": "EventManager.html",
542 "href": "EventManager.html#Ext-EventManager-method-stopEvent",
543 "shortDoc": "<p>Stop the event (preventDefault and stopPropagation)</p>\n"
547 "name": "stopPropagation",
548 "member": "Ext.EventManager",
549 "doc": "<p>Cancels bubbling of the event.</p>\n",
554 "doc": "<p>event to stop bubbling.</p>\n",
564 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
566 "html_filename": "EventManager.html",
567 "href": "EventManager.html#Ext-EventManager-method-stopPropagation",
568 "shortDoc": "<p>Cancels bubbling of the event.</p>\n"
573 "member": "Ext.EventManager",
574 "doc": "<p>Alias for <a href=\"#/api/Ext.EventManager-method-removeListener\" rel=\"Ext.EventManager-method-removeListener\" class=\"docClass\">Ext.EventManager.removeListener</a></p>\n",
584 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
586 "html_filename": "EventManager.html",
587 "href": "EventManager.html#Ext-EventManager-method-un",
588 "shortDoc": "<p>Alias for <a href=\"#/api/Ext.EventManager-method-removeListener\" rel=\"Ext.EventManager-method-removeListener\" class=\"docClass\">Ext.EventManager.removeListener</a></p>\n"
597 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/EventManager.js",
599 "html_filename": "EventManager.html",
600 "href": "EventManager.html#Ext-EventManager",