X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..HEAD:/docs/output/Ext.dd.DragDropManager.js diff --git a/docs/output/Ext.dd.DragDropManager.js b/docs/output/Ext.dd.DragDropManager.js index 548ade5b..f4830a0c 100644 --- a/docs/output/Ext.dd.DragDropManager.js +++ b/docs/output/Ext.dd.DragDropManager.js @@ -1,1039 +1 @@ -Ext.data.JsonP.Ext_dd_DragDropManager({ - "allMixins": [ - - ], - "deprecated": null, - "docauthor": null, - "members": { - "cfg": [ - - ], - "method": [ - { - "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\n
Ext.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": "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

\n", - "name": "args" - } - ], - "name": "callOverridden", - "owner": "Ext.Base", - "doc": "

Call the original method that was previously overridden with Ext.Base.override

\n\n
Ext.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)

\n", - "name": "args" - } - ], - "name": "callParent", - "owner": "Ext.Base", - "doc": "

Call the parent's overridden method. For example:

\n\n
Ext.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": "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\n
Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.create({\n    someConfig: true\n});\n
\n\n

All 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\n
Ext.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": "DragDropManager.html#Ext-dd-DragDropManager-method-getBestMatch", - "shortDoc": "Helper function for getting the best match from the list of drag\nand drop objects returned by the drag and drop event...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "DragDrop[]", - "optional": false, - "doc": "

The array of drag and drop objects\ntargeted

\n", - "name": "dds" - } - ], - "name": "getBestMatch", - "owner": "Ext.dd.DragDropManager", - "doc": "

Helper function for getting the best match from the list of drag\nand drop objects returned by the drag and drop events when we are\nin INTERSECT mode. It returns either the first object that the\ncursor is over, or the object that has the greatest overlap with\nthe dragged element.

\n", - "linenr": 787, - "return": { - "type": "DragDrop", - "doc": "

The best single match

\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-getCss", - "shortDoc": "Returns the style property for the DOM element (i.e.,\ndocument.getElById(id).style) ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "

the id of the elment to get

\n", - "name": "id" - } - ], - "name": "getCss", - "owner": "Ext.dd.DragDropManager", - "doc": "

Returns the style property for the DOM element (i.e.,\ndocument.getElById(id).style)

\n", - "linenr": 1079, - "return": { - "type": "Object", - "doc": "

The style property of the element

\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-getDDById", - "shortDoc": "Returns the DragDrop instance for a given id ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "

the id of the DragDrop object

\n", - "name": "id" - } - ], - "name": "getDDById", - "owner": "Ext.dd.DragDropManager", - "doc": "

Returns the DragDrop instance for a given id

\n", - "linenr": 460, - "return": { - "type": "DragDrop", - "doc": "

the drag drop object, null if it is not found

\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": { - "version": null, - "text": "

use Ext.lib.Ext.getDom instead

\n", - "tagname": "deprecated", - "doc": null - }, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-getElement", - "shortDoc": "Returns the actual DOM element ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "

the id of the elment to get

\n", - "name": "id" - } - ], - "name": "getElement", - "owner": "Ext.dd.DragDropManager", - "doc": "

Returns the actual DOM element

\n", - "linenr": 1067, - "return": { - "type": "Object", - "doc": "

The element

\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-getLocation", - "shortDoc": "Returns a Region object containing the drag and drop element's position\nand size, including the padding configured fo...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "DragDrop", - "optional": false, - "doc": "

the drag and drop object to get the

\n\n
                  location for\n
\n", - "name": "oDD" - } - ], - "name": "getLocation", - "owner": "Ext.dd.DragDropManager", - "doc": "

Returns a Region object containing the drag and drop element's position\nand size, including the padding configured for it

\n", - "linenr": 904, - "return": { - "type": "Ext.util.Region", - "doc": "

a Region object representing the total area

\n\n
                        the element occupies, including any padding\n                        the instance is configured for.\n
\n" - }, - "html_filename": "DragDropManager.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\n
Ext.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": "DragDropManager.html#Ext-dd-DragDropManager-method-getRelated", - "shortDoc": "Returns the drag and drop instances that are in all groups the\npassed in instance belongs to. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "DragDrop", - "optional": false, - "doc": "

the obj to get related data for

\n", - "name": "p_oDD" - }, - { - "type": "boolean", - "optional": false, - "doc": "

if true, only return targetable objs

\n", - "name": "bTargetsOnly" - } - ], - "name": "getRelated", - "owner": "Ext.dd.DragDropManager", - "doc": "

Returns the drag and drop instances that are in all groups the\npassed in instance belongs to.

\n", - "linenr": 384, - "return": { - "type": "DragDrop[]", - "doc": "

the related instances

\n" - }, - "html_filename": "DragDropManager.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\n
Ext.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": 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\n
Ext.define('My.awesome.Class', {\n    // The default config\n    config: {\n        name: 'Awesome',\n        isAwesome: true\n    },\n\n    constructor: function(config) {\n        this.initConfig(config);\n\n        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": "DragDropManager.html#Ext-dd-DragDropManager-method-isDragDrop", - "shortDoc": "Utility function to determine if a given element has been\nregistered as a drag drop item. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "

the element id to check

\n", - "name": "id" - } - ], - "name": "isDragDrop", - "owner": "Ext.dd.DragDropManager", - "doc": "

Utility function to determine if a given element has been\nregistered as a drag drop item.

\n", - "linenr": 371, - "return": { - "type": "boolean", - "doc": "

true if this element is a DragDrop item,\nfalse otherwise

\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-isHandle", - "shortDoc": "Utility function to determine if a given element has been\nregistered as a drag drop handle for the given Drag Drop ob...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "

the element id to check

\n", - "name": "id" - }, - { - "type": "Object", - "optional": false, - "doc": "\n", - "name": "sHandleId" - } - ], - "name": "isHandle", - "owner": "Ext.dd.DragDropManager", - "doc": "

Utility function to determine if a given element has been\nregistered as a drag drop handle for the given Drag Drop object.

\n", - "linenr": 446, - "return": { - "type": "boolean", - "doc": "

true if this element is a DragDrop handle, false\notherwise

\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-isLegalTarget", - "shortDoc": "Returns true if the specified dd target is a legal target for\nthe specifice drag obj ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "DragDrop", - "optional": false, - "doc": "

the drag obj

\n", - "name": "oDD" - }, - { - "type": "DragDrop", - "optional": false, - "doc": "

the target

\n", - "name": "oTargetDD" - } - ], - "name": "isLegalTarget", - "owner": "Ext.dd.DragDropManager", - "doc": "

Returns true if the specified dd target is a legal target for\nthe specifice drag obj

\n", - "linenr": 410, - "return": { - "type": "boolean", - "doc": "

true if the target is a legal target for the\ndd obj

\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-isLocked", - "shortDoc": "Is drag and drop locked? ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - - ], - "name": "isLocked", - "owner": "Ext.dd.DragDropManager", - "doc": "

Is drag and drop locked?

\n", - "linenr": 221, - "return": { - "type": "boolean", - "doc": "

True if drag and drop is locked, false otherwise.

\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-isTypeOfDD", - "shortDoc": "My goal is to be able to transparently determine if an object is\ntypeof DragDrop, and the exact subclass of DragDrop. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "

object to evaluate

\n", - "name": "the" - } - ], - "name": "isTypeOfDD", - "owner": "Ext.dd.DragDropManager", - "doc": "

My goal is to be able to transparently determine if an object is\ntypeof DragDrop, and the exact subclass of DragDrop. typeof\nreturns \"object\", oDD.constructor.toString() always returns\n\"DragDrop\" and not the name of the subclass. So for now it just\nevaluates a well-known variable in DragDrop.

\n", - "linenr": 431, - "return": { - "type": "boolean", - "doc": "

true if typeof oDD = DragDrop

\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-lock", - "shortDoc": "Lock all drag and drop functionality ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - - ], - "name": "lock", - "owner": "Ext.dd.DragDropManager", - "doc": "

Lock all drag and drop functionality

\n", - "linenr": 207, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDropManager.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\n
Ext.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": "DragDropManager.html#Ext-dd-DragDropManager-method-refreshCache", - "shortDoc": "Refreshes the cache of the top-left and bottom-right points of the\ndrag and drop objects in the specified group(s). ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "

an associative array of groups to refresh

\n", - "name": "groups" - } - ], - "name": "refreshCache", - "owner": "Ext.dd.DragDropManager", - "doc": "

Refreshes the cache of the top-left and bottom-right points of the\ndrag and drop objects in the specified group(s). This is in the\nformat that is stored in the drag and drop instance, so typical\nusage is:\n\nExt.dd.DragDropManager.refreshCache(ddinstance.groups);\n\nAlternatively:\n\nExt.dd.DragDropManager.refreshCache({group1:true, group2:true});\n\n@TODO this really should be an indexed array. Alternatively this\nmethod could accept both.

\n", - "linenr": 834, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-regDragDrop", - "shortDoc": "Each DragDrop instance must be registered with the DragDropManager. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "DragDrop", - "optional": false, - "doc": "

the DragDrop object to register

\n", - "name": "oDD" - }, - { - "type": "String", - "optional": false, - "doc": "

the name of the group this element belongs to

\n", - "name": "sGroup" - } - ], - "name": "regDragDrop", - "owner": "Ext.dd.DragDropManager", - "doc": "

Each DragDrop instance must be registered with the DragDropManager.\nThis is executed in DragDrop.init()

\n", - "linenr": 304, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-regHandle", - "shortDoc": "Each DragDrop handle element must be registered. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "

the DragDrop id this element is a handle for

\n", - "name": "sDDId" - }, - { - "type": "String", - "optional": false, - "doc": "

the id of the element that is the drag\nhandle

\n", - "name": "sHandleId" - } - ], - "name": "regHandle", - "owner": "Ext.dd.DragDropManager", - "doc": "

Each DragDrop handle element must be registered. This is done\nautomatically when executing DragDrop.setHandleElId()

\n", - "linenr": 355, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-startDrag", - "shortDoc": "Fired when either the drag pixel threshol or the mousedown hold\ntime threshold has been met. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "Object", - "optional": false, - "doc": "

{int} the X position of the original mousedown

\n", - "name": "x" - }, - { - "type": "Object", - "optional": false, - "doc": "

{int} the Y position of the original mousedown

\n", - "name": "y" - } - ], - "name": "startDrag", - "owner": "Ext.dd.DragDropManager", - "doc": "

Fired when either the drag pixel threshol or the mousedown hold\ntime threshold has been met.

\n", - "linenr": 517, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDropManager.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

\n\n
Ext.define('My.Cat', {\n    statics: {\n        totalCreated: 0,\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        var statics = this.statics();\n\n        alert(statics.speciesName);     // always equals to 'Cat' no matter what 'this' refers to\n                                        // equivalent to: My.Cat.speciesName\n\n        alert(this.self.speciesName);   // dependent on 'this'\n\n        statics.totalCreated++;\n\n        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": "DragDropManager.html#Ext-dd-DragDropManager-method-stopEvent", - "shortDoc": "Utility to stop event propagation and event default, if these\nfeatures are turned on. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "Event", - "optional": false, - "doc": "

the event as returned by this.getEvent()

\n", - "name": "e" - } - ], - "name": "stopEvent", - "owner": "Ext.dd.DragDropManager", - "doc": "

Utility to stop event propagation and event default, if these\nfeatures are turned on.

\n", - "linenr": 563, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-unlock", - "shortDoc": "Unlock all drag and drop functionality ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - - ], - "name": "unlock", - "owner": "Ext.dd.DragDropManager", - "doc": "

Unlock all drag and drop functionality

\n", - "linenr": 214, - "return": { - "type": "void", - "doc": "\n" - }, - "html_filename": "DragDropManager.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "DragDropManager.html#Ext-dd-DragDropManager-method-verifyEl", - "shortDoc": "This checks to make sure an element exists and is in the DOM. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "params": [ - { - "type": "HTMLElement", - "optional": false, - "doc": "

the element to check

\n", - "name": "el" - } - ], - "name": "verifyEl", - "owner": "Ext.dd.DragDropManager", - "doc": "

This checks to make sure an element exists and is in the DOM. The\nmain purpose is to handle cases where innerHTML is used to remove\ndrag and drop objects from the DOM. IE provides an 'unspecified\nerror' when trying to access the offsetParent of such an element

\n", - "linenr": 876, - "return": { - "type": "boolean", - "doc": "

true if the element looks usable

\n" - }, - "html_filename": "DragDropManager.html" - } - ], - "property": [ - { - "type": "int", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDropManager.html#Ext-dd-DragDropManager-property-INTERSECT", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "name": "INTERSECT", - "owner": "Ext.dd.DragDropManager", - "doc": "

In intersect mode, drag and drop interaction is defined by the\noverlap of two or more drag and drop objects.

\n", - "linenr": 143, - "html_filename": "DragDropManager.html" - }, - { - "type": "int", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDropManager.html#Ext-dd-DragDropManager-property-POINT", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "name": "POINT", - "owner": "Ext.dd.DragDropManager", - "doc": "

In point mode, drag and drop interaction is defined by the\nlocation of the cursor during the drag/drop

\n", - "linenr": 134, - "html_filename": "DragDropManager.html" - }, - { - "type": "int", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDropManager.html#Ext-dd-DragDropManager-property-clickPixelThresh", - "shortDoc": "The number of pixels that the mouse needs to move after the\nmousedown before the drag is initiated. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "name": "clickPixelThresh", - "owner": "Ext.dd.DragDropManager", - "doc": "

The number of pixels that the mouse needs to move after the\nmousedown before the drag is initiated. Default=3;

\n", - "linenr": 247, - "html_filename": "DragDropManager.html" - }, - { - "type": "int", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDropManager.html#Ext-dd-DragDropManager-property-clickTimeThresh", - "shortDoc": "The number of milliseconds after the mousedown event to initiate the\ndrag if we don't get a mouseup event. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "name": "clickTimeThresh", - "owner": "Ext.dd.DragDropManager", - "doc": "

The number of milliseconds after the mousedown event to initiate the\ndrag if we don't get a mouseup event. Default=350

\n", - "linenr": 256, - "html_filename": "DragDropManager.html" - }, - { - "type": "int", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDropManager.html#Ext-dd-DragDropManager-property-mode", - "shortDoc": "The current drag and drop mode. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "name": "mode", - "owner": "Ext.dd.DragDropManager", - "doc": "

The current drag and drop mode. Default: POINT

\n", - "linenr": 152, - "html_filename": "DragDropManager.html" - }, - { - "type": "boolean", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDropManager.html#Ext-dd-DragDropManager-property-preventDefault", - "shortDoc": "Flag to determine if we should prevent the default behavior of the\nevents we define. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "name": "preventDefault", - "owner": "Ext.dd.DragDropManager", - "doc": "

Flag to determine if we should prevent the default behavior of the\nevents we define. By default this is true, but this can be set to\nfalse if you need the default behavior (not recommended)

\n", - "linenr": 86, - "html_filename": "DragDropManager.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

\n\n
Ext.define('My.Cat', {\n    statics: {\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        alert(this.self.speciesName); / dependent on 'this'\n\n        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": "boolean", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDropManager.html#Ext-dd-DragDropManager-property-stopPropagation", - "shortDoc": "Flag to determine if we should stop the propagation of the events\nwe generate. ...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "name": "stopPropagation", - "owner": "Ext.dd.DragDropManager", - "doc": "

Flag to determine if we should stop the propagation of the events\nwe generate. This is true by default but you may want to set it to\nfalse if the html element contains other features that require the\nmouse click.

\n", - "linenr": 96, - "html_filename": "DragDropManager.html" - }, - { - "type": "boolean", - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "property", - "href": "DragDropManager.html#Ext-dd-DragDropManager-property-useCache", - "shortDoc": "Set useCache to false if you want to force object the lookup of each\ndrag and drop linked element constantly during a...", - "static": true, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "name": "useCache", - "owner": "Ext.dd.DragDropManager", - "doc": "

Set useCache to false if you want to force object the lookup of each\ndrag and drop linked element constantly during a drag.

\n", - "linenr": 238, - "html_filename": "DragDropManager.html" - } - ], - "cssVar": [ - - ], - "cssMixin": [ - - ], - "event": [ - - ] - }, - "singleton": true, - "alias": null, - "superclasses": [ - "Ext.Base" - ], - "protected": false, - "tagname": "class", - "mixins": [ - - ], - "href": "DragDropManager.html#Ext-dd-DragDropManager", - "subclasses": [ - - ], - "static": false, - "author": null, - "component": false, - "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/dd/DragDropManager.js", - "private": false, - "alternateClassNames": [ - "Ext.dd.DragDropMgr", - "Ext.dd.DDM" - ], - "name": "Ext.dd.DragDropManager", - "doc": "

DragDropManager is a singleton that tracks the element interaction for\nall DragDrop items in the window. Generally, you will not call\nthis class directly, but it does have helper methods that could\nbe useful in your DragDrop implementations.

\n", - "mixedInto": [ - - ], - "linenr": 10, - "xtypes": [ - - ], - "html_filename": "DragDropManager.html", - "extends": "Ext.Base" -}); \ No newline at end of file +Ext.data.JsonP.Ext_dd_DragDropManager({"tagname":"class","html":"

Alternate names

Ext.dd.DragDropMgr
Ext.dd.DDM

Hierarchy

Ext.Base
Ext.dd.DragDropManager

Requires

Uses

Files

DragDropManager is a singleton that tracks the element interaction for\nall DragDrop items in the window. Generally, you will not call\nthis class directly, but it does have helper methods that could\nbe useful in your DragDrop implementations.

\n
Defined By

Properties

 

In intersect mode, drag and drop interaction is defined by the\noverlap of two or more drag and drop objects.

\n

In intersect mode, drag and drop interaction is defined by the\noverlap of two or more drag and drop objects.

\n
 

In point mode, drag and drop interaction is defined by the\nlocation of the cursor during the drag/drop

\n

In point mode, drag and drop interaction is defined by the\nlocation of the cursor during the drag/drop

\n
The number of pixels that the mouse needs to move after the\nmousedown before the drag is initiated. ...

The number of pixels that the mouse needs to move after the\nmousedown before the drag is initiated. Default=3;

\n
The number of milliseconds after the mousedown event to initiate the\ndrag if we don't get a mouseup event. ...

The number of milliseconds after the mousedown event to initiate the\ndrag if we don't get a mouseup event. Default=350

\n
The current drag and drop mode. ...

The current drag and drop mode. Default: POINT

\n
Flag to determine if we should prevent the default behavior of the\nevents we define. ...

Flag to determine if we should prevent the default behavior of the\nevents we define. By default this is true, but this can be set to\nfalse if you need the default behavior (not recommended)

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

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

\n\n
Ext.define('My.Cat', {\n    statics: {\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        alert(this.self.speciesName); / dependent on 'this'\n\n        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
Flag to determine if we should stop the propagation of the events\nwe generate. ...

Flag to determine if we should stop the propagation of the events\nwe generate. This is true by default but you may want to set it to\nfalse if the html element contains other features that require the\nmouse click.

\n
Set useCache to false if you want to force object the lookup of each\ndrag and drop linked element constantly during a...

Set useCache to false if you want to force object the lookup of each\ndrag and drop linked element constantly during a drag.

\n
Defined By

Methods

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

Call the original method that was previously overridden with override

\n\n
Ext.define('My.Cat', {\n    constructor: function() {\n        alert(\"I'm a cat!\");\n\n        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

Parameters

  • args : Array/Arguments

    The arguments, either an array or the arguments object

    \n

Returns

  • Object

    Returns the result after calling the overridden method

    \n
( Array/Arguments args ) : Objectprotected
Call the parent's overridden method. ...

Call the parent's overridden method. For example:

\n\n
Ext.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

Parameters

  • args : Array/Arguments

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

    \n

Returns

  • Object

    Returns the result from the superclass' method

    \n
Helper function for getting the best match from the list of drag\nand drop objects returned by the drag and drop event...

Helper function for getting the best match from the list of drag\nand drop objects returned by the drag and drop events when we are\nin INTERSECT mode. It returns either the first object that the\ncursor is over, or the object that has the greatest overlap with\nthe dragged element.

\n

Parameters

Returns

Returns the style property for the DOM element (i.e.,\ndocument.getElById(id).style) ...

Returns the style property for the DOM element (i.e.,\ndocument.getElById(id).style)

\n

Parameters

  • id : String

    the id of the elment to get

    \n

Returns

  • Object

    The style property of the element

    \n
Returns the DragDrop instance for a given id ...

Returns the DragDrop instance for a given id

\n

Parameters

  • id : String

    the id of the DragDrop object

    \n

Returns

Returns the actual DOM element ...

Returns the actual DOM element

\n

This method has been deprecated

use Ext.lib.Ext.getDom instead

\n

Parameters

  • id : String

    the id of the elment to get

    \n

Returns

Returns a Region object containing the drag and drop element's position\nand size, including the padding configured fo...

Returns a Region object containing the drag and drop element's position\nand size, including the padding configured for it

\n

Parameters

Returns

  • Ext.util.Region

    a Region object representing the total area\nthe element occupies, including any padding\nthe instance is configured for.

    \n
Returns the X position of an html element ...

Returns the X position of an html element

\n

Parameters

  • el : HTMLElement

    the element for which to get the position

    \n

Returns

Returns the Y position of an html element ...

Returns the Y position of an html element

\n

Parameters

  • el : HTMLElement

    the element for which to get the position

    \n

Returns

Returns the drag and drop instances that are in all groups the\npassed in instance belongs to. ...

Returns the drag and drop instances that are in all groups the\npassed in instance belongs to.

\n

Parameters

  • p_oDD : Ext.dd.DragDrop

    the obj to get related data for

    \n
  • bTargetsOnly : Boolean

    if true, only return targetable objs

    \n

Returns

Gets the scrollLeft ...

Gets the scrollLeft

\n

Returns

  • Number

    the document's scrollTop

    \n
Gets the scrollTop ...

Gets the scrollTop

\n

Returns

  • Number

    the document's scrollTop

    \n
Returns the specified element style property ...

Returns the specified element style property

\n

Parameters

  • el : HTMLElement

    the element

    \n
  • styleProp : String

    the style property

    \n

Returns

  • String

    The value of the style property

    \n
Recursively searches the immediate parent and all child nodes for\nthe handle element in order to determine wheter or ...

Recursively searches the immediate parent and all child nodes for\nthe handle element in order to determine wheter or not it was\nclicked.

\n

Parameters

  • node : HTMLElement

    the html element to inspect

    \n
Initialize configuration for this class. ...

Initialize configuration for this class. a typical example:

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

Parameters

Returns

  • Object

    mixins The mixin prototypes as key - value pairs

    \n
Utility function to determine if a given element has been\nregistered as a drag drop item. ...

Utility function to determine if a given element has been\nregistered as a drag drop item.

\n

Parameters

  • id : String

    the element id to check

    \n

Returns

  • Boolean

    true if this element is a DragDrop item,\nfalse otherwise

    \n
Utility function to determine if a given element has been\nregistered as a drag drop handle for the given Drag Drop ob...

Utility function to determine if a given element has been\nregistered as a drag drop handle for the given Drag Drop object.

\n

Parameters

  • id : String

    the element id to check

    \n

Returns

  • Boolean

    true if this element is a DragDrop handle, false\notherwise

    \n
Returns true if the specified dd target is a legal target for\nthe specifice drag obj ...

Returns true if the specified dd target is a legal target for\nthe specifice drag obj

\n

Parameters

Returns

  • Boolean

    true if the target is a legal target for the\ndd obj

    \n
Is drag and drop locked? ...

Is drag and drop locked?

\n

Returns

  • Boolean

    True if drag and drop is locked, false otherwise.

    \n
My goal is to be able to transparently determine if an object is\ntypeof DragDrop, and the exact subclass of DragDrop. ...

My goal is to be able to transparently determine if an object is\ntypeof DragDrop, and the exact subclass of DragDrop. typeof\nreturns \"object\", oDD.constructor.toString() always returns\n\"DragDrop\" and not the name of the subclass. So for now it just\nevaluates a well-known variable in DragDrop.

\n

Parameters

  • the : Object

    object to evaluate

    \n

Returns

  • Boolean

    true if typeof oDD = DragDrop

    \n
Lock all drag and drop functionality ...

Lock all drag and drop functionality

\n
( HTMLElement moveEl, HTMLElement targetEl )
Sets the x/y position of an element to the location of the\ntarget element. ...

Sets the x/y position of an element to the location of the\ntarget element.

\n

Parameters

  • moveEl : HTMLElement

    The element to move

    \n
  • targetEl : HTMLElement

    The position reference element

    \n
Numeric array sort function ...

Numeric array sort function

\n

Parameters

Returns

  • Number

    positive, negative or 0

    \n
Refreshes the cache of the top-left and bottom-right points of the\ndrag and drop objects in the specified group(s). ...

Refreshes the cache of the top-left and bottom-right points of the\ndrag and drop objects in the specified group(s). This is in the\nformat that is stored in the drag and drop instance, so typical\nusage is:\n\nExt.dd.DragDropManager.refreshCache(ddinstance.groups);\n\nAlternatively:\n\nExt.dd.DragDropManager.refreshCache({group1:true, group2:true});\n\n@TODO this really should be an indexed array. Alternatively this\nmethod could accept both.

\n

Parameters

  • groups : Object

    an associative array of groups to refresh

    \n
Each DragDrop instance must be registered with the DragDropManager. ...

Each DragDrop instance must be registered with the DragDropManager.\nThis is executed in DragDrop.init()

\n

Parameters

  • oDD : Ext.dd.DragDrop

    the DragDrop object to register

    \n
  • sGroup : String

    the name of the group this element belongs to

    \n
Each DragDrop handle element must be registered. ...

Each DragDrop handle element must be registered. This is done\nautomatically when executing DragDrop.setHandleElId()

\n

Parameters

  • sDDId : String

    the DragDrop id this element is a handle for

    \n
  • sHandleId : String

    the id of the element that is the drag\nhandle

    \n
Fired when either the drag pixel threshol or the mousedown hold\ntime threshold has been met. ...

Fired when either the drag pixel threshol or the mousedown hold\ntime threshold has been met.

\n

Parameters

  • x : Number

    the X position of the original mousedown

    \n
  • y : Number

    the Y position of the original mousedown

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

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

\n\n
Ext.define('My.Cat', {\n    statics: {\n        totalCreated: 0,\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        var statics = this.statics();\n\n        alert(statics.speciesName);     // always equals to 'Cat' no matter what 'this' refers to\n                                        // equivalent to: My.Cat.speciesName\n\n        alert(this.self.speciesName);   // dependent on 'this'\n\n        statics.totalCreated++;\n\n        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

Returns

Utility to stop event propagation and event default, if these\nfeatures are turned on. ...

Utility to stop event propagation and event default, if these\nfeatures are turned on.

\n

Parameters

  • e : Event

    the event as returned by this.getEvent()

    \n
( HTMLElement n1, HTMLElement n2 )
Swap two nodes. ...

Swap two nodes. In IE, we use the native method, for others we\nemulate the IE behavior

\n

Parameters

  • n1 : HTMLElement

    the first node to swap

    \n
  • n2 : HTMLElement

    the other node to swap

    \n
Unlock all drag and drop functionality ...

Unlock all drag and drop functionality

\n
This checks to make sure an element exists and is in the DOM. ...

This checks to make sure an element exists and is in the DOM. The\nmain purpose is to handle cases where innerHTML is used to remove\ndrag and drop objects from the DOM. IE provides an 'unspecified\nerror' when trying to access the offsetParent of such an element

\n

Parameters

  • el : HTMLElement

    the element to check

    \n

Returns

  • Boolean

    true if the element looks usable

    \n
","allMixins":[],"meta":{},"requires":["Ext.util.Region"],"deprecated":null,"extends":"Ext.Base","inheritable":false,"static":false,"superclasses":["Ext.Base","Ext.dd.DragDropManager"],"singleton":true,"code_type":"ext_define","alias":null,"statics":{"property":[],"css_var":[],"css_mixin":[],"cfg":[],"method":[],"event":[]},"subclasses":[],"uses":["Ext.tip.QuickTipManager"],"protected":false,"mixins":[],"members":{"property":[{"tagname":"property","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":null,"required":null,"protected":false,"name":"INTERSECT","id":"property-INTERSECT"},{"tagname":"property","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":null,"required":null,"protected":false,"name":"POINT","id":"property-POINT"},{"tagname":"property","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":null,"required":null,"protected":false,"name":"clickPixelThresh","id":"property-clickPixelThresh"},{"tagname":"property","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":null,"required":null,"protected":false,"name":"clickTimeThresh","id":"property-clickTimeThresh"},{"tagname":"property","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":null,"required":null,"protected":false,"name":"mode","id":"property-mode"},{"tagname":"property","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":null,"required":null,"protected":false,"name":"preventDefault","id":"property-preventDefault"},{"tagname":"property","deprecated":null,"static":false,"owner":"Ext.Base","template":null,"required":null,"protected":true,"name":"self","id":"property-self"},{"tagname":"property","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":null,"required":null,"protected":false,"name":"stopPropagation","id":"property-stopPropagation"},{"tagname":"property","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":null,"required":null,"protected":false,"name":"useCache","id":"property-useCache"}],"css_var":[],"css_mixin":[],"cfg":[],"method":[{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Base","template":false,"required":null,"protected":true,"name":"callOverridden","id":"method-callOverridden"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Base","template":false,"required":null,"protected":true,"name":"callParent","id":"method-callParent"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"getBestMatch","id":"method-getBestMatch"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"getCss","id":"method-getCss"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"getDDById","id":"method-getDDById"},{"tagname":"method","deprecated":{"doc":null,"tagname":"deprecated","text":"

use Ext.lib.Ext.getDom instead

\n","version":null},"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"getElement","id":"method-getElement"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"getLocation","id":"method-getLocation"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"getPosX","id":"method-getPosX"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"getPosY","id":"method-getPosY"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"getRelated","id":"method-getRelated"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"getScrollLeft","id":"method-getScrollLeft"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"getScrollTop","id":"method-getScrollTop"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"getStyle","id":"method-getStyle"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"handleWasClicked","id":"method-handleWasClicked"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Base","template":false,"required":null,"protected":true,"name":"initConfig","id":"method-initConfig"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"isDragDrop","id":"method-isDragDrop"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"isHandle","id":"method-isHandle"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"isLegalTarget","id":"method-isLegalTarget"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"isLocked","id":"method-isLocked"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"isTypeOfDD","id":"method-isTypeOfDD"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"lock","id":"method-lock"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"moveToEl","id":"method-moveToEl"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"numericSort","id":"method-numericSort"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"refreshCache","id":"method-refreshCache"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"regDragDrop","id":"method-regDragDrop"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"regHandle","id":"method-regHandle"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"startDrag","id":"method-startDrag"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Base","template":false,"required":null,"protected":true,"name":"statics","id":"method-statics"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"stopEvent","id":"method-stopEvent"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"swapNode","id":"method-swapNode"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"unlock","id":"method-unlock"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.dd.DragDropManager","template":false,"required":null,"protected":false,"name":"verifyEl","id":"method-verifyEl"}],"event":[]},"private":false,"component":false,"name":"Ext.dd.DragDropManager","alternateClassNames":["Ext.dd.DragDropMgr","Ext.dd.DDM"],"id":"class-Ext.dd.DragDropManager","mixedInto":[],"xtypes":{},"files":[{"href":"DragDropManager.html#Ext-dd-DragDropManager","filename":"DragDropManager.js"},{"href":"DragDropManager.html#Ext-dd-DragDropManager","filename":"DragDropManager.js"}]}); \ No newline at end of file