X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..HEAD:/docs/output/Ext.dd.DDProxy.js?ds=inline diff --git a/docs/output/Ext.dd.DDProxy.js b/docs/output/Ext.dd.DDProxy.js index 5febb234..385a6da4 100644 --- a/docs/output/Ext.dd.DDProxy.js +++ b/docs/output/Ext.dd.DDProxy.js @@ -1,2225 +1 @@ -Ext.data.JsonP.Ext_dd_DDProxy({ - "allMixins": [ - - ], - "deprecated": null, - "docauthor": null, - "members": { - "cfg": [ - - ], - "method": [ - { - "deprecated": null, - "alias": null, - "href": "DDProxy.html#Ext-dd-DDProxy-method-constructor", - "tagname": "method", - "protected": false, - "shortDoc": "Creates new DDProxy. ...", - "static": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "
the id of the linked html element
\n", - "name": "id" - }, - { - "type": "String", - "optional": false, - "doc": "the group of related DragDrop objects
\n", - "name": "sGroup" - }, - { - "type": "object", - "optional": false, - "doc": "an object containing configurable attributes.\nValid properties for DDProxy in addition to those in DragDrop:
\n\nCreates new DDProxy.
\n", - "owner": "Ext.dd.DDProxy", - "name": "DDProxy", - "html_filename": "DDProxy.html", - "return": { - "type": "Object", - "doc": "\n" - }, - "linenr": 32 - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-addInvalidHandleClass", - "shortDoc": "Lets you specify a css class of elements that will not initiate a drag ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "the class of the elements you wish to ignore
\n", - "name": "cssClass" - } - ], - "name": "addInvalidHandleClass", - "owner": "Ext.dd.DragDrop", - "doc": "Lets you specify a css class of elements that will not initiate a drag
\n", - "linenr": 861, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-addInvalidHandleId", - "shortDoc": "Lets you to specify an element id for a child of a drag handle\nthat should not initiate a drag ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "the element id of the element you wish to ignore
\n", - "name": "id" - } - ], - "name": "addInvalidHandleId", - "owner": "Ext.dd.DragDrop", - "doc": "Lets you to specify an element id for a child of a drag handle\nthat should not initiate a drag
\n", - "linenr": 848, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-addInvalidHandleType", - "shortDoc": "Allows you to specify a tag name that should not start a drag operation\nwhen clicked. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "the type of element to exclude
\n", - "name": "tagName" - } - ], - "name": "addInvalidHandleType", - "owner": "Ext.dd.DragDrop", - "doc": "Allows you to specify a tag name that should not start a drag operation\nwhen clicked. This is designed to facilitate embedding links within a\ndrag handle that do something other than start the drag.
\n", - "linenr": 836, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-addStatics", - "shortDoc": "Add / override static properties of this class. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "members" - } - ], - "name": "addStatics", - "owner": "Ext.Base", - "doc": "Add / override static properties of this class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.addStatics({\n someProperty: 'someValue', // My.cool.Class.someProperty = 'someValue'\n method1: function() { ... }, // My.cool.Class.method1 = function() { ... };\n method2: function() { ... } // My.cool.Class.method2 = function() { ... };\n});\n
\n",
- "linenr": 388,
- "return": {
- "type": "Ext.Base",
- "doc": "this
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-addToGroup", - "shortDoc": "Adds this instance to a group of related drag/drop objects. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "the name of the group
\n", - "name": "sGroup" - } - ], - "name": "addToGroup", - "owner": "Ext.dd.DragDrop", - "doc": "Adds this instance to a group of related drag/drop objects. All\ninstances belong to at least one group, and can belong to as many\ngroups as needed.
\n", - "linenr": 705, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DD.html#Ext-dd-DD-method-alignElWithMouse", - "shortDoc": "Sets the element to the location of the mousedown or click event,\nmaintaining the cursor location relative to the loc...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DD.js", - "private": false, - "params": [ - { - "type": "HTMLElement", - "optional": false, - "doc": "the element to move
\n", - "name": "el" - }, - { - "type": "int", - "optional": false, - "doc": "the X coordinate of the mousedown or drag event
\n", - "name": "iPageX" - }, - { - "type": "int", - "optional": false, - "doc": "the Y coordinate of the mousedown or drag event
\n", - "name": "iPageY" - } - ], - "name": "alignElWithMouse", - "owner": "Ext.dd.DD", - "doc": "Sets the element to the location of the mousedown or click event,\nmaintaining the cursor location relative to the location on the element\nthat was clicked. Override this if you want to place the element in a\nlocation other than where the cursor is.
\n", - "linenr": 85, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DD.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DD.html#Ext-dd-DD-method-applyConfig", - "shortDoc": "Sets up config options specific to this class. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DD.js", - "private": false, - "params": [ - - ], - "name": "applyConfig", - "owner": "Ext.dd.DD", - "doc": "Sets up config options specific to this class. Overrides\nExt.dd.DragDrop, but all versions of this method through the\ninheritance chain are called
\n", - "linenr": 259, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DD.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DD.html#Ext-dd-DD-method-autoOffset", - "shortDoc": "Sets the pointer offset to the distance between the linked element's top\nleft corner and the location the element was...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DD.js", - "private": false, - "params": [ - { - "type": "int", - "optional": false, - "doc": "the X coordinate of the click
\n", - "name": "iPageX" - }, - { - "type": "int", - "optional": false, - "doc": "the Y coordinate of the click
\n", - "name": "iPageY" - } - ], - "name": "autoOffset", - "owner": "Ext.dd.DD", - "doc": "Sets the pointer offset to the distance between the linked element's top\nleft corner and the location the element was clicked
\n", - "linenr": 42, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DD.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DD.html#Ext-dd-DD-method-b4Drag", - "shortDoc": "Event that fires prior to the onDrag event. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DD.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "e" - } - ], - "name": "b4Drag", - "owner": "Ext.dd.DD", - "doc": "Event that fires prior to the onDrag event. Overrides\nExt.dd.DragDrop.
\n", - "linenr": 278, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DD.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DD.html#Ext-dd-DD-method-b4MouseDown", - "shortDoc": "Event that fires prior to the onMouseDown event. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DD.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "e" - } - ], - "name": "b4MouseDown", - "owner": "Ext.dd.DD", - "doc": "Event that fires prior to the onMouseDown event. Overrides\nExt.dd.DragDrop.
\n", - "linenr": 269, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DD.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DD.html#Ext-dd-DD-method-cachePosition", - "shortDoc": "Saves the most recent position so that we can reset the constraints and\ntick marks on-demand. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DD.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "the current x position (optional, this just makes it so we\ndon't have to look it up again)
\n", - "name": "iPageX" - }, - { - "type": "Object", - "optional": false, - "doc": "the current y position (optional, this just makes it so we\ndon't have to look it up again)
\n", - "name": "iPageY" - } - ], - "name": "cachePosition", - "owner": "Ext.dd.DD", - "doc": "Saves the most recent position so that we can reset the constraints and\ntick marks on-demand. We need to know this so that we can calculate the\nnumber of pixels the element is offset from its original position.
\n", - "linenr": 125, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DD.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-callOverridden", - "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n constructo...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "Array/Arguments", - "optional": false, - "doc": "The arguments, either an array or the arguments
object
Call the original method that was previously overridden with Ext.Base.override
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\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",
- "linenr": 269,
- "return": {
- "type": "Mixed",
- "doc": "Returns the result after calling the overridden method
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": true, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-callParent", - "shortDoc": "Call the parent's overridden method. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "Array/Arguments", - "optional": false, - "doc": "The arguments, either an array or the arguments
object\nfrom the current method, for example: this.callParent(arguments)
Call the parent's overridden method. For example:
\n\nExt.define('My.own.A', {\n constructor: function(test) {\n alert(test);\n }\n});\n\nExt.define('My.own.B', {\n extend: 'My.own.A',\n\n constructor: function(test) {\n alert(test);\n\n this.callParent([test + 1]);\n }\n});\n\nExt.define('My.own.C', {\n extend: 'My.own.B',\n\n constructor: function() {\n alert(\"Going to call parent's overriden constructor...\");\n\n this.callParent(arguments);\n }\n});\n\nvar a = new My.own.A(1); // alerts '1'\nvar b = new My.own.B(1); // alerts '1', then alerts '2'\nvar c = new My.own.C(2); // alerts \"Going to call parent's overriden constructor...\"\n // alerts '2', then alerts '3'\n
\n",
- "linenr": 124,
- "return": {
- "type": "Mixed",
- "doc": "Returns the result from the superclass' method
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-clearConstraints", - "shortDoc": "Clears any constraints applied to this instance. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - - ], - "name": "clearConstraints", - "owner": "Ext.dd.DragDrop", - "doc": "Clears any constraints applied to this instance. Also clears ticks\nsince they can't exist independent of a constraint at this time.
\n", - "linenr": 1007, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-clearTicks", - "shortDoc": "Clears any tick interval defined for this instance ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - - ], - "name": "clearTicks", - "owner": "Ext.dd.DragDrop", - "doc": "Clears any tick interval defined for this instance
\n", - "linenr": 1017, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-constrainTo", - "shortDoc": "Initializes the drag drop object's constraints to restrict movement to a certain element. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "Mixed", - "optional": false, - "doc": "The element to constrain to.
\n", - "name": "constrainTo" - }, - { - "type": "Object/Number", - "optional": true, - "doc": "(optional) Pad provides a way to specify \"padding\" of the constraints,\nand can be either a number for symmetrical padding (4 would be equal to {left:4, right:4, top:4, bottom:4}
) or\nan object containing the sides to pad. For example: {right:10, bottom:10}
(optional) Constrain the draggable in the content box of the element (inside padding and borders)
\n", - "name": "inContent" - } - ], - "name": "constrainTo", - "owner": "Ext.dd.DragDrop", - "doc": "Initializes the drag drop object's constraints to restrict movement to a certain element.
\n\nUsage:
\n\nvar dd = new Ext.dd.DDProxy(\"dragDiv1\", \"proxytest\",\n { dragElId: \"existingProxyDiv\" });\ndd.startDrag = function(){\n this.constrainTo(\"parent-id\");\n};\n
\n\nOr you can initalize it using the Ext.core.Element object:
\n\nExt.get(\"dragDiv1\").initDDProxy(\"proxytest\", {dragElId: \"existingProxyDiv\"}, {\n startDrag : function(){\n this.constrainTo(\"parent-id\");\n }\n});\n
\n",
- "linenr": 478,
- "return": {
- "type": "void",
- "doc": "\n"
- },
- "html_filename": "DragDrop.html"
- },
- {
- "deprecated": null,
- "alias": null,
- "protected": false,
- "tagname": "method",
- "href": "Base3.html#Ext-Base-method-create",
- "shortDoc": "Create a new instance of this Class. ...",
- "static": true,
- "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
- "private": false,
- "params": [
-
- ],
- "name": "create",
- "owner": "Ext.Base",
- "doc": "Create a new instance of this Class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfig: true\n});\n
\n\nAll parameters are passed to the constructor of the class.
\n", - "linenr": 329, - "return": { - "type": "Object", - "doc": "the created instance.
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-createAlias", - "shortDoc": "Create aliases for existing prototype methods. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "String/Object", - "optional": false, - "doc": "The new method name, or an object to set multiple aliases. See\nflexSetter
\n", - "name": "alias" - }, - { - "type": "String/Object", - "optional": false, - "doc": "The original method name
\n", - "name": "origin" - } - ], - "name": "createAlias", - "owner": "Ext.Base", - "doc": "Create aliases for existing prototype methods. Example:
\n\nExt.define('My.cool.Class', {\n method1: function() { ... },\n method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n method3: 'method1',\n method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -> test.method1()\n
\n",
- "linenr": 648,
- "return": {
- "type": "void",
- "doc": "\n"
- },
- "html_filename": "Base3.html"
- },
- {
- "deprecated": null,
- "alias": null,
- "protected": false,
- "tagname": "method",
- "href": "DDProxy.html#Ext-dd-DDProxy-method-createFrame",
- "shortDoc": "Creates the proxy element if it does not yet exist ...",
- "static": false,
- "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DDProxy.js",
- "private": false,
- "params": [
-
- ],
- "name": "createFrame",
- "owner": "Ext.dd.DDProxy",
- "doc": "Creates the proxy element if it does not yet exist
\n", - "linenr": 69, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DDProxy.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-endDrag", - "shortDoc": "Called when we are done dragging the object ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "Event", - "optional": false, - "doc": "the mouseup event
\n", - "name": "e" - } - ], - "name": "endDrag", - "owner": "Ext.dd.DragDrop", - "doc": "Called when we are done dragging the object
\n", - "linenr": 435, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-getDragEl", - "shortDoc": "Returns a reference to the actual element to drag. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - - ], - "name": "getDragEl", - "owner": "Ext.dd.DragDrop", - "doc": "Returns a reference to the actual element to drag. By default this is\nthe same as the html element, but it can be assigned to another\nelement. An example of this can be found in Ext.dd.DDProxy
\n", - "linenr": 547, - "return": { - "type": "HTMLElement", - "doc": "the html element
\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-getEl", - "shortDoc": "Returns a reference to the linked element ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - - ], - "name": "getEl", - "owner": "Ext.dd.DragDrop", - "doc": "Returns a reference to the linked element
\n", - "linenr": 535, - "return": { - "type": "HTMLElement", - "doc": "the html element
\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-getName", - "shortDoc": "Get the current class' name in string format. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - - ], - "name": "getName", - "owner": "Ext.Base", - "doc": "Get the current class' name in string format.
\n\nExt.define('My.cool.Class', {\n constructor: function() {\n alert(this.self.getName()); // alerts 'My.cool.Class'\n }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n
\n",
- "linenr": 631,
- "return": {
- "type": "String",
- "doc": "className
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-implement", - "shortDoc": "Add methods / properties to the prototype of this class. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "members" - } - ], - "name": "implement", - "owner": "Ext.Base", - "doc": "Add methods / properties to the prototype of this class.
\n\nExt.define('My.awesome.Cat', {\n constructor: function() {\n ...\n }\n});\n\n My.awesome.Cat.implement({\n meow: function() {\n alert('Meowww...');\n }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n
\n",
- "linenr": 415,
- "return": {
- "type": "void",
- "doc": "\n"
- },
- "html_filename": "Base3.html"
- },
- {
- "deprecated": null,
- "alias": null,
- "protected": false,
- "tagname": "method",
- "href": "DragDrop.html#Ext-dd-DragDrop-method-init",
- "shortDoc": "Sets up the DragDrop object. ...",
- "static": false,
- "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js",
- "private": false,
- "params": [
- {
- "type": "String",
- "optional": false,
- "doc": "the id of the linked element
\n", - "name": "id" - }, - { - "type": "String", - "optional": false, - "doc": "the group of related items
\n", - "name": "sGroup" - }, - { - "type": "Object", - "optional": false, - "doc": "configuration attributes
\n", - "name": "config" - } - ], - "name": "init", - "owner": "Ext.dd.DragDrop", - "doc": "Sets up the DragDrop object. Must be called in the constructor of any\nExt.dd.DragDrop subclass
\n", - "linenr": 557, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": true, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-initConfig", - "shortDoc": "Initialize configuration for this class. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "config" - } - ], - "name": "initConfig", - "owner": "Ext.Base", - "doc": "Initialize configuration for this class. a typical example:
\n\nExt.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 return this;\n }\n});\n\nvar awesome = new My.awesome.Class({\n name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n
\n",
- "linenr": 63,
- "return": {
- "type": "Object",
- "doc": "mixins The mixin prototypes as key - value pairs
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DDProxy.html#Ext-dd-DDProxy-method-initFrame", - "shortDoc": "Initialization for the drag frame element. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DDProxy.js", - "private": false, - "params": [ - - ], - "name": "initFrame", - "owner": "Ext.dd.DDProxy", - "doc": "Initialization for the drag frame element. Must be called in the\nconstructor of all subclasses
\n", - "linenr": 102, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DDProxy.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-initTarget", - "shortDoc": "Initializes Targeting functionality only... ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "the id of the linked element
\n", - "name": "id" - }, - { - "type": "String", - "optional": false, - "doc": "the group of related items
\n", - "name": "sGroup" - }, - { - "type": "Object", - "optional": false, - "doc": "configuration attributes
\n", - "name": "config" - } - ], - "name": "initTarget", - "owner": "Ext.dd.DragDrop", - "doc": "Initializes Targeting functionality only... the object does not\nget a mousedown handler.
\n", - "linenr": 570, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-isLocked", - "shortDoc": "Returns true if this instance is locked, or the drag drop mgr is locked\n(meaning that all drag/drop is disabled on th...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - - ], - "name": "isLocked", - "owner": "Ext.dd.DragDrop", - "doc": "Returns true if this instance is locked, or the drag drop mgr is locked\n(meaning that all drag/drop is disabled on the page.)
\n", - "linenr": 783, - "return": { - "type": "Boolean", - "doc": "true if this obj or all drag/drop is locked, else\nfalse
\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-isValidHandleChild", - "shortDoc": "Checks the tag exclusion list to see if this click should be ignored ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "HTMLElement", - "optional": false, - "doc": "the HTMLElement to evaluate
\n", - "name": "node" - } - ], - "name": "isValidHandleChild", - "owner": "Ext.dd.DragDrop", - "doc": "Checks the tag exclusion list to see if this click should be ignored
\n", - "linenr": 903, - "return": { - "type": "Boolean", - "doc": "true if this is a valid tag type, false if not
\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-lock", - "shortDoc": "Locks this instance ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - - ], - "name": "lock", - "owner": "Ext.dd.DragDrop", - "doc": "Locks this instance
\n", - "linenr": 183, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-onAvailable", - "shortDoc": "Override the onAvailable method to do what is needed after the initial\nposition was determined. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - - ], - "name": "onAvailable", - "owner": "Ext.dd.DragDrop", - "doc": "Override the onAvailable method to do what is needed after the initial\nposition was determined.
\n", - "linenr": 460, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-onDrag", - "shortDoc": "Abstract method called during the onMouseMove event while dragging an\nobject. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "Event", - "optional": false, - "doc": "the mousemove event
\n", - "name": "e" - } - ], - "name": "onDrag", - "owner": "Ext.dd.DragDrop", - "doc": "Abstract method called during the onMouseMove event while dragging an\nobject.
\n", - "linenr": 358, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-onDragDrop", - "shortDoc": "Abstract method called when this item is dropped on another DragDrop\nobj ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "Event", - "optional": false, - "doc": "the mouseup event
\n", - "name": "e" - }, - { - "type": "String/[DragDrop]", - "optional": false, - "doc": "In POINT mode, the element\nid this was dropped on. In INTERSECT mode, an array of dd items this\nwas dropped on.
\n", - "name": "id" - } - ], - "name": "onDragDrop", - "owner": "Ext.dd.DragDrop", - "doc": "Abstract method called when this item is dropped on another DragDrop\nobj
\n", - "linenr": 412, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-onDragEnter", - "shortDoc": "Abstract method called when this element fist begins hovering over\nanother DragDrop obj ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "Event", - "optional": false, - "doc": "the mousemove event
\n", - "name": "e" - }, - { - "type": "String/[DragDrop]", - "optional": false, - "doc": "In POINT mode, the element\nid this is hovering over. In INTERSECT mode, an array of one or more\ndragdrop items being hovered over.
\n", - "name": "id" - } - ], - "name": "onDragEnter", - "owner": "Ext.dd.DragDrop", - "doc": "Abstract method called when this element fist begins hovering over\nanother DragDrop obj
\n", - "linenr": 365, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-onDragOut", - "shortDoc": "Abstract method called when we are no longer hovering over an element ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "Event", - "optional": false, - "doc": "the mousemove event
\n", - "name": "e" - }, - { - "type": "String/[DragDrop]", - "optional": false, - "doc": "In POINT mode, the element\nid this was hovering over. In INTERSECT mode, an array of dd items\nthat the mouse is no longer over.
\n", - "name": "id" - } - ], - "name": "onDragOut", - "owner": "Ext.dd.DragDrop", - "doc": "Abstract method called when we are no longer hovering over an element
\n", - "linenr": 397, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-onDragOver", - "shortDoc": "Abstract method called when this element is hovering over another\nDragDrop obj ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "Event", - "optional": false, - "doc": "the mousemove event
\n", - "name": "e" - }, - { - "type": "String|DragDrop[]", - "optional": false, - "doc": "In POINT mode, the element\nid this is hovering over. In INTERSECT mode, an array of dd items\nbeing hovered over.
\n", - "name": "id" - } - ], - "name": "onDragOver", - "owner": "Ext.dd.DragDrop", - "doc": "Abstract method called when this element is hovering over another\nDragDrop obj
\n", - "linenr": 381, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-onInvalidDrop", - "shortDoc": "Abstract method called when this item is dropped on an area with no\ndrop target ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "Event", - "optional": false, - "doc": "the mouseup event
\n", - "name": "e" - } - ], - "name": "onInvalidDrop", - "owner": "Ext.dd.DragDrop", - "doc": "Abstract method called when this item is dropped on an area with no\ndrop target
\n", - "linenr": 422, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-onMouseDown", - "shortDoc": "Called when a drag/drop obj gets a mousedown ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "Event", - "optional": false, - "doc": "the mousedown event
\n", - "name": "e" - } - ], - "name": "onMouseDown", - "owner": "Ext.dd.DragDrop", - "doc": "Called when a drag/drop obj gets a mousedown
\n", - "linenr": 448, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-onMouseUp", - "shortDoc": "Called when a drag/drop obj gets a mouseup ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "Event", - "optional": false, - "doc": "the mouseup event
\n", - "name": "e" - } - ], - "name": "onMouseUp", - "owner": "Ext.dd.DragDrop", - "doc": "Called when a drag/drop obj gets a mouseup
\n", - "linenr": 454, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-override", - "shortDoc": "Override prototype members of this class. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "members" - } - ], - "name": "override", - "owner": "Ext.Base", - "doc": "Override prototype members of this class. Overridden methods can be invoked via\nExt.Base.callOverridden
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\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",
- "linenr": 518,
- "return": {
- "type": "Ext.Base",
- "doc": "this
\n" - }, - "html_filename": "Base3.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-removeFromGroup", - "shortDoc": "Removes this instance from the supplied interaction group ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "The group to drop
\n", - "name": "sGroup" - } - ], - "name": "removeFromGroup", - "owner": "Ext.dd.DragDrop", - "doc": "Removes this instance from the supplied interaction group
\n", - "linenr": 716, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-removeInvalidHandleClass", - "shortDoc": "Unsets an invalid css class ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "the class of the element(s) you wish to\nre-enable
\n", - "name": "cssClass" - } - ], - "name": "removeInvalidHandleClass", - "owner": "Ext.dd.DragDrop", - "doc": "Unsets an invalid css class
\n", - "linenr": 890, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-removeInvalidHandleId", - "shortDoc": "Unsets an invalid handle id ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "the id of the element to re-enable
\n", - "name": "id" - } - ], - "name": "removeInvalidHandleId", - "owner": "Ext.dd.DragDrop", - "doc": "Unsets an invalid handle id
\n", - "linenr": 879, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-removeInvalidHandleType", - "shortDoc": "Unsets an excluded tag name set by addInvalidHandleType ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "the type of element to unexclude
\n", - "name": "tagName" - } - ], - "name": "removeInvalidHandleType", - "owner": "Ext.dd.DragDrop", - "doc": "Unsets an excluded tag name set by addInvalidHandleType
\n", - "linenr": 869, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-resetConstraints", - "shortDoc": "Must be called if you manually reposition a dd element. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "boolean", - "optional": false, - "doc": "\n", - "name": "maintainOffset" - } - ], - "name": "resetConstraints", - "owner": "Ext.dd.DragDrop", - "doc": "Must be called if you manually reposition a dd element.
\n", - "linenr": 1048, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DD.html#Ext-dd-DD-method-setDelta", - "shortDoc": "Sets the pointer offset. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DD.js", - "private": false, - "params": [ - { - "type": "int", - "optional": false, - "doc": "the distance from the left
\n", - "name": "iDeltaX" - }, - { - "type": "int", - "optional": false, - "doc": "the distance from the top
\n", - "name": "iDeltaY" - } - ], - "name": "setDelta", - "owner": "Ext.dd.DD", - "doc": "Sets the pointer offset. You can call this directly to force the\noffset to be in a particular location (e.g., pass in 0,0 to set it\nto the center of the object)
\n", - "linenr": 55, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DD.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-setDragElId", - "shortDoc": "Allows you to specify that an element other than the linked element\nwill be moved with the cursor during a drag ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "the id of the element that will be used to initiate the drag
\n", - "name": "id" - } - ], - "name": "setDragElId", - "owner": "Ext.dd.DragDrop", - "doc": "Allows you to specify that an element other than the linked element\nwill be moved with the cursor during a drag
\n", - "linenr": 728, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DD.html#Ext-dd-DD-method-setDragElPos", - "shortDoc": "Sets the drag element to the location of the mousedown or click event,\nmaintaining the cursor location relative to th...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DD.js", - "private": false, - "params": [ - { - "type": "int", - "optional": false, - "doc": "the X coordinate of the mousedown or drag event
\n", - "name": "iPageX" - }, - { - "type": "int", - "optional": false, - "doc": "the Y coordinate of the mousedown or drag event
\n", - "name": "iPageY" - } - ], - "name": "setDragElPos", - "owner": "Ext.dd.DD", - "doc": "Sets the drag element to the location of the mousedown or click event,\nmaintaining the cursor location relative to the location on the element\nthat was clicked. Override this if you want to place the element in a\nlocation other than where the cursor is.
\n", - "linenr": 68, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DD.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-setHandleElId", - "shortDoc": "Allows you to specify a child of the linked element that should be\nused to initiate the drag operation. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "the id of the element that will be used to\ninitiate the drag.
\n", - "name": "id" - } - ], - "name": "setHandleElId", - "owner": "Ext.dd.DragDrop", - "doc": "Allows you to specify a child of the linked element that should be\nused to initiate the drag operation. An example of this would be if\nyou have a content div with text and links. Clicking anywhere in the\ncontent area would normally start the drag operation. Use this method\nto specify that an element inside of the content div is the element\nthat starts the drag operation.
\n", - "linenr": 737, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-setInitPosition", - "shortDoc": "Stores the initial placement of the linked element. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "int", - "optional": false, - "doc": "the X offset, default 0
\n", - "name": "diffX" - }, - { - "type": "int", - "optional": false, - "doc": "the Y offset, default 0
\n", - "name": "diffY" - } - ], - "name": "setInitPosition", - "owner": "Ext.dd.DragDrop", - "doc": "Stores the initial placement of the linked element.
\n", - "linenr": 665, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-setOuterHandleElId", - "shortDoc": "Allows you to set an element outside of the linked element as a drag\nhandle ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "the id of the element that will be used to initiate the drag
\n", - "name": "id" - } - ], - "name": "setOuterHandleElId", - "owner": "Ext.dd.DragDrop", - "doc": "Allows you to set an element outside of the linked element as a drag\nhandle
\n", - "linenr": 755, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-setPadding", - "shortDoc": "Configures the padding for the target zone in px. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "int", - "optional": false, - "doc": "Top pad
\n", - "name": "iTop" - }, - { - "type": "int", - "optional": false, - "doc": "Right pad
\n", - "name": "iRight" - }, - { - "type": "int", - "optional": false, - "doc": "Bot pad
\n", - "name": "iBot" - }, - { - "type": "int", - "optional": false, - "doc": "Left pad
\n", - "name": "iLeft" - } - ], - "name": "setPadding", - "owner": "Ext.dd.DragDrop", - "doc": "Configures the padding for the target zone in px. Effectively expands\n(or reduces) the virtual object size for targeting calculations.\nSupports css-style shorthand; if only one parameter is passed, all sides\nwill have that padding, and if only two are passed, the top and bottom\nwill have the first param, the left and right the second.
\n", - "linenr": 643, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-setXConstraint", - "shortDoc": "By default, the element can be dragged any place on the screen. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "int", - "optional": false, - "doc": "the number of pixels the element can move to the left
\n", - "name": "iLeft" - }, - { - "type": "int", - "optional": false, - "doc": "the number of pixels the element can move to the\nright
\n", - "name": "iRight" - }, - { - "type": "int", - "optional": false, - "doc": "optional parameter for specifying that the\nelement should move iTickSize pixels at a time.
\n", - "name": "iTickSize" - } - ], - "name": "setXConstraint", - "owner": "Ext.dd.DragDrop", - "doc": "By default, the element can be dragged any place on the screen. Use\nthis method to limit the horizontal travel of the element. Pass in\n0,0 for the parameters if you want to lock the drag to the y axis.
\n", - "linenr": 986, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-setYConstraint", - "shortDoc": "By default, the element can be dragged any place on the screen. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "int", - "optional": false, - "doc": "the number of pixels the element can move up
\n", - "name": "iUp" - }, - { - "type": "int", - "optional": false, - "doc": "the number of pixels the element can move down
\n", - "name": "iDown" - }, - { - "type": "int", - "optional": false, - "doc": "optional parameter for specifying that the\nelement should move iTickSize pixels at a time.
\n", - "name": "iTickSize" - } - ], - "name": "setYConstraint", - "owner": "Ext.dd.DragDrop", - "doc": "By default, the element can be dragged any place on the screen. Set\nthis to limit the vertical travel of the element. Pass in 0,0 for the\nparameters if you want to lock the drag to the x axis.
\n", - "linenr": 1027, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-startDrag", - "shortDoc": "Abstract method called after a drag/drop object is clicked\nand the drag or mousedown time thresholds have beeen met. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - { - "type": "int", - "optional": false, - "doc": "click location
\n", - "name": "X" - }, - { - "type": "int", - "optional": false, - "doc": "click location
\n", - "name": "Y" - } - ], - "name": "startDrag", - "owner": "Ext.dd.DragDrop", - "doc": "Abstract method called after a drag/drop object is clicked\nand the drag or mousedown time thresholds have beeen met.
\n", - "linenr": 344, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": true, - "tagname": "method", - "href": "Base3.html#Ext-Base-method-statics", - "shortDoc": "Get the reference to the class from which this object was instantiated. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "params": [ - - ], - "name": "statics", - "owner": "Ext.Base", - "doc": "Get the reference to the class from which this object was instantiated. Note that unlike Ext.Base.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
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 return this;\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",
- "linenr": 199,
- "return": {
- "type": "Class",
- "doc": "\n"
- },
- "html_filename": "Base3.html"
- },
- {
- "deprecated": null,
- "alias": null,
- "protected": false,
- "tagname": "method",
- "href": "DragDrop.html#Ext-dd-DragDrop-method-toString",
- "shortDoc": "toString method ...",
- "static": false,
- "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js",
- "private": false,
- "params": [
-
- ],
- "name": "toString",
- "owner": "Ext.dd.DragDrop",
- "doc": "toString method
\n", - "linenr": 1113, - "return": { - "type": "string", - "doc": "string representation of the dd obj
\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-unlock", - "shortDoc": "Unlocks this instace ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - - ], - "name": "unlock", - "owner": "Ext.dd.DragDrop", - "doc": "Unlocks this instace
\n", - "linenr": 198, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDrop.html#Ext-dd-DragDrop-method-unreg", - "shortDoc": "Removes all drag and drop hooks for this element ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "params": [ - - ], - "name": "unreg", - "owner": "Ext.dd.DragDrop", - "doc": "Removes all drag and drop hooks for this element
\n", - "linenr": 770, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDrop.html" - } - ], - "property": [ - { - "type": "boolean", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-available", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "available", - "owner": "Ext.dd.DragDrop", - "doc": "The available property is false until the linked dom element is accessible.
\n", - "linenr": 319, - "html_filename": "DragDrop.html" - }, - { - "type": "boolean", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DDProxy.html#Ext-dd-DDProxy-property-centerFrame", - "shortDoc": "By default the frame is positioned exactly where the drag element is, so\nwe use the cursor offset provided by Ext.dd.DD. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DDProxy.js", - "private": false, - "name": "centerFrame", - "owner": "Ext.dd.DDProxy", - "doc": "By default the frame is positioned exactly where the drag element is, so\nwe use the cursor offset provided by Ext.dd.DD. Another option that works only if\nyou do not have constraints on the obj is to have the drag frame centered\naround the cursor. Set centerFrame to true for this effect.
\n", - "linenr": 59, - "html_filename": "DDProxy.html" - }, - { - "type": "object", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-config", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "config", - "owner": "Ext.dd.DragDrop", - "doc": "Configuration attributes passed into the constructor
\n", - "linenr": 87, - "html_filename": "DragDrop.html" - }, - { - "type": "Object", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-defaultPadding", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "defaultPadding", - "owner": "Ext.dd.DragDrop", - "doc": "Provides default constraint padding to \"constrainTo\" elements (defaults to {left:0, right:0, top:0, bottom:0}
).
The default drag frame div id
\n", - "linenr": 25, - "html_filename": "DDProxy.html" - }, - { - "type": "object", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-groups", - "shortDoc": "The group defines a logical collection of DragDrop objects that are\nrelated. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "groups", - "owner": "Ext.dd.DragDrop", - "doc": "The group defines a logical collection of DragDrop objects that are\nrelated. Instances only get events when interacting with other\nDragDrop object in the same group. This lets us define multiple\ngroups using a single DragDrop subclass if we want. An object in the format {'group1':true, 'group2':true}
\n", - "linenr": 164, - "html_filename": "DragDrop.html" - }, - { - "type": "boolean", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-hasOuterHandles", - "shortDoc": "By default, drags can only be initiated if the mousedown occurs in the\nregion the linked element is. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "hasOuterHandles", - "owner": "Ext.dd.DragDrop", - "doc": "By default, drags can only be initiated if the mousedown occurs in the\nregion the linked element is. This is done in part to work around a\nbug in some browsers that mis-report the mousedown if the previous\nmouseup happened outside of the window. This property is set to true\nif outer handles are defined. Defaults to false.
\n", - "linenr": 326, - "html_filename": "DragDrop.html" - }, - { - "type": "String", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-id", - "shortDoc": "The id of the element associated with this object. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "id", - "owner": "Ext.dd.DragDrop", - "doc": "The id of the element associated with this object. This is what we\nrefer to as the \"linked element\" because the size and position of\nthis element is used to determine when the drag and drop objects have\ninteracted.
\n", - "linenr": 77, - "html_filename": "DragDrop.html" - }, - { - "type": "Boolean", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-ignoreSelf", - "shortDoc": "Set to false to enable a DragDrop object to fire drag events while dragging\nover its own Element. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "ignoreSelf", - "owner": "Ext.dd.DragDrop", - "doc": "Set to false to enable a DragDrop object to fire drag events while dragging\nover its own Element. Defaults to true - DragDrop objects do not by default\nfire drag events to themselves.
\n", - "linenr": 69, - "html_filename": "DragDrop.html" - }, - { - "type": "Array", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-invalidHandleClasses", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "invalidHandleClasses", - "owner": "Ext.dd.DragDrop", - "doc": "An Array of CSS class names for elements to be considered in valid as drag handles.
\n", - "linenr": 139, - "html_filename": "DragDrop.html" - }, - { - "type": "Object", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-invalidHandleIds", - "shortDoc": "An object who's property names identify the IDs of elements to be considered invalid as drag handles. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "invalidHandleIds", - "owner": "Ext.dd.DragDrop", - "doc": "An object who's property names identify the IDs of elements to be considered invalid as drag handles.\nA non-null property value identifies the ID as invalid. For example, to prevent\ndragging from being initiated on element ID \"foo\", use:
\n\n{\n foo: true\n}
\n\n",
- "linenr": 127,
- "html_filename": "DragDrop.html"
- },
- {
- "type": "Object",
- "deprecated": null,
- "alias": null,
- "protected": false,
- "tagname": "property",
- "href": "DragDrop.html#Ext-dd-DragDrop-property-invalidHandleTypes",
- "shortDoc": "An object who's property names identify HTML tags to be considered invalid as drag handles. ...",
- "static": false,
- "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js",
- "private": false,
- "name": "invalidHandleTypes",
- "owner": "Ext.dd.DragDrop",
- "doc": "An object who's property names identify HTML tags to be considered invalid as drag handles.\nA non-null property value identifies the tag as invalid. Defaults to the\nfollowing value which prevents drag operations from being initiated by <a> elements:
\n\n{\n A: \"A\"\n}
\n\n",
- "linenr": 115,
- "html_filename": "DragDrop.html"
- },
- {
- "type": "boolean",
- "deprecated": null,
- "alias": null,
- "protected": false,
- "tagname": "property",
- "href": "DragDrop.html#Ext-dd-DragDrop-property-isTarget",
- "shortDoc": "By default, all instances can be a drop target. ...",
- "static": false,
- "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js",
- "private": false,
- "name": "isTarget",
- "owner": "Ext.dd.DragDrop",
- "doc": "By default, all instances can be a drop target. This can be disabled by\nsetting isTarget to false.
\n", - "linenr": 205, - "html_filename": "DragDrop.html" - }, - { - "type": "boolean", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-maintainOffset", - "shortDoc": "Maintain offsets when we resetconstraints. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "maintainOffset", - "owner": "Ext.dd.DragDrop", - "doc": "Maintain offsets when we resetconstraints. Set to true when you want\nthe position of the element relative to its parent to stay the same\nwhen the page changes
\n", - "linenr": 283, - "html_filename": "DragDrop.html" - }, - { - "type": "boolean", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-moveOnly", - "shortDoc": "When set to true, other DD objects in cooperating DDGroups do not receive\nnotification events when this DD object is ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "moveOnly", - "owner": "Ext.dd.DragDrop", - "doc": "When set to true, other DD objects in cooperating DDGroups do not receive\nnotification events when this DD object is dragged over them. Defaults to false.
\n", - "linenr": 190, - "html_filename": "DragDrop.html" - }, - { - "type": "[int]", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-padding", - "shortDoc": "The padding configured for this drag and drop object for calculating\nthe drop zone intersection with this object. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "padding", - "owner": "Ext.dd.DragDrop", - "doc": "The padding configured for this drag and drop object for calculating\nthe drop zone intersection with this object.\nAn array containing the 4 padding values: [top, right, bottom, left]
\n", - "linenr": 213, - "html_filename": "DragDrop.html" - }, - { - "type": "boolean", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-primaryButtonOnly", - "shortDoc": "By default the drag and drop instance will only respond to the primary\nbutton click (left button for a right-handed m...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "primaryButtonOnly", - "owner": "Ext.dd.DragDrop", - "doc": "By default the drag and drop instance will only respond to the primary\nbutton click (left button for a right-handed mouse). Set to true to\nallow drag and drop to start with any mouse click that is propogated\nby the browser
\n", - "linenr": 309, - "html_filename": "DragDrop.html" - }, - { - "type": "boolean", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DDProxy.html#Ext-dd-DDProxy-property-resizeFrame", - "shortDoc": "By default we resize the drag frame to be the same size as the element\nwe want to drag (this is to get the frame effe...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DDProxy.js", - "private": false, - "name": "resizeFrame", - "owner": "Ext.dd.DDProxy", - "doc": "By default we resize the drag frame to be the same size as the element\nwe want to drag (this is to get the frame effect). We can turn it off\nif we want a different behavior.
\n", - "linenr": 50, - "html_filename": "DDProxy.html" - }, - { - "type": "boolean", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DD.html#Ext-dd-DD-property-scroll", - "shortDoc": "When set to true, the utility automatically tries to scroll the browser\nwindow when a drag and drop element is dragge...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DD.js", - "private": false, - "name": "scroll", - "owner": "Ext.dd.DD", - "doc": "When set to true, the utility automatically tries to scroll the browser\nwindow when a drag and drop element is dragged near the viewport boundary.\nDefaults to true.
\n", - "linenr": 33, - "html_filename": "DD.html" - }, - { - "type": "Class", - "deprecated": null, - "alias": null, - "protected": true, - "tagname": "property", - "href": "Base3.html#Ext-Base-property-self", - "shortDoc": "Get the reference to the current class from which this object was instantiated. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js", - "private": false, - "name": "self", - "owner": "Ext.Base", - "doc": "Get the reference to the current class from which this object was instantiated. Unlike Ext.Base.statics,\nthis.self
is scope-dependent and it's meant to be used for dynamic inheritance. See Ext.Base.statics\nfor a detailed comparison
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 return 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",
- "linenr": 18,
- "html_filename": "Base3.html"
- },
- {
- "type": "[int]",
- "deprecated": null,
- "alias": null,
- "protected": false,
- "tagname": "property",
- "href": "DragDrop.html#Ext-dd-DragDrop-property-xTicks",
- "shortDoc": "Array of pixel locations the element will snap to if we specified a\nhorizontal graduation/interval. ...",
- "static": false,
- "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js",
- "private": false,
- "name": "xTicks",
- "owner": "Ext.dd.DragDrop",
- "doc": "Array of pixel locations the element will snap to if we specified a\nhorizontal graduation/interval. This array is generated automatically\nwhen you define a tick interval.
\n", - "linenr": 293, - "html_filename": "DragDrop.html" - }, - { - "type": "[int]", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDrop.html#Ext-dd-DragDrop-property-yTicks", - "shortDoc": "Array of pixel locations the element will snap to if we specified a\nvertical graduation/interval. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDrop.js", - "private": false, - "name": "yTicks", - "owner": "Ext.dd.DragDrop", - "doc": "Array of pixel locations the element will snap to if we specified a\nvertical graduation/interval. This array is generated automatically\nwhen you define a tick interval.
\n", - "linenr": 301, - "html_filename": "DragDrop.html" - } - ], - "cssVar": [ - - ], - "cssMixin": [ - - ], - "event": [ - - ] - }, - "singleton": false, - "alias": null, - "superclasses": [ - "Ext.Base", - "Ext.dd.DragDrop", - "Ext.dd.DD" - ], - "protected": false, - "tagname": "class", - "mixins": [ - - ], - "href": "DDProxy.html#Ext-dd-DDProxy", - "subclasses": [ - "Ext.dd.DragSource" - ], - "static": false, - "author": null, - "component": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DDProxy.js", - "private": false, - "alternateClassNames": [ - - ], - "name": "Ext.dd.DDProxy", - "doc": "A DragDrop implementation that inserts an empty, bordered div into\nthe document that follows the cursor during drag operations. At the time of\nthe click, the frame div is resized to the dimensions of the linked html\nelement, and moved to the exact location of the linked element.
\n\nReferences to the \"frame\" element refer to the single proxy element that\nwas created to be dragged in place of all DDProxy elements on the\npage.
\n", - "mixedInto": [ - - ], - "linenr": 9, - "xtypes": [ - - ], - "html_filename": "DDProxy.html", - "extends": "Ext.dd.DD" -}); \ No newline at end of file +Ext.data.JsonP.Ext_dd_DDProxy({"tagname":"class","html":"Hierarchy
Ext.BaseExt.dd.DragDropExt.dd.DDExt.dd.DDProxyFiles
A DragDrop implementation that inserts an empty, bordered div into\nthe document that follows the cursor during drag operations. At the time of\nthe click, the frame div is resized to the dimensions of the linked html\nelement, and moved to the exact location of the linked element.
\n\nReferences to the \"frame\" element refer to the single proxy element that\nwas created to be dragged in place of all DDProxy elements on the\npage.
\nThe available property is false until the linked dom element is accessible.
\nThe available property is false until the linked dom element is accessible.
\nBy default the frame is positioned exactly where the drag element is, so\nwe use the cursor offset provided by Ext.dd.DD. Another option that works only if\nyou do not have constraints on the obj is to have the drag frame centered\naround the cursor. Set centerFrame to true for this effect.
\nConfiguration attributes passed into the constructor
\nConfiguration attributes passed into the constructor
\nProvides default constraint padding to \"constrainTo\" elements.
\nProvides default constraint padding to \"constrainTo\" elements.
\nThe group defines a logical collection of DragDrop objects that are\nrelated. Instances only get events when interacting with other\nDragDrop object in the same group. This lets us define multiple\ngroups using a single DragDrop subclass if we want. An object in the format {'group1':true, 'group2':true}
\nBy default, drags can only be initiated if the mousedown occurs in the\nregion the linked element is. This is done in part to work around a\nbug in some browsers that mis-report the mousedown if the previous\nmouseup happened outside of the window. This property is set to true\nif outer handles are defined. Defaults to false.
\nThe id of the element associated with this object. This is what we\nrefer to as the \"linked element\" because the size and position of\nthis element is used to determine when the drag and drop objects have\ninteracted.
\nSet to false to enable a DragDrop object to fire drag events while dragging\nover its own Element. Defaults to true - DragDrop objects do not by default\nfire drag events to themselves.
\nAn Array of CSS class names for elements to be considered in valid as drag handles.
\nAn Array of CSS class names for elements to be considered in valid as drag handles.
\nAn object who's property names identify the IDs of elements to be considered invalid as drag handles.\nA non-null property value identifies the ID as invalid. For example, to prevent\ndragging from being initiated on element ID \"foo\", use:
\n\n{\n foo: true\n}
\n\nAn object who's property names identify HTML tags to be considered invalid as drag handles.\nA non-null property value identifies the tag as invalid. Defaults to the\nfollowing value which prevents drag operations from being initiated by <a> elements:
\n\n{\n A: \"A\"\n}
\n\nBy default, all instances can be a drop target. This can be disabled by\nsetting isTarget to false.
\nMaintain offsets when we resetconstraints. Set to true when you want\nthe position of the element relative to its parent to stay the same\nwhen the page changes
\nWhen set to true, other DD objects in cooperating DDGroups do not receive\nnotification events when this DD object is dragged over them. Defaults to false.
\nThe padding configured for this drag and drop object for calculating\nthe drop zone intersection with this object.\nAn array containing the 4 padding values: [top, right, bottom, left]
\nBy default the drag and drop instance will only respond to the primary\nbutton click (left button for a right-handed mouse). Set to true to\nallow drag and drop to start with any mouse click that is propogated\nby the browser
\nBy default we resize the drag frame to be the same size as the element\nwe want to drag (this is to get the frame effect). We can turn it off\nif we want a different behavior.
\nWhen set to true, the utility automatically tries to scroll the browser\nwindow when a drag and drop element is dragged near the viewport boundary.\nDefaults to true.
\nGet 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
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 return 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
\nCreates new DDProxy.
\nthe id of the linked html element
\nthe group of related DragDrop objects
\nan object containing configurable attributes.\nValid properties for DDProxy in addition to those in DragDrop:
\n\nLets you specify a css class of elements that will not initiate a drag
\nthe class of the elements you wish to ignore
\nLets you to specify an element id for a child of a drag handle\nthat should not initiate a drag
\nthe element id of the element you wish to ignore
\nAllows you to specify a tag name that should not start a drag operation\nwhen clicked. This is designed to facilitate embedding links within a\ndrag handle that do something other than start the drag.
\nthe type of element to exclude
\nAdds this instance to a group of related drag/drop objects. All\ninstances belong to at least one group, and can belong to as many\ngroups as needed.
\nthe name of the group
\nSets the element to the location of the mousedown or click event,\nmaintaining the cursor location relative to the location on the element\nthat was clicked. Override this if you want to place the element in a\nlocation other than where the cursor is.
\nSets up config options specific to this class. Overrides\nExt.dd.DragDrop, but all versions of this method through the\ninheritance chain are called
\nEvent that fires prior to the onMouseDown event. Overrides\nExt.dd.DragDrop.
\nSaves the most recent position so that we can reset the constraints and\ntick marks on-demand. We need to know this so that we can calculate the\nnumber of pixels the element is offset from its original position.
\nCall the original method that was previously overridden with override
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\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
\nThe arguments, either an array or the arguments
object
Returns the result after calling the overridden method
\nCall the parent's overridden method. For example:
\n\nExt.define('My.own.A', {\n constructor: function(test) {\n alert(test);\n }\n});\n\nExt.define('My.own.B', {\n extend: 'My.own.A',\n\n constructor: function(test) {\n alert(test);\n\n this.callParent([test + 1]);\n }\n});\n\nExt.define('My.own.C', {\n extend: 'My.own.B',\n\n constructor: function() {\n alert(\"Going to call parent's overriden constructor...\");\n\n this.callParent(arguments);\n }\n});\n\nvar a = new My.own.A(1); // alerts '1'\nvar b = new My.own.B(1); // alerts '1', then alerts '2'\nvar c = new My.own.C(2); // alerts \"Going to call parent's overriden constructor...\"\n // alerts '2', then alerts '3'\n
\nThe arguments, either an array or the arguments
object\nfrom the current method, for example: this.callParent(arguments)
Returns the result from the superclass' method
\nClears any constraints applied to this instance. Also clears ticks\nsince they can't exist independent of a constraint at this time.
\nClears any tick interval defined for this instance
\nInitializes the drag drop object's constraints to restrict movement to a certain element.
\n\nUsage:
\n\nvar dd = new Ext.dd.DDProxy(\"dragDiv1\", \"proxytest\",\n { dragElId: \"existingProxyDiv\" });\ndd.startDrag = function(){\n this.constrainTo(\"parent-id\");\n};\n
\n\nOr you can initalize it using the Ext.Element object:
\n\nExt.get(\"dragDiv1\").initDDProxy(\"proxytest\", {dragElId: \"existingProxyDiv\"}, {\n startDrag : function(){\n this.constrainTo(\"parent-id\");\n }\n});\n
\nThe element or element ID to constrain to.
\nPad provides a way to specify \"padding\" of the constraints,\nand can be either a number for symmetrical padding (4 would be equal to {left:4, right:4, top:4, bottom:4}
) or\nan object containing the sides to pad. For example: {right:10, bottom:10}
Constrain the draggable in the content box of the element (inside padding and borders)
\nCreates the proxy element if it does not yet exist
\nCalled when we are done dragging the object
\nthe mouseup event
\nReturns a reference to the actual element to drag. By default this is\nthe same as the html element, but it can be assigned to another\nelement. An example of this can be found in Ext.dd.DDProxy
\nthe html element
\nReturns a reference to the linked element
\nthe html element
\nSets up the DragDrop object. Must be called in the constructor of any\nExt.dd.DragDrop subclass
\nInitialize configuration for this class. a typical example:
\n\nExt.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 return this;\n }\n});\n\nvar awesome = new My.awesome.Class({\n name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n
\nmixins The mixin prototypes as key - value pairs
\nInitialization for the drag frame element. Must be called in the\nconstructor of all subclasses
\nReturns true if this instance is locked, or the drag drop mgr is locked\n(meaning that all drag/drop is disabled on the page.)
\ntrue if this obj or all drag/drop is locked, else\nfalse
\nChecks the tag exclusion list to see if this click should be ignored
\nthe HTMLElement to evaluate
\ntrue if this is a valid tag type, false if not
\nOverride the onAvailable method to do what is needed after the initial\nposition was determined.
\nAbstract method called during the onMouseMove event while dragging an\nobject.
\nthe mousemove event
\nAbstract method called when this item is dropped on another DragDrop\nobj
\nthe mouseup event
\nIn POINT mode, the element\nid this was dropped on. In INTERSECT mode, an array of dd items this\nwas dropped on.
\nAbstract method called when this element fist begins hovering over\nanother DragDrop obj
\nthe mousemove event
\nIn POINT mode, the element\nid this is hovering over. In INTERSECT mode, an array of one or more\ndragdrop items being hovered over.
\nAbstract method called when we are no longer hovering over an element
\nthe mousemove event
\nIn POINT mode, the element\nid this was hovering over. In INTERSECT mode, an array of dd items\nthat the mouse is no longer over.
\nAbstract method called when this element is hovering over another\nDragDrop obj
\nthe mousemove event
\nIn POINT mode, the element\nid this is hovering over. In INTERSECT mode, an array of dd items\nbeing hovered over.
\nAbstract method called when this item is dropped on an area with no\ndrop target
\nthe mouseup event
\nCalled when a drag/drop obj gets a mousedown
\nthe mousedown event
\nCalled when a drag/drop obj gets a mouseup
\nthe mouseup event
\nRemoves this instance from the supplied interaction group
\nThe group to drop
\nUnsets an invalid css class
\nthe class of the element(s) you wish to\nre-enable
\nUnsets an excluded tag name set by addInvalidHandleType
\nthe type of element to unexclude
\nAllows you to specify that an element other than the linked element\nwill be moved with the cursor during a drag
\nthe id of the element that will be used to initiate the drag
\nSets the drag element to the location of the mousedown or click event,\nmaintaining the cursor location relative to the location on the element\nthat was clicked. Override this if you want to place the element in a\nlocation other than where the cursor is.
\nAllows you to specify a child of the linked element that should be\nused to initiate the drag operation. An example of this would be if\nyou have a content div with text and links. Clicking anywhere in the\ncontent area would normally start the drag operation. Use this method\nto specify that an element inside of the content div is the element\nthat starts the drag operation.
\nthe id of the element that will be used to\ninitiate the drag.
\nAllows you to set an element outside of the linked element as a drag\nhandle
\nthe id of the element that will be used to initiate the drag
\nConfigures the padding for the target zone in px. Effectively expands\n(or reduces) the virtual object size for targeting calculations.\nSupports css-style shorthand; if only one parameter is passed, all sides\nwill have that padding, and if only two are passed, the top and bottom\nwill have the first param, the left and right the second.
\nBy default, the element can be dragged any place on the screen. Use\nthis method to limit the horizontal travel of the element. Pass in\n0,0 for the parameters if you want to lock the drag to the y axis.
\nBy default, the element can be dragged any place on the screen. Set\nthis to limit the vertical travel of the element. Pass in 0,0 for the\nparameters if you want to lock the drag to the x axis.
\nGet 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
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 return this;\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
\nRemoves all drag and drop hooks for this element
\nAdd / override static properties of this class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.addStatics({\n someProperty: 'someValue', // My.cool.Class.someProperty = 'someValue'\n method1: function() { ... }, // My.cool.Class.method1 = function() { ... };\n method2: function() { ... } // My.cool.Class.method2 = function() { ... };\n});\n
\nthis
\nBorrow another class' members to the prototype of this class.
\n\nExt.define('Bank', {\n money: '$$$',\n printMoney: function() {\n alert('$$$$$$$');\n }\n});\n\nExt.define('Thief', {\n ...\n});\n\nThief.borrow(Bank, ['money', 'printMoney']);\n\nvar steve = new Thief();\n\nalert(steve.money); // alerts '$$$'\nsteve.printMoney(); // alerts '$$$$$$$'\n
\nThe class to borrow members from
\nThe names of the members to borrow
\nthis
\nCreate a new instance of this Class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfig: true\n});\n
\n\nAll parameters are passed to the constructor of the class.
\nthe created instance.
\nCreate aliases for existing prototype methods. Example:
\n\nExt.define('My.cool.Class', {\n method1: function() { ... },\n method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n method3: 'method1',\n method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -> test.method1()\n
\nThe new method name, or an object to set multiple aliases. See\nflexSetter
\nThe original method name
\nGet the current class' name in string format.
\n\nExt.define('My.cool.Class', {\n constructor: function() {\n alert(this.self.getName()); // alerts 'My.cool.Class'\n }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n
\nclassName
\nAdd methods / properties to the prototype of this class.
\n\nExt.define('My.awesome.Cat', {\n constructor: function() {\n ...\n }\n});\n\n My.awesome.Cat.implement({\n meow: function() {\n alert('Meowww...');\n }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n
\nOverride prototype members of this class. Overridden methods can be invoked via\ncallOverridden
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\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
\nthis
\n