X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/DragZone.html diff --git a/docs/source/DragZone.html b/docs/source/DragZone.html index b923cbe5..031ad8a6 100644 --- a/docs/source/DragZone.html +++ b/docs/source/DragZone.html @@ -1,5 +1,22 @@ -
+ +/** - * @class Ext.dd.DragZone + + + + +\ No newline at end of file +The source code + + + + + + +/** + * @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 @@ -52,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. - * @constructor - * @param {Mixed} el The container element - * @param {Object} config */ Ext.define('Ext.dd.DragZone', { extend: 'Ext.dd.DragSource', + /** + * Creates new DragZone. + * @param {Mixed} el The container element + * @param {Object} config + */ constructor : function(el, config){ this.callParent([el, config]); if (this.containerScroll) { @@ -67,7 +86,7 @@ Ext.define('Ext.dd.DragZone', { } }, - /** + /** * This property contains the data representing the dragged object. This data is set up by the implementation * of the {@link #getDragData} method. It must contain a <tt>ddel</tt> property, but can contain * any other data according to the application's needs. @@ -75,12 +94,12 @@ Ext.define('Ext.dd.DragZone', { * @property dragData */ - /** + /** * @cfg {Boolean} containerScroll True to register this container with the Scrollmanager * for auto scrolling during drag operations. */ - /** + /** * Called when a mousedown occurs in this container. Looks in {@link Ext.dd.Registry} * 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 @@ -92,7 +111,7 @@ Ext.define('Ext.dd.DragZone', { return Ext.dd.Registry.getHandleFromEvent(e); }, - /** + /** * Called once drag threshold has been reached to initialize the proxy element. By default, it clones the * this.dragData.ddel * @param {Number} x The x position of the click on the dragged object @@ -105,7 +124,7 @@ Ext.define('Ext.dd.DragZone', { return true; }, - /** + /** * Called after a repair of an invalid drop. By default, highlights this.dragData.ddel */ afterRepair : function(){ @@ -116,7 +135,7 @@ Ext.define('Ext.dd.DragZone', { me.dragging = false; }, - /** + /** * 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 {EventObject} e The mouse up event @@ -133,4 +152,6 @@ Ext.define('Ext.dd.DragZone', { } } }); -