git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git]
/
docs
/
source
/
DragZone.html
diff --git
a/docs/source/DragZone.html
b/docs/source/DragZone.html
index
91a3f5c
..
3235aab
100644
(file)
--- a/
docs/source/DragZone.html
+++ b/
docs/source/DragZone.html
@@
-3,8
+3,8
@@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
- <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../prettify/prettify.js"></script>
+ <link href="../
resources/
prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../
resources/
prettify/prettify.js"></script>
<style type="text/css">
.highlight { display: block; background-color: #ddd; }
</style>
<style type="text/css">
.highlight { display: block; background-color: #ddd; }
</style>
@@
-15,8
+15,8
@@
</script>
</head>
<body onload="prettyPrint(); highlight();">
</script>
</head>
<body onload="prettyPrint(); highlight();">
- <pre class="prettyprint lang-js"><span id='Ext-dd-DragZone
-method-constructor'><span id='Ext-dd-DragZone
'>/**
-</span>
</span>
* @class Ext.dd.DragZone
+ <pre class="prettyprint lang-js"><span id='Ext-dd-DragZone'>/**
+</span> * @class Ext.dd.DragZone
* @extends Ext.dd.DragSource
* <p>This class provides a container DD instance that allows dragging of multiple child source nodes.</p>
* <p>This class does not move the drag target nodes, but a proxy element which may contain
* @extends Ext.dd.DragSource
* <p>This class provides a container DD instance that allows dragging of multiple child source nodes.</p>
* <p>This class does not move the drag target nodes, but a proxy element which may contain
@@
-69,14
+69,16
@@
myDataView.on('render', function(v) {
});</code></pre>
* See the {@link Ext.dd.DropZone DropZone} documentation for details about building a DropZone which
* cooperates with this DragZone.
});</code></pre>
* See the {@link Ext.dd.DropZone DropZone} documentation for details about building a DropZone which
* cooperates with this DragZone.
- * @constructor
- * @param {Mixed} el The container element
- * @param {Object} config
*/
Ext.define('Ext.dd.DragZone', {
extend: 'Ext.dd.DragSource',
*/
Ext.define('Ext.dd.DragZone', {
extend: 'Ext.dd.DragSource',
+<span id='Ext-dd-DragZone-method-constructor'> /**
+</span> * Creates new DragZone.
+ * @param {String/HTMLElement/Ext.Element} el The container element or ID of it.
+ * @param {Object} config
+ */
constructor : function(el, config){
this.callParent([el, config]);
if (this.containerScroll) {
constructor : function(el, config){
this.callParent([el, config]);
if (this.containerScroll) {
@@
-102,7
+104,7
@@
Ext.define('Ext.dd.DragZone', {
* for a valid target to drag based on the mouse down. Override this method
* to provide your own lookup logic (e.g. finding a child by class name). Make sure your returned
* object has a "ddel" attribute (with an HTML Element) for other functions to work.
* for a valid target to drag based on the mouse down. Override this method
* to provide your own lookup logic (e.g. finding a child by class name). Make sure your returned
* object has a "ddel" attribute (with an HTML Element) for other functions to work.
- * @param {Event
Object
} e The mouse down event
+ * @param {Event} e The mouse down event
* @return {Object} The dragData
*/
getDragData : function(e){
* @return {Object} The dragData
*/
getDragData : function(e){
@@
-136,11
+138,11
@@
Ext.define('Ext.dd.DragZone', {
<span id='Ext-dd-DragZone-method-getRepairXY'> /**
</span> * Called before a repair of an invalid drop to get the XY to animate to. By default returns
* the XY of this.dragData.ddel
<span id='Ext-dd-DragZone-method-getRepairXY'> /**
</span> * Called before a repair of an invalid drop to get the XY to animate to. By default returns
* the XY of this.dragData.ddel
- * @param {Event
Object
} e The mouse up event
- * @return {
Array
} The xy location (e.g. [100, 200])
+ * @param {Event} e The mouse up event
+ * @return {
Number[]
} The xy location (e.g. [100, 200])
*/
getRepairXY : function(e){
*/
getRepairXY : function(e){
- return Ext.
core.
Element.fly(this.dragData.ddel).getXY();
+ return Ext.Element.fly(this.dragData.ddel).getXY();
},
destroy : function(){
},
destroy : function(){