X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..refs/heads/master:/docs/source/DropZone.html diff --git a/docs/source/DropZone.html b/docs/source/DropZone.html index 348ea83f..0b2bbe0b 100644 --- a/docs/source/DropZone.html +++ b/docs/source/DropZone.html @@ -1,5 +1,22 @@ -
+ +/** - * @class Ext.dd.DropZone + + + + +\ No newline at end of file +});The source code + + + + + + +/** + * @class Ext.dd.DropZone * @extends Ext.dd.DropTarget This class provides a container DD instance that allows dropping on multiple child target nodes. @@ -63,16 +80,13 @@ For example to make a GridPanel a cooperating target with the example illustrate See the {@link Ext.dd.DragZone DragZone} documentation for details about building a DragZone which cooperates with this DropZone. - * @constructor - * @param {Mixed} el The container element - * @param {Object} config * @markdown */ Ext.define('Ext.dd.DropZone', { extend: 'Ext.dd.DropTarget', requires: ['Ext.dd.Registry'], - /** + /** * Returns a custom data object associated with the DOM node that is the target of the event. By default * this looks up the event target in the {@link Ext.dd.Registry}, although you can override this method to * provide your own custom lookup. @@ -83,7 +97,7 @@ Ext.define('Ext.dd.DropZone', { return Ext.dd.Registry.getTargetFromEvent(e); }, - /** + /** * Called when the DropZone determines that a {@link Ext.dd.DragSource} has entered a drop node * that has either been registered or detected by a configured implementation of {@link #getTargetFromEvent}. * This method has no default implementation and should be overridden to provide @@ -98,7 +112,7 @@ Ext.define('Ext.dd.DropZone', { }, - /** + /** * Called while the DropZone determines that a {@link Ext.dd.DragSource} is over a drop node * that has either been registered or detected by a configured implementation of {@link #getTargetFromEvent}. * The default implementation returns this.dropNotAllowed, so it should be @@ -115,7 +129,7 @@ Ext.define('Ext.dd.DropZone', { return this.dropAllowed; }, - /** + /** * Called when the DropZone determines that a {@link Ext.dd.DragSource} has been dragged out of * the drop node without dropping. This method has no default implementation and should be overridden to provide * node-specific processing if necessary. @@ -129,7 +143,7 @@ Ext.define('Ext.dd.DropZone', { }, - /** + /** * Called when the DropZone determines that a {@link Ext.dd.DragSource} has been dropped onto * the drop node. The default implementation returns false, so it should be overridden to provide the * appropriate processing of the drop event and return true so that the drag source's repair action does not run. @@ -144,7 +158,7 @@ Ext.define('Ext.dd.DropZone', { return false; }, - /** + /** * Called while the DropZone determines that a {@link Ext.dd.DragSource} is being dragged over it, * but not over any of its registered drop nodes. The default implementation returns this.dropNotAllowed, so * it should be overridden to provide the proper feedback if necessary. @@ -158,7 +172,7 @@ Ext.define('Ext.dd.DropZone', { return this.dropNotAllowed; }, - /** + /** * Called when the DropZone determines that a {@link Ext.dd.DragSource} has been dropped on it, * but not on any of its registered drop nodes. The default implementation returns false, so it should be * overridden to provide the appropriate processing of the drop event if you need the drop zone itself to @@ -172,7 +186,7 @@ Ext.define('Ext.dd.DropZone', { return false; }, - /** + /** * The function a {@link Ext.dd.DragSource} calls once to notify this drop zone that the source is now over * the zone. The default implementation returns this.dropNotAllowed and expects that only registered drop * nodes can process drag drop operations, so if you need the drop zone itself to be able to process drops @@ -187,7 +201,7 @@ Ext.define('Ext.dd.DropZone', { return this.dropNotAllowed; }, - /** + /** * The function a {@link Ext.dd.DragSource} calls continuously while it is being dragged over the drop zone. * This method will be called on every mouse movement while the drag source is over the drop zone. * It will call {@link #onNodeOver} while the drag source is over a registered node, and will also automatically @@ -219,7 +233,7 @@ Ext.define('Ext.dd.DropZone', { return this.onNodeOver(n, dd, e, data); }, - /** + /** * The function a {@link Ext.dd.DragSource} calls once to notify this drop zone that the source has been dragged * out of the zone without dropping. If the drag source is currently over a registered node, the notification * will be delegated to {@link #onNodeOut} for node-specific handling, otherwise it will be ignored. @@ -234,7 +248,7 @@ Ext.define('Ext.dd.DropZone', { } }, - /** + /** * The function a {@link Ext.dd.DragSource} calls once to notify this drop zone that the dragged item has * been dropped on it. The drag zone will look up the target node based on the event passed in, and if there * is a node registered for that event, it will delegate to {@link #onNodeDrop} for node-specific handling, @@ -259,4 +273,6 @@ Ext.define('Ext.dd.DropZone', { triggerCacheRefresh : function() { Ext.dd.DDM.refreshCache(this.groups); } -});