- "singleton": false,
- "private": false,
- "cfg": [
- {
- "tagname": "cfg",
- "name": "autoStart",
- "member": "Ext.dd.DragTracker",
- "type": "Boolean/Number",
- "doc": "<p>Defaults to <code>false</code>. Specify <code>true</code> to defer trigger start by 1000 ms.\nSpecify a Number for the number of milliseconds to defer trigger start.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/dd/DragTracker.js",
- "linenr": 63,
- "html_filename": "DragTracker.html",
- "href": "DragTracker.html#Ext-dd-DragTracker-cfg-autoStart",
- "shortDoc": "Defaults to false. Specify true to defer trigger start by 1000 ms.\nSpecify a Number for the number of milliseconds to..."
- },
- {
- "tagname": "cfg",
- "name": "constrain",
- "member": "Ext.util.ComponentDragger",
- "type": "Boolean",
- "doc": "<p>Specify as <code>true</code> to constrain the Component to within the bounds of the <a href=\"#/api/Ext.util.ComponentDragger-cfg-constrainTo\" rel=\"Ext.util.ComponentDragger-cfg-constrainTo\" class=\"docClass\">constrainTo</a> region.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/ComponentDragger.js",
- "linenr": 15,
- "html_filename": "ComponentDragger.html",
- "href": "ComponentDragger.html#Ext-util-ComponentDragger-cfg-constrain"
- },
- {
- "tagname": "cfg",
- "name": "constrainDelegate",
- "member": "Ext.util.ComponentDragger",
- "type": "Boolean",
- "doc": "<p>Specify as <code>true</code> to constrain the drag handles within the <a href=\"#/api/constrainTo\" rel=\"constrainTo\" class=\"docClass\">constrainTo</a> region.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/ComponentDragger.js",
- "linenr": 27,
- "html_filename": "ComponentDragger.html",
- "href": "ComponentDragger.html#Ext-util-ComponentDragger-cfg-constrainDelegate"
- },
- {
- "tagname": "cfg",
- "name": "constrainTo",
- "member": "Ext.dd.DragTracker",
- "type": "Ext.util.Region/Element",
- "doc": "<p>A <a href=\"#/api/Ext.util.Region\" rel=\"Ext.util.Region\" class=\"docClass\">Region</a> (Or an element from which a Region measurement will be read) which is used to constrain\nthe result of the <a href=\"#/api/Ext.util.ComponentDragger-method-getOffset\" rel=\"Ext.util.ComponentDragger-method-getOffset\" class=\"docClass\">getOffset</a> call.</p>\n\n\n<p>This may be set any time during the DragTracker's lifecycle to set a dynamic constraining region.</p>\n\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/dd/DragTracker.js",
- "linenr": 49,
- "html_filename": "DragTracker.html",
- "href": "DragTracker.html#Ext-dd-DragTracker-cfg-constrainTo",
- "shortDoc": "A Region (Or an element from which a Region measurement will be read) which is used to constrain\nthe result of the ge..."
- },
- {
- "tagname": "cfg",
- "name": "delegate",
- "member": "Ext.util.ComponentDragger",
- "type": "String/Element",
- "doc": "<p>Optional. <p>A <a href=\"#/api/Ext.DomQuery\" rel=\"Ext.DomQuery\" class=\"docClass\">DomQuery</a> selector which identifies child elements within the Component's encapsulating\nElement which are the drag handles. This limits dragging to only begin when the matching elements are mousedowned.</p></p>\n\n<p>This may also be a specific child element within the Component's encapsulating element to use as the drag handle.</p>\n\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/ComponentDragger.js",
- "linenr": 20,
- "html_filename": "ComponentDragger.html",
- "href": "ComponentDragger.html#Ext-util-ComponentDragger-cfg-delegate",
- "shortDoc": "Optional. A DomQuery selector which identifies child elements within the Component's encapsulating\nElement which are ..."
- },
- {
- "tagname": "cfg",
- "name": "listeners",
- "member": "Ext.util.Observable",
- "type": "Object",
- "doc": "<p>(optional) <p>A config object containing one or more event handlers to be added to this\nobject during initialization. This should be a valid listeners config object as specified in the\n<a href=\"#/api/Ext.util.ComponentDragger-method-addListener\" rel=\"Ext.util.ComponentDragger-method-addListener\" class=\"docClass\">addListener</a> example for attaching multiple handlers at once.</p></p>\n\n<br><p><b><u>DOM events from ExtJs <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a></u></b></p>\n\n\n<br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this\n\n\n<p>is usually only done when extra value can be added. For example the <a href=\"#/api/Ext.view.View\" rel=\"Ext.view.View\" class=\"docClass\">DataView</a>'s\n<b><code><a href=\"#/api/Ext.view.View--click\" rel=\"Ext.view.View--click\" class=\"docClass\">click</a></code></b> event passing the node clicked on. To access DOM\nevents directly from a child element of a Component, we need to specify the <code>element</code> option to\nidentify the Component property to add a DOM listener to:</p>\n\n<pre><code>new Ext.panel.Panel({\n width: 400,\n height: 200,\n dockedItems: [{\n xtype: 'toolbar'\n }],\n listeners: {\n click: {\n element: 'el', //bind to the underlying el property on the panel\n fn: function(){ console.log('click el'); }\n },\n dblclick: {\n element: 'body', //bind to the underlying body property on the panel\n fn: function(){ console.log('dblclick body'); }\n }\n }\n});\n</code></pre>\n\n\n<p></p></p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
- "linenr": 103,
- "html_filename": "Observable.html",
- "href": "Observable.html#Ext-util-Observable-cfg-listeners",
- "shortDoc": "(optional) A config object containing one or more event handlers to be added to this\nobject during initialization. T..."
- },
- {
- "tagname": "cfg",
- "name": "overCls",
- "member": "Ext.dd.DragTracker",
- "type": "String",
- "doc": "<p>A CSS class to add to the DragTracker's target element when the element (or, if the <a href=\"#/api/Ext.util.ComponentDragger-cfg-delegate\" rel=\"Ext.util.ComponentDragger-cfg-delegate\" class=\"docClass\">delegate</a> option is used,\nwhen a delegate element) is mouseovered.</p>\n\n\n<p><b>If the <a href=\"#/api/Ext.util.ComponentDragger-cfg-delegate\" rel=\"Ext.util.ComponentDragger-cfg-delegate\" class=\"docClass\">delegate</a> option is used, these events fire only when a delegate element is entered of left.</b>.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/dd/DragTracker.js",
- "linenr": 42,
- "html_filename": "DragTracker.html",
- "href": "DragTracker.html#Ext-dd-DragTracker-cfg-overCls",
- "shortDoc": "A CSS class to add to the DragTracker's target element when the element (or, if the delegate option is used,\nwhen a d..."
- },
- {
- "tagname": "cfg",
- "name": "preventDefault",
- "member": "Ext.dd.DragTracker",
- "type": "Boolean",
- "doc": "<p>Specify <code>false</code> to enable default actions on onMouseDown events. Defaults to <code>true</code>.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/dd/DragTracker.js",
- "linenr": 77,
- "html_filename": "DragTracker.html",
- "href": "DragTracker.html#Ext-dd-DragTracker-cfg-preventDefault"
- },
- {
- "tagname": "cfg",
- "name": "stopEvent",
- "member": "Ext.dd.DragTracker",
- "type": "Boolean",
- "doc": "<p>Specify <code>true</code> to stop the <code>mousedown</code> event from bubbling to outer listeners from the target element (or its delegates). Defaults to <code>false</code>.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/dd/DragTracker.js",
- "linenr": 82,
- "html_filename": "DragTracker.html",
- "href": "DragTracker.html#Ext-dd-DragTracker-cfg-stopEvent",
- "shortDoc": "Specify true to stop the mousedown event from bubbling to outer listeners from the target element (or its delegates)...."
- },
- {
- "tagname": "cfg",
- "name": "tolerance",
- "member": "Ext.dd.DragTracker",
- "type": "Number",
- "doc": "<p>Number of pixels the drag target must be moved before dragging is\nconsidered to have started. Defaults to <code>5</code>.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/dd/DragTracker.js",
- "linenr": 56,
- "html_filename": "DragTracker.html",
- "href": "DragTracker.html#Ext-dd-DragTracker-cfg-tolerance"
- },
- {
- "tagname": "cfg",
- "name": "trackOver",
- "member": "Ext.dd.DragTracker",
- "type": "Boolean",
- "doc": "<p>Defaults to <code>false</code>. Set to true to fire mouseover and mouseout events when the mouse enters or leaves the target element.</p>\n\n\n<p>This is implicitly set when an <a href=\"#/api/Ext.util.ComponentDragger-cfg-overCls\" rel=\"Ext.util.ComponentDragger-cfg-overCls\" class=\"docClass\">overCls</a> is specified.</p>\n\n\n<p><b>If the <a href=\"#/api/Ext.util.ComponentDragger-cfg-delegate\" rel=\"Ext.util.ComponentDragger-cfg-delegate\" class=\"docClass\">delegate</a> option is used, these events fire only when a delegate element is entered of left.</b>.</p>\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/dd/DragTracker.js",
- "linenr": 34,
- "html_filename": "DragTracker.html",
- "href": "DragTracker.html#Ext-dd-DragTracker-cfg-trackOver",
- "shortDoc": "Defaults to false. Set to true to fire mouseover and mouseout events when the mouse enters or leaves the target eleme..."
- }
- ],
- "method": [
- {
- "tagname": "method",
- "name": "ComponentDragger",
- "member": "Ext.util.ComponentDragger",
- "doc": "<p>Create a new ComponentTracker</p>\n",
- "params": [
- {
- "type": "object",
- "name": "comp",
- "doc": "<p>The Component to provide dragging for.</p>\n",
- "optional": false
- },
- {
- "type": "object",
- "name": "config",
- "doc": "<p>The config object</p>\n",
- "optional": false
- }
- ],
- "return": {
- "type": "void",
- "doc": "\n"