Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / api / Ext.dd.DropZone.html
1 <!DOCTYPE html><html><head><title>Ext.dd.DropZone | Ext JS 4.0 Documentation</title><script type="text/javascript" src="../ext-all.js"></script><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../scrollbars.css" type="text/css"><link rel="stylesheet" href="../docs.css" type="text/css"><link id="styleCss" rel="stylesheet" href="../style.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script><link rel="stylesheet" href="../prettify.css" type="text/css"><!-- link(rel: 'stylesheet', href: req.baseURL + '/css/ext4.css', type: 'text/css')--><link rel="shortcut icon" type="image/ico" href="../favicon.ico"><!--[if IE]>
2 <style type="text/css">.head-band { display: none; }
3 .header { border: 0; top: 0; left: 0px; background: url(../header.gif) repeat-x; }
4 .doc-tab .members .member a.more { background-color: #efefef; }
5 </style><link rel="stylesheet" href="/new/css/ie.css" type="text/css"><![endif]-->
6 </head><body id="ext-body" class="iScroll"><div id="notice" class="notice">For up to date documentation and features, visit 
7 <a href="http://docs.sencha.com/ext-js/4-0">http://docs.sencha.com/ext-js/4-0</a></div><div class="wrapper"><div class="head-band"></div><div class="header"><h2><a href="../index.html">Sencha Documentation</a></h2></div><div id="search"><form><input type="text" placeholder="Search" id="search-field" autocomplete="off" name="q"></form><div id="search-box"></div></div><div id="treePanel"></div><div id="container"><script type="text/javascript">
8
9     req = {
10         liveURL: '.',
11         standAloneMode: true,
12         origDocClass: 'Ext.dd.DropZone',
13         docClass: 'Ext.dd.DropZone',
14         docReq: 'Ext.dd.DropZone',
15         version: '4.0',
16         baseURL: '.',
17         baseDocURL: '.',
18         baseProdURL: '.'
19     };
20
21     clsInfo = {};
22
23
24
25 </script>
26
27 <script type="text/javascript" src="../search.js"></script>
28 <!--script type="text/javascript" src="/new/javascripts/app/examples.js"></script-->
29 <script type="text/javascript" src="../class_tree.js"></script>
30 <script type="text/javascript" src="../class_doc.js"></script>
31 <script type="text/javascript">
32     req.source = 'DropZone.html#Ext-dd.DropZone';
33     clsInfo = {"methods":["DropZone","addInvalidHandleClass","addInvalidHandleId","addInvalidHandleType","addToGroup","applyConfig","clearConstraints","clearTicks","constrainTo","endDrag","getDragEl","getEl","getTargetFromEvent","init","initTarget","isLocked","isValidHandleChild","lock","notifyDrop","notifyEnter","notifyOut","notifyOver","onAvailable","onContainerDrop","onContainerOver","onDrag","onDragDrop","onDragEnter","onDragOut","onDragOver","onInvalidDrop","onMouseDown","onMouseUp","onNodeDrop","onNodeEnter","onNodeOut","onNodeOver","removeFromGroup","removeInvalidHandleClass","removeInvalidHandleId","removeInvalidHandleType","resetConstraints","setDragElId","setHandleElId","setInitPosition","setOuterHandleElId","setPadding","setXConstraint","setYConstraint","startDrag","toString","unlock","unreg"],"cfgs":["ddGroup","dropAllowed","dropNotAllowed","overClass"],"properties":["available","config","defaultPadding","groups","hasOuterHandles","id","ignoreSelf","invalidHandleClasses","invalidHandleIds","invalidHandleTypes","isTarget","maintainOffset","moveOnly","padding","primaryButtonOnly","xTicks","yTicks"],"events":[],"subclasses":["Ext.grid.header.DropZone","Ext.view.DropZone"]};
34     Ext.onReady(function() {
35         Ext.create('Docs.classPanel');
36     });
37 </script><div id="top-block" class="top-block"><h1 id="clsTitle" class="cls"><a href="../source/DropZone.html#Ext-dd.DropZone" target="_blank">Ext.dd.DropZone</a></h1></div><div id="docContent"><div id="doc-overview-content"><div class="lft"><pre class="subclasses"><h4>Hierarchy</h4><div class="subclass f"><a href="Ext.dd.DragDrop.html" rel="Ext.dd.DragDrop" class="cls docClass">Ext.dd.DragDrop</a><div class="subclass"><a href="Ext.dd.DDTarget.html" rel="Ext.dd.DDTarget" class="cls docClass">Ext.dd.DDTarget</a><div class="subclass"><a href="Ext.dd.DropTarget.html" rel="Ext.dd.DropTarget" class="cls docClass">Ext.dd.DropTarget</a><div class="subclass"><strong>Ext.dd.DropZone</strong></div></div></div></div></pre><p>This class provides a container DD instance that allows dropping on multiple child target nodes.</p>
38
39 <p>By default, this class requires that child nodes accepting drop are registered with <a href="Ext.dd.Registry.html" rel="Ext.dd.Registry" class="docClass">Ext.dd.Registry</a>.
40 However a simpler way to allow a DropZone to manage any number of target elements is to configure the
41 DropZone with an implementation of <a href="Ext.dd.DropZone.html#getTargetFromEvent" rel="Ext.dd.DropZone#getTargetFromEvent" class="docClass">getTargetFromEvent</a> which interrogates the passed
42 mouse event to see if it has taken place within an element, or class of elements. This is easily done
43 by using the event's <a href="Ext.EventObject.html#getTarget" rel="Ext.EventObject#getTarget" class="docClass">getTarget</a> method to identify a node based on a
44 <a href="Ext.DomQuery.html" rel="Ext.DomQuery" class="docClass">Ext.DomQuery</a> selector.</p>
45
46 <p>Once the DropZone has detected through calling getTargetFromEvent, that the mouse is over
47 a drop target, that target is passed as the first parameter to <a href="Ext.dd.DropZone.html#onNodeEnter" rel="Ext.dd.DropZone#onNodeEnter" class="docClass">onNodeEnter</a>, <a href="Ext.dd.DropZone.html#onNodeOver" rel="Ext.dd.DropZone#onNodeOver" class="docClass">onNodeOver</a>,
48 <a href="Ext.dd.DropZone.html#onNodeOut" rel="Ext.dd.DropZone#onNodeOut" class="docClass">onNodeOut</a>, <a href="Ext.dd.DropZone.html#onNodeDrop" rel="Ext.dd.DropZone#onNodeDrop" class="docClass">onNodeDrop</a>. You may configure the instance of DropZone with implementations
49 of these methods to provide application-specific behaviour for these events to update both
50 application state, and UI state.</p>
51
52 <p>For example to make a GridPanel a cooperating target with the example illustrated in
53 <a href="Ext.dd.DragZone.html" rel="Ext.dd.DragZone" class="docClass">DragZone</a>, the following technique might be used:</p>
54
55 <pre class="prettyprint"><code>myGridPanel.on('render', function() {
56     myGridPanel.dropZone = new Ext.dd.DropZone(myGridPanel.getView().scroller, {
57
58         // If the mouse is over a grid row, return that node. This is
59         // provided as the "target" parameter in all "onNodeXXXX" node event handling functions
60         getTargetFromEvent: function(e) {
61             return e.getTarget(myGridPanel.getView().rowSelector);
62         },
63
64         // On entry into a target node, highlight that node.
65         onNodeEnter : function(target, dd, e, data){ 
66             Ext.fly(target).addCls('my-row-highlight-class');
67         },
68
69         // On exit from a target node, unhighlight that node.
70         onNodeOut : function(target, dd, e, data){ 
71             Ext.fly(target).removeCls('my-row-highlight-class');
72         },
73
74         // While over a target node, return the default drop allowed class which
75         // places a "tick" icon into the drag proxy.
76         onNodeOver : function(target, dd, e, data){ 
77             return Ext.dd.DropZone.prototype.dropAllowed;
78         },
79
80         // On node drop we can interrogate the target to find the underlying
81         // application object that is the real target of the dragged data.
82         // In this case, it is a Record in the GridPanel's Store.
83         // We can use the data set up by the DragZone's getDragData method to read
84         // any data we decided to attach in the DragZone's getDragData method.
85         onNodeDrop : function(target, dd, e, data){
86             var rowIndex = myGridPanel.getView().findRowIndex(target);
87             var r = myGridPanel.getStore().getAt(rowIndex);
88             Ext.Msg.alert('Drop gesture', 'Dropped Record id ' + data.draggedRecord.id +
89                 ' on Record id ' + r.id);
90             return true;
91         }
92     });
93 }
94 </code></pre>
95
96 <p>See the <a href="Ext.dd.DragZone.html" rel="Ext.dd.DragZone" class="docClass">DragZone</a> documentation for details about building a DragZone which
97 cooperates with this DropZone.</p>
98 <div class="members"><div class="m-cfgs"><div class="definedBy">Defined By</div><a name="configs"></a><h3 class="cfg p">Config Options</h3><h4 class="cfgGroup">Other Configs</h4><div id="config-ddGroup" class="member f inherited"><a href="Ext.dd.DropZone.html#config-ddGroup" rel="config-ddGroup" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropTarget.html" class="definedIn docClass">Ext.dd.DropTarget</a><br/><a href="../source/DropTarget.html#Ext-dd.DropTarget-cfg-ddGroup" class="viewSource">view source</a></div><a name="ddGroup"></a><a name="config-ddGroup"></a><a href="Ext.dd.DropZone.html#" rel="config-ddGroup" class="cls expand">ddGroup</a><span> : String</span></div><div class="description"><div class="short">A named drag drop group to which this object belongs.  If a group is specified, then this object will only
99 interact w...</div><div class="long"><p>A named drag drop group to which this object belongs.  If a group is specified, then this object will only
100 interact with other drag drop objects in the same group (defaults to undefined).</p>
101 </div></div></div><div id="config-dropAllowed" class="member inherited"><a href="Ext.dd.DropZone.html#config-dropAllowed" rel="config-dropAllowed" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropTarget.html" class="definedIn docClass">Ext.dd.DropTarget</a><br/><a href="../source/DropTarget.html#Ext-dd.DropTarget-cfg-dropAllowed" class="viewSource">view source</a></div><a name="dropAllowed"></a><a name="config-dropAllowed"></a><a href="Ext.dd.DropZone.html#" rel="config-dropAllowed" class="cls expand">dropAllowed</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").</p>
102 </div><div class="long"><p>The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").</p>
103 </div></div></div><div id="config-dropNotAllowed" class="member inherited"><a href="Ext.dd.DropZone.html#config-dropNotAllowed" rel="config-dropNotAllowed" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropTarget.html" class="definedIn docClass">Ext.dd.DropTarget</a><br/><a href="../source/DropTarget.html#Ext-dd.DropTarget-cfg-dropNotAllowed" class="viewSource">view source</a></div><a name="dropNotAllowed"></a><a name="config-dropNotAllowed"></a><a href="Ext.dd.DropZone.html#" rel="config-dropNotAllowed" class="cls expand">dropNotAllowed</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop").</p>
104 </div><div class="long"><p>The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop").</p>
105 </div></div></div><div id="config-overClass" class="member inherited"><a href="Ext.dd.DropZone.html#config-overClass" rel="config-overClass" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropTarget.html" class="definedIn docClass">Ext.dd.DropTarget</a><br/><a href="../source/DropTarget.html#Ext-dd.DropTarget-cfg-overClass" class="viewSource">view source</a></div><a name="overClass"></a><a name="config-overClass"></a><a href="Ext.dd.DropZone.html#" rel="config-overClass" class="cls expand">overClass</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class applied to the drop target element while the drag source is over it (defaults to "").</p>
106 </div><div class="long"><p>The CSS class applied to the drop target element while the drag source is over it (defaults to "").</p>
107 </div></div></div></div><div class="m-properties"><a name="properties"></a><div class="definedBy">Defined By</div><h3 class="prp p">Properties</h3><div id="property-available" class="member f inherited"><a href="Ext.dd.DropZone.html#property-available" rel="property-available" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-available" class="viewSource">view source</a></div><a name="available"></a><a name="property-available"></a><a href="Ext.dd.DropZone.html#" rel="property-available" class="cls expand">available</a><span> : boolean</span></div><div class="description"><div class="short"><p>The available property is false until the linked dom element is accessible.</p>
108 </div><div class="long"><p>The available property is false until the linked dom element is accessible.</p>
109 </div></div></div><div id="property-config" class="member inherited"><a href="Ext.dd.DropZone.html#property-config" rel="property-config" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-config" class="viewSource">view source</a></div><a name="config"></a><a name="property-config"></a><a href="Ext.dd.DropZone.html#" rel="property-config" class="cls expand">config</a><span> : object</span></div><div class="description"><div class="short"><p>Configuration attributes passed into the constructor</p>
110 </div><div class="long"><p>Configuration attributes passed into the constructor</p>
111 </div></div></div><div id="property-defaultPadding" class="member inherited"><a href="Ext.dd.DropZone.html#property-defaultPadding" rel="property-defaultPadding" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-defaultPadding" class="viewSource">view source</a></div><a name="defaultPadding"></a><a name="property-defaultPadding"></a><a href="Ext.dd.DropZone.html#" rel="property-defaultPadding" class="cls expand">defaultPadding</a><span> : Object</span></div><div class="description"><div class="short"><p>Provides default constraint padding to "constrainTo" elements (defaults to {left: 0, right:0, top:0, bottom:0}).</p>
112 </div><div class="long"><p>Provides default constraint padding to "constrainTo" elements (defaults to {left: 0, right:0, top:0, bottom:0}).</p>
113 </div></div></div><div id="property-groups" class="member inherited"><a href="Ext.dd.DropZone.html#property-groups" rel="property-groups" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-groups" class="viewSource">view source</a></div><a name="groups"></a><a name="property-groups"></a><a href="Ext.dd.DropZone.html#" rel="property-groups" class="cls expand">groups</a><span> : object</span></div><div class="description"><div class="short">The group defines a logical collection of DragDrop objects that are
114 related.  Instances only get events when interact...</div><div class="long"><p>The group defines a logical collection of DragDrop objects that are
115 related.  Instances only get events when interacting with other
116 DragDrop object in the same group.  This lets us define multiple
117 groups using a single DragDrop subclass if we want. An object in the format {'group1':true, 'group2':true}</p>
118 </div></div></div><div id="property-hasOuterHandles" class="member inherited"><a href="Ext.dd.DropZone.html#property-hasOuterHandles" rel="property-hasOuterHandles" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-hasOuterHandles" class="viewSource">view source</a></div><a name="hasOuterHandles"></a><a name="property-hasOuterHandles"></a><a href="Ext.dd.DropZone.html#" rel="property-hasOuterHandles" class="cls expand">hasOuterHandles</a><span> : boolean</span></div><div class="description"><div class="short">By default, drags can only be initiated if the mousedown occurs in the
119 region the linked element is.  This is done in...</div><div class="long"><p>By default, drags can only be initiated if the mousedown occurs in the
120 region the linked element is.  This is done in part to work around a
121 bug in some browsers that mis-report the mousedown if the previous
122 mouseup happened outside of the window.  This property is set to true
123 if outer handles are defined. @default false</p>
124 </div></div></div><div id="property-id" class="member inherited"><a href="Ext.dd.DropZone.html#property-id" rel="property-id" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-id" class="viewSource">view source</a></div><a name="id"></a><a name="property-id"></a><a href="Ext.dd.DropZone.html#" rel="property-id" class="cls expand">id</a><span> : String</span></div><div class="description"><div class="short">The id of the element associated with this object.  This is what we
125 refer to as the "linked element" because the size...</div><div class="long"><p>The id of the element associated with this object.  This is what we
126 refer to as the "linked element" because the size and position of
127 this element is used to determine when the drag and drop objects have
128 interacted.</p>
129 </div></div></div><div id="property-ignoreSelf" class="member inherited"><a href="Ext.dd.DropZone.html#property-ignoreSelf" rel="property-ignoreSelf" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-ignoreSelf" class="viewSource">view source</a></div><a name="ignoreSelf"></a><a name="property-ignoreSelf"></a><a href="Ext.dd.DropZone.html#" rel="property-ignoreSelf" class="cls expand">ignoreSelf</a><span> : Boolean</span></div><div class="description"><div class="short">Set to false to enable a DragDrop object to fire drag events while dragging
130 over its own Element. Defaults to true - ...</div><div class="long"><p>Set to false to enable a DragDrop object to fire drag events while dragging
131 over its own Element. Defaults to true - DragDrop objects do not by default
132 fire drag events to themselves.</p>
133 </div></div></div><div id="property-invalidHandleClasses" class="member inherited"><a href="Ext.dd.DropZone.html#property-invalidHandleClasses" rel="property-invalidHandleClasses" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-invalidHandleClasses" class="viewSource">view source</a></div><a name="invalidHandleClasses"></a><a name="property-invalidHandleClasses"></a><a href="Ext.dd.DropZone.html#" rel="property-invalidHandleClasses" class="cls expand">invalidHandleClasses</a><span> : Array</span></div><div class="description"><div class="short"><p>An Array of CSS class names for elements to be considered in valid as drag handles.</p>
134 </div><div class="long"><p>An Array of CSS class names for elements to be considered in valid as drag handles.</p>
135 </div></div></div><div id="property-invalidHandleIds" class="member inherited"><a href="Ext.dd.DropZone.html#property-invalidHandleIds" rel="property-invalidHandleIds" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-invalidHandleIds" class="viewSource">view source</a></div><a name="invalidHandleIds"></a><a name="property-invalidHandleIds"></a><a href="Ext.dd.DropZone.html#" rel="property-invalidHandleIds" class="cls expand">invalidHandleIds</a><span> : Object</span></div><div class="description"><div class="short">An object who's property names identify the IDs of elements to be considered invalid as drag handles.
136 A non-null prop...</div><div class="long"><p>An object who's property names identify the IDs of elements to be considered invalid as drag handles.
137 A non-null property value identifies the ID as invalid. For example, to prevent
138 dragging from being initiated on element ID "foo", use:</p>
139
140 <pre><code>{
141     foo: true
142 }</code></pre>
143
144 </div></div></div><div id="property-invalidHandleTypes" class="member inherited"><a href="Ext.dd.DropZone.html#property-invalidHandleTypes" rel="property-invalidHandleTypes" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-invalidHandleTypes" class="viewSource">view source</a></div><a name="invalidHandleTypes"></a><a name="property-invalidHandleTypes"></a><a href="Ext.dd.DropZone.html#" rel="property-invalidHandleTypes" class="cls expand">invalidHandleTypes</a><span> : Object</span></div><div class="description"><div class="short">An object who's property names identify HTML tags to be considered invalid as drag handles.
145 A non-null property value...</div><div class="long"><p>An object who's property names identify HTML tags to be considered invalid as drag handles.
146 A non-null property value identifies the tag as invalid. Defaults to the
147 following value which prevents drag operations from being initiated by &lt;a> elements:</p>
148
149 <pre><code>{
150     A: "A"
151 }</code></pre>
152
153 </div></div></div><div id="property-isTarget" class="member inherited"><a href="Ext.dd.DropZone.html#property-isTarget" rel="property-isTarget" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-isTarget" class="viewSource">view source</a></div><a name="isTarget"></a><a name="property-isTarget"></a><a href="Ext.dd.DropZone.html#" rel="property-isTarget" class="cls expand">isTarget</a><span> : boolean</span></div><div class="description"><div class="short"><p>By default, all instances can be a drop target.  This can be disabled by
154 setting isTarget to false.</p>
155 </div><div class="long"><p>By default, all instances can be a drop target.  This can be disabled by
156 setting isTarget to false.</p>
157 </div></div></div><div id="property-maintainOffset" class="member inherited"><a href="Ext.dd.DropZone.html#property-maintainOffset" rel="property-maintainOffset" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-maintainOffset" class="viewSource">view source</a></div><a name="maintainOffset"></a><a name="property-maintainOffset"></a><a href="Ext.dd.DropZone.html#" rel="property-maintainOffset" class="cls expand">maintainOffset</a><span> : boolean</span></div><div class="description"><div class="short">Maintain offsets when we resetconstraints.  Set to true when you want
158 the position of the element relative to its par...</div><div class="long"><p>Maintain offsets when we resetconstraints.  Set to true when you want
159 the position of the element relative to its parent to stay the same
160 when the page changes</p>
161 </div></div></div><div id="property-moveOnly" class="member inherited"><a href="Ext.dd.DropZone.html#property-moveOnly" rel="property-moveOnly" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-moveOnly" class="viewSource">view source</a></div><a name="moveOnly"></a><a name="property-moveOnly"></a><a href="Ext.dd.DropZone.html#" rel="property-moveOnly" class="cls expand">moveOnly</a><span> : boolean</span></div><div class="description"><div class="short">When set to true, other DD objects in cooperating DDGroups do not receive
162 notification events when this DD object is ...</div><div class="long"><p>When set to true, other DD objects in cooperating DDGroups do not receive
163 notification events when this DD object is dragged over them. Defaults to false.</p>
164 </div></div></div><div id="property-padding" class="member inherited"><a href="Ext.dd.DropZone.html#property-padding" rel="property-padding" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-padding" class="viewSource">view source</a></div><a name="padding"></a><a name="property-padding"></a><a href="Ext.dd.DropZone.html#" rel="property-padding" class="cls expand">padding</a><span> : int[]</span></div><div class="description"><div class="short">The padding configured for this drag and drop object for calculating
165 the drop zone intersection with this object. An ...</div><div class="long"><p>The padding configured for this drag and drop object for calculating
166 the drop zone intersection with this object. An array containing the 4 padding values: [top, right, bottom, left]</p>
167 </div></div></div><div id="property-primaryButtonOnly" class="member inherited"><a href="Ext.dd.DropZone.html#property-primaryButtonOnly" rel="property-primaryButtonOnly" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-primaryButtonOnly" class="viewSource">view source</a></div><a name="primaryButtonOnly"></a><a name="property-primaryButtonOnly"></a><a href="Ext.dd.DropZone.html#" rel="property-primaryButtonOnly" class="cls expand">primaryButtonOnly</a><span> : boolean</span></div><div class="description"><div class="short">By default the drag and drop instance will only respond to the primary
168 button click (left button for a right-handed m...</div><div class="long"><p>By default the drag and drop instance will only respond to the primary
169 button click (left button for a right-handed mouse).  Set to true to
170 allow drag and drop to start with any mouse click that is propogated
171 by the browser</p>
172 </div></div></div><div id="property-xTicks" class="member inherited"><a href="Ext.dd.DropZone.html#property-xTicks" rel="property-xTicks" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-xTicks" class="viewSource">view source</a></div><a name="xTicks"></a><a name="property-xTicks"></a><a href="Ext.dd.DropZone.html#" rel="property-xTicks" class="cls expand">xTicks</a><span> : int[]</span></div><div class="description"><div class="short">Array of pixel locations the element will snap to if we specified a
173 horizontal graduation/interval.  This array is ge...</div><div class="long"><p>Array of pixel locations the element will snap to if we specified a
174 horizontal graduation/interval.  This array is generated automatically
175 when you define a tick interval.</p>
176 </div></div></div><div id="property-yTicks" class="member inherited"><a href="Ext.dd.DropZone.html#property-yTicks" rel="property-yTicks" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-property-yTicks" class="viewSource">view source</a></div><a name="yTicks"></a><a name="property-yTicks"></a><a href="Ext.dd.DropZone.html#" rel="property-yTicks" class="cls expand">yTicks</a><span> : int[]</span></div><div class="description"><div class="short">Array of pixel locations the element will snap to if we specified a
177 vertical graduation/interval.  This array is gene...</div><div class="long"><p>Array of pixel locations the element will snap to if we specified a
178 vertical graduation/interval.  This array is generated automatically
179 when you define a tick interval.</p>
180 </div></div></div></div><div class="m-methods"><a name="methods"></a><div class="definedBy">Defined By</div><h3 class="mth p">Methods</h3><div id="method-DropZone" class="member f ni"><a href="Ext.dd.DropZone.html#method-DropZone" rel="method-DropZone" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropZone.html" class="definedIn docClass">Ext.dd.DropZone</a><br/><a href="../source/DropZone.html#Ext-dd.DropZone-method-constructor" class="viewSource">view source</a></div><a name="DropZone"></a><a name="method-DropZone"></a><a href="Ext.dd.DropZone.html#" rel="method-DropZone" class="cls expand">DropZone</a>(
181 <span class="pre">Mixed el, Object config</span>)
182  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
183 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed<div class="sub-desc"><p>The container element</p>
184 </div></li><li><span class="pre">config</span> : Object<div class="sub-desc">
185 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
186 </li></ul></div></div></div><div id="method-addInvalidHandleClass" class="member inherited"><a href="Ext.dd.DropZone.html#method-addInvalidHandleClass" rel="method-addInvalidHandleClass" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-addInvalidHandleClass" class="viewSource">view source</a></div><a name="addInvalidHandleClass"></a><a name="method-addInvalidHandleClass"></a><a href="Ext.dd.DropZone.html#" rel="method-addInvalidHandleClass" class="cls expand">addInvalidHandleClass</a>(
187 <span class="pre">string cssClass</span>)
188  : void</div><div class="description"><div class="short"><p>Lets you specify a css class of elements that will not initiate a drag</p>
189 </div><div class="long"><p>Lets you specify a css class of elements that will not initiate a drag</p>
190 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cssClass</span> : string<div class="sub-desc"><p>the class of the elements you wish to ignore</p>
191 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
192 </li></ul></div></div></div><div id="method-addInvalidHandleId" class="member inherited"><a href="Ext.dd.DropZone.html#method-addInvalidHandleId" rel="method-addInvalidHandleId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-addInvalidHandleId" class="viewSource">view source</a></div><a name="addInvalidHandleId"></a><a name="method-addInvalidHandleId"></a><a href="Ext.dd.DropZone.html#" rel="method-addInvalidHandleId" class="cls expand">addInvalidHandleId</a>(
193 <span class="pre">string id</span>)
194  : void</div><div class="description"><div class="short"><p>Lets you to specify an element id for a child of a drag handle
195 that should not initiate a drag</p>
196 </div><div class="long"><p>Lets you to specify an element id for a child of a drag handle
197 that should not initiate a drag</p>
198 <h3 class="pa">Parameters</h3><ul><li><span class="pre">id</span> : string<div class="sub-desc"><p>the element id of the element you wish to ignore</p>
199 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
200 </li></ul></div></div></div><div id="method-addInvalidHandleType" class="member inherited"><a href="Ext.dd.DropZone.html#method-addInvalidHandleType" rel="method-addInvalidHandleType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-addInvalidHandleType" class="viewSource">view source</a></div><a name="addInvalidHandleType"></a><a name="method-addInvalidHandleType"></a><a href="Ext.dd.DropZone.html#" rel="method-addInvalidHandleType" class="cls expand">addInvalidHandleType</a>(
201 <span class="pre">string tagName</span>)
202  : void</div><div class="description"><div class="short">Allows you to specify a tag name that should not start a drag operation
203 when clicked.  This is designed to facilitate...</div><div class="long"><p>Allows you to specify a tag name that should not start a drag operation
204 when clicked.  This is designed to facilitate embedding links within a
205 drag handle that do something other than start the drag.</p>
206 <h3 class="pa">Parameters</h3><ul><li><span class="pre">tagName</span> : string<div class="sub-desc"><p>the type of element to exclude</p>
207 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
208 </li></ul></div></div></div><div id="method-addToGroup" class="member inherited"><a href="Ext.dd.DropZone.html#method-addToGroup" rel="method-addToGroup" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-addToGroup" class="viewSource">view source</a></div><a name="addToGroup"></a><a name="method-addToGroup"></a><a href="Ext.dd.DropZone.html#" rel="method-addToGroup" class="cls expand">addToGroup</a>(
209 <span class="pre">Object sGroup</span>)
210  : void</div><div class="description"><div class="short">Add this instance to a group of related drag/drop objects.  All
211 instances belong to at least one group, and can belon...</div><div class="long"><p>Add this instance to a group of related drag/drop objects.  All
212 instances belong to at least one group, and can belong to as many
213 groups as needed.</p>
214 <h3 class="pa">Parameters</h3><ul><li><span class="pre">sGroup</span> : Object<div class="sub-desc"><p>{string} the name of the group</p>
215 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
216 </li></ul></div></div></div><div id="method-applyConfig" class="member inherited"><a href="Ext.dd.DropZone.html#method-applyConfig" rel="method-applyConfig" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-applyConfig" class="viewSource">view source</a></div><a name="applyConfig"></a><a name="method-applyConfig"></a><a href="Ext.dd.DropZone.html#" rel="method-applyConfig" class="cls expand">applyConfig</a> : void</div><div class="description"><div class="short">Applies the configuration parameters that were passed into the constructor.
217 This is supposed to happen at each level ...</div><div class="long"><p>Applies the configuration parameters that were passed into the constructor.
218 This is supposed to happen at each level through the inheritance chain.  So
219 a DDProxy implentation will execute apply config on DDProxy, DD, and
220 DragDrop in order to get all of the parameters that are available in
221 each object.</p>
222 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
223 </li></ul></div></div></div><div id="method-clearConstraints" class="member inherited"><a href="Ext.dd.DropZone.html#method-clearConstraints" rel="method-clearConstraints" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-clearConstraints" class="viewSource">view source</a></div><a name="clearConstraints"></a><a name="method-clearConstraints"></a><a href="Ext.dd.DropZone.html#" rel="method-clearConstraints" class="cls expand">clearConstraints</a> : void</div><div class="description"><div class="short">Clears any constraints applied to this instance.  Also clears ticks
224 since they can't exist independent of a constrain...</div><div class="long"><p>Clears any constraints applied to this instance.  Also clears ticks
225 since they can't exist independent of a constraint at this time.</p>
226 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
227 </li></ul></div></div></div><div id="method-clearTicks" class="member inherited"><a href="Ext.dd.DropZone.html#method-clearTicks" rel="method-clearTicks" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-clearTicks" class="viewSource">view source</a></div><a name="clearTicks"></a><a name="method-clearTicks"></a><a href="Ext.dd.DropZone.html#" rel="method-clearTicks" class="cls expand">clearTicks</a> : void</div><div class="description"><div class="short"><p>Clears any tick interval defined for this instance</p>
228 </div><div class="long"><p>Clears any tick interval defined for this instance</p>
229 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
230 </li></ul></div></div></div><div id="method-constrainTo" class="member inherited"><a href="Ext.dd.DropZone.html#method-constrainTo" rel="method-constrainTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-constrainTo" class="viewSource">view source</a></div><a name="constrainTo"></a><a name="method-constrainTo"></a><a href="Ext.dd.DropZone.html#" rel="method-constrainTo" class="cls expand">constrainTo</a>(
231 <span class="pre">Mixed constrainTo, [Object/Number pad], [Boolean inContent]</span>)
232  : void</div><div class="description"><div class="short">Initializes the drag drop object's constraints to restrict movement to a certain element.
233
234 Usage:
235
236  var dd = new Ext....</div><div class="long"><p>Initializes the drag drop object's constraints to restrict movement to a certain element.</p>
237
238 <p>Usage:</p>
239
240 <pre><code> var dd = new Ext.dd.DDProxy("dragDiv1", "proxytest",
241                 { dragElId: "existingProxyDiv" });
242  dd.startDrag = function(){
243      this.constrainTo("parent-id");
244  };
245  </code></pre>
246
247
248 <p>Or you can initalize it using the <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> object:</p>
249
250 <pre><code> Ext.get("dragDiv1").initDDProxy("proxytest", {dragElId: "existingProxyDiv"}, {
251      startDrag : function(){
252          this.constrainTo("parent-id");
253      }
254  });
255  </code></pre>
256
257 <h3 class="pa">Parameters</h3><ul><li><span class="pre">constrainTo</span> : Mixed<div class="sub-desc"><p>The element to constrain to.</p>
258 </div></li><li><span class="pre">pad</span> : Object/Number<div class="sub-desc"><p>(optional) Pad provides a way to specify "padding" of the constraints,
259 and can be either a number for symmetrical padding (4 would be equal to {left:4, right:4, top:4, bottom:4}) or
260 an object containing the sides to pad. For example: {right:10, bottom:10}</p>
261 </div></li><li><span class="pre">inContent</span> : Boolean<div class="sub-desc"><p>(optional) Constrain the draggable in the content box of the element (inside padding and borders)</p>
262 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
263 </li></ul></div></div></div><div id="method-endDrag" class="member inherited"><a href="Ext.dd.DropZone.html#method-endDrag" rel="method-endDrag" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-endDrag" class="viewSource">view source</a></div><a name="endDrag"></a><a name="method-endDrag"></a><a href="Ext.dd.DropZone.html#" rel="method-endDrag" class="cls expand">endDrag</a>(
264 <span class="pre">Event e</span>)
265  : void</div><div class="description"><div class="short"><p>Fired when we are done dragging the object</p>
266 </div><div class="long"><p>Fired when we are done dragging the object</p>
267 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mouseup event</p>
268 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
269 </li></ul></div></div></div><div id="method-getDragEl" class="member inherited"><a href="Ext.dd.DropZone.html#method-getDragEl" rel="method-getDragEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-getDragEl" class="viewSource">view source</a></div><a name="getDragEl"></a><a name="method-getDragEl"></a><a href="Ext.dd.DropZone.html#" rel="method-getDragEl" class="cls expand">getDragEl</a> : HTMLElement</div><div class="description"><div class="short">Returns a reference to the actual element to drag.  By default this is
270 the same as the html element, but it can be as...</div><div class="long"><p>Returns a reference to the actual element to drag.  By default this is
271 the same as the html element, but it can be assigned to another
272 element. An example of this can be found in Ext.dd.DDProxy</p>
273 <h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement</span>&nbsp; &nbsp;<p>the html element</p>
274 </li></ul></div></div></div><div id="method-getEl" class="member inherited"><a href="Ext.dd.DropZone.html#method-getEl" rel="method-getEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-getEl" class="viewSource">view source</a></div><a name="getEl"></a><a name="method-getEl"></a><a href="Ext.dd.DropZone.html#" rel="method-getEl" class="cls expand">getEl</a> : HTMLElement</div><div class="description"><div class="short"><p>Returns a reference to the linked element</p>
275 </div><div class="long"><p>Returns a reference to the linked element</p>
276 <h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement</span>&nbsp; &nbsp;<p>the html element</p>
277 </li></ul></div></div></div><div id="method-getTargetFromEvent" class="member ni"><a href="Ext.dd.DropZone.html#method-getTargetFromEvent" rel="method-getTargetFromEvent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropZone.html" class="definedIn docClass">Ext.dd.DropZone</a><br/><a href="../source/DropZone.html#Ext-dd.DropZone-method-getTargetFromEvent" class="viewSource">view source</a></div><a name="getTargetFromEvent"></a><a name="method-getTargetFromEvent"></a><a href="Ext.dd.DropZone.html#" rel="method-getTargetFromEvent" class="cls expand">getTargetFromEvent</a>(
278 <span class="pre">Event e</span>)
279  : Object</div><div class="description"><div class="short">Returns a custom data object associated with the DOM node that is the target of the event.  By default
280 this looks up ...</div><div class="long"><p>Returns a custom data object associated with the DOM node that is the target of the event.  By default
281 this looks up the event target in the <a href="Ext.dd.Registry.html" rel="Ext.dd.Registry" class="docClass">Ext.dd.Registry</a>, although you can override this method to
282 provide your own custom lookup.</p>
283 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
284 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>data The custom data</p>
285 </li></ul></div></div></div><div id="method-init" class="member inherited"><a href="Ext.dd.DropZone.html#method-init" rel="method-init" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-init" class="viewSource">view source</a></div><a name="init"></a><a name="method-init"></a><a href="Ext.dd.DropZone.html#" rel="method-init" class="cls expand">init</a>(
286 <span class="pre">Object id, String sGroup, object config</span>)
287  : void</div><div class="description"><div class="short"><p>Sets up the DragDrop object.  Must be called in the constructor of any
288 <a href="Ext.dd.DragDrop.html" rel="Ext.dd.DragDrop" class="docClass">Ext.dd.DragDrop</a> subclass</p>
289 </div><div class="long"><p>Sets up the DragDrop object.  Must be called in the constructor of any
290 <a href="Ext.dd.DragDrop.html" rel="Ext.dd.DragDrop" class="docClass">Ext.dd.DragDrop</a> subclass</p>
291 <h3 class="pa">Parameters</h3><ul><li><span class="pre">id</span> : Object<div class="sub-desc"><p>the id of the linked element</p>
292 </div></li><li><span class="pre">sGroup</span> : String<div class="sub-desc"><p>the group of related items</p>
293 </div></li><li><span class="pre">config</span> : object<div class="sub-desc"><p>configuration attributes</p>
294 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
295 </li></ul></div></div></div><div id="method-initTarget" class="member inherited"><a href="Ext.dd.DropZone.html#method-initTarget" rel="method-initTarget" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-initTarget" class="viewSource">view source</a></div><a name="initTarget"></a><a name="method-initTarget"></a><a href="Ext.dd.DropZone.html#" rel="method-initTarget" class="cls expand">initTarget</a>(
296 <span class="pre">Object id, String sGroup, object config</span>)
297  : void</div><div class="description"><div class="short"><p>Initializes Targeting functionality only... the object does not
298 get a mousedown handler.</p>
299 </div><div class="long"><p>Initializes Targeting functionality only... the object does not
300 get a mousedown handler.</p>
301 <h3 class="pa">Parameters</h3><ul><li><span class="pre">id</span> : Object<div class="sub-desc"><p>the id of the linked element</p>
302 </div></li><li><span class="pre">sGroup</span> : String<div class="sub-desc"><p>the group of related items</p>
303 </div></li><li><span class="pre">config</span> : object<div class="sub-desc"><p>configuration attributes</p>
304 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
305 </li></ul></div></div></div><div id="method-isLocked" class="member inherited"><a href="Ext.dd.DropZone.html#method-isLocked" rel="method-isLocked" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-isLocked" class="viewSource">view source</a></div><a name="isLocked"></a><a name="method-isLocked"></a><a href="Ext.dd.DropZone.html#" rel="method-isLocked" class="cls expand">isLocked</a> : boolean</div><div class="description"><div class="short">Returns true if this instance is locked, or the drag drop mgr is locked
306 (meaning that all drag/drop is disabled on th...</div><div class="long"><p>Returns true if this instance is locked, or the drag drop mgr is locked
307 (meaning that all drag/drop is disabled on the page.)</p>
308 <h3 class="pa">Returns</h3><ul><li><span class="pre">boolean</span>&nbsp; &nbsp;<p>true if this obj or all drag/drop is locked, else
309 false</p>
310 </li></ul></div></div></div><div id="method-isValidHandleChild" class="member inherited"><a href="Ext.dd.DropZone.html#method-isValidHandleChild" rel="method-isValidHandleChild" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-isValidHandleChild" class="viewSource">view source</a></div><a name="isValidHandleChild"></a><a name="method-isValidHandleChild"></a><a href="Ext.dd.DropZone.html#" rel="method-isValidHandleChild" class="cls expand">isValidHandleChild</a>(
311 <span class="pre">HTMLElement node</span>)
312  : boolean</div><div class="description"><div class="short"><p>Checks the tag exclusion list to see if this click should be ignored</p>
313 </div><div class="long"><p>Checks the tag exclusion list to see if this click should be ignored</p>
314 <h3 class="pa">Parameters</h3><ul><li><span class="pre">node</span> : HTMLElement<div class="sub-desc"><p>the HTMLElement to evaluate</p>
315 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">boolean</span>&nbsp; &nbsp;<p>true if this is a valid tag type, false if not</p>
316 </li></ul></div></div></div><div id="method-lock" class="member inherited"><a href="Ext.dd.DropZone.html#method-lock" rel="method-lock" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-lock" class="viewSource">view source</a></div><a name="lock"></a><a name="method-lock"></a><a href="Ext.dd.DropZone.html#" rel="method-lock" class="cls expand">lock</a> : void</div><div class="description"><div class="short"><p>Lock this instance</p>
317 </div><div class="long"><p>Lock this instance</p>
318 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
319 </li></ul></div></div></div><div id="method-notifyDrop" class="member ni"><a href="Ext.dd.DropZone.html#method-notifyDrop" rel="method-notifyDrop" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropZone.html" class="definedIn docClass">Ext.dd.DropZone</a><br/><a href="../source/DropZone.html#Ext-dd.DropZone-method-notifyDrop" class="viewSource">view source</a></div><a name="notifyDrop"></a><a name="method-notifyDrop"></a><a href="Ext.dd.DropZone.html#" rel="method-notifyDrop" class="cls expand">notifyDrop</a>(
320 <span class="pre">Ext.dd.DragSource source, Event e, Object data</span>)
321  : Boolean</div><div class="description"><div class="short">The function a Ext.dd.DragSource calls once to notify this drop zone that the dragged item has
322 been dropped on it.  T...</div><div class="long"><p>The function a <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a> calls once to notify this drop zone that the dragged item has
323 been dropped on it.  The drag zone will look up the target node based on the event passed in, and if there
324 is a node registered for that event, it will delegate to <a href="Ext.dd.DropZone.html#onNodeDrop" rel="Ext.dd.DropZone#onNodeDrop" class="docClass">onNodeDrop</a> for node-specific handling,
325 otherwise it will call <a href="Ext.dd.DropZone.html#onContainerDrop" rel="Ext.dd.DropZone#onContainerDrop" class="docClass">onContainerDrop</a>.</p>
326 <h3 class="pa">Parameters</h3><ul><li><span class="pre">source</span> : Ext.dd.DragSource<div class="sub-desc"><p>The drag source that was dragged over this drop zone</p>
327 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
328 </div></li><li><span class="pre">data</span> : Object<div class="sub-desc"><p>An object containing arbitrary data supplied by the drag source</p>
329 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>False if the drop was invalid.</p>
330 </li></ul></div></div></div><div id="method-notifyEnter" class="member ni"><a href="Ext.dd.DropZone.html#method-notifyEnter" rel="method-notifyEnter" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropZone.html" class="definedIn docClass">Ext.dd.DropZone</a><br/><a href="../source/DropZone.html#Ext-dd.DropZone-method-notifyEnter" class="viewSource">view source</a></div><a name="notifyEnter"></a><a name="method-notifyEnter"></a><a href="Ext.dd.DropZone.html#" rel="method-notifyEnter" class="cls expand">notifyEnter</a>(
331 <span class="pre">Ext.dd.DragSource source, Event e, Object data</span>)
332  : String</div><div class="description"><div class="short">The function a Ext.dd.DragSource calls once to notify this drop zone that the source is now over
333 the zone.  The defau...</div><div class="long"><p>The function a <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a> calls once to notify this drop zone that the source is now over
334 the zone.  The default implementation returns this.dropNotAllowed and expects that only registered drop
335 nodes can process drag drop operations, so if you need the drop zone itself to be able to process drops
336 you should override this method and provide a custom implementation.</p>
337 <h3 class="pa">Parameters</h3><ul><li><span class="pre">source</span> : Ext.dd.DragSource<div class="sub-desc"><p>The drag source that was dragged over this drop zone</p>
338 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
339 </div></li><li><span class="pre">data</span> : Object<div class="sub-desc"><p>An object containing arbitrary data supplied by the drag source</p>
340 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>status The CSS class that communicates the drop status back to the source so that the
341 underlying <a href="Ext.dd.StatusProxy.html" rel="Ext.dd.StatusProxy" class="docClass">Ext.dd.StatusProxy</a> can be updated</p>
342 </li></ul></div></div></div><div id="method-notifyOut" class="member ni"><a href="Ext.dd.DropZone.html#method-notifyOut" rel="method-notifyOut" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropZone.html" class="definedIn docClass">Ext.dd.DropZone</a><br/><a href="../source/DropZone.html#Ext-dd.DropZone-method-notifyOut" class="viewSource">view source</a></div><a name="notifyOut"></a><a name="method-notifyOut"></a><a href="Ext.dd.DropZone.html#" rel="method-notifyOut" class="cls expand">notifyOut</a>(
343 <span class="pre">Ext.dd.DragSource source, Event e, Object data</span>)
344  : void</div><div class="description"><div class="short">The function a Ext.dd.DragSource calls once to notify this drop zone that the source has been dragged
345 out of the zone...</div><div class="long"><p>The function a <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a> calls once to notify this drop zone that the source has been dragged
346 out of the zone without dropping.  If the drag source is currently over a registered node, the notification
347 will be delegated to <a href="Ext.dd.DropZone.html#onNodeOut" rel="Ext.dd.DropZone#onNodeOut" class="docClass">onNodeOut</a> for node-specific handling, otherwise it will be ignored.</p>
348 <h3 class="pa">Parameters</h3><ul><li><span class="pre">source</span> : Ext.dd.DragSource<div class="sub-desc"><p>The drag source that was dragged over this drop target</p>
349 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
350 </div></li><li><span class="pre">data</span> : Object<div class="sub-desc"><p>An object containing arbitrary data supplied by the drag zone</p>
351 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
352 </li></ul></div></div></div><div id="method-notifyOver" class="member ni"><a href="Ext.dd.DropZone.html#method-notifyOver" rel="method-notifyOver" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropZone.html" class="definedIn docClass">Ext.dd.DropZone</a><br/><a href="../source/DropZone.html#Ext-dd.DropZone-method-notifyOver" class="viewSource">view source</a></div><a name="notifyOver"></a><a name="method-notifyOver"></a><a href="Ext.dd.DropZone.html#" rel="method-notifyOver" class="cls expand">notifyOver</a>(
353 <span class="pre">Ext.dd.DragSource source, Event e, Object data</span>)
354  : String</div><div class="description"><div class="short">The function a Ext.dd.DragSource calls continuously while it is being dragged over the drop zone.
355 This method will be...</div><div class="long"><p>The function a <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a> calls continuously while it is being dragged over the drop zone.
356 This method will be called on every mouse movement while the drag source is over the drop zone.
357 It will call <a href="Ext.dd.DropZone.html#onNodeOver" rel="Ext.dd.DropZone#onNodeOver" class="docClass">onNodeOver</a> while the drag source is over a registered node, and will also automatically
358 delegate to the appropriate node-specific methods as necessary when the drag source enters and exits
359 registered nodes (<a href="Ext.dd.DropZone.html#onNodeEnter" rel="Ext.dd.DropZone#onNodeEnter" class="docClass">onNodeEnter</a>, <a href="Ext.dd.DropZone.html#onNodeOut" rel="Ext.dd.DropZone#onNodeOut" class="docClass">onNodeOut</a>). If the drag source is not currently over a
360 registered node, it will call <a href="Ext.dd.DropZone.html#onContainerOver" rel="Ext.dd.DropZone#onContainerOver" class="docClass">onContainerOver</a>.</p>
361 <h3 class="pa">Parameters</h3><ul><li><span class="pre">source</span> : Ext.dd.DragSource<div class="sub-desc"><p>The drag source that was dragged over this drop zone</p>
362 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
363 </div></li><li><span class="pre">data</span> : Object<div class="sub-desc"><p>An object containing arbitrary data supplied by the drag source</p>
364 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>status The CSS class that communicates the drop status back to the source so that the
365 underlying <a href="Ext.dd.StatusProxy.html" rel="Ext.dd.StatusProxy" class="docClass">Ext.dd.StatusProxy</a> can be updated</p>
366 </li></ul></div></div></div><div id="method-onAvailable" class="member inherited"><a href="Ext.dd.DropZone.html#method-onAvailable" rel="method-onAvailable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-onAvailable" class="viewSource">view source</a></div><a name="onAvailable"></a><a name="method-onAvailable"></a><a href="Ext.dd.DropZone.html#" rel="method-onAvailable" class="cls expand">onAvailable</a> : void</div><div class="description"><div class="short"><p>Override the onAvailable method to do what is needed after the initial
367 position was determined.</p>
368 </div><div class="long"><p>Override the onAvailable method to do what is needed after the initial
369 position was determined.</p>
370 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
371 </li></ul></div></div></div><div id="method-onContainerDrop" class="member ni"><a href="Ext.dd.DropZone.html#method-onContainerDrop" rel="method-onContainerDrop" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropZone.html" class="definedIn docClass">Ext.dd.DropZone</a><br/><a href="../source/DropZone.html#Ext-dd.DropZone-method-onContainerDrop" class="viewSource">view source</a></div><a name="onContainerDrop"></a><a name="method-onContainerDrop"></a><a href="Ext.dd.DropZone.html#" rel="method-onContainerDrop" class="cls expand">onContainerDrop</a>(
372 <span class="pre">Ext.dd.DragSource source, Event e, Object data</span>)
373  : Boolean</div><div class="description"><div class="short">Called when the DropZone determines that a Ext.dd.DragSource has been dropped on it,
374 but not on any of its registered...</div><div class="long"><p>Called when the DropZone determines that a <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a> has been dropped on it,
375 but not on any of its registered drop nodes.  The default implementation returns false, so it should be
376 overridden to provide the appropriate processing of the drop event if you need the drop zone itself to
377 be able to accept drops.  It should return true when valid so that the drag source's repair action does not run.</p>
378 <h3 class="pa">Parameters</h3><ul><li><span class="pre">source</span> : Ext.dd.DragSource<div class="sub-desc"><p>The drag source that was dragged over this drop zone</p>
379 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
380 </div></li><li><span class="pre">data</span> : Object<div class="sub-desc"><p>An object containing arbitrary data supplied by the drag source</p>
381 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if the drop was valid, else false</p>
382 </li></ul></div></div></div><div id="method-onContainerOver" class="member ni"><a href="Ext.dd.DropZone.html#method-onContainerOver" rel="method-onContainerOver" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropZone.html" class="definedIn docClass">Ext.dd.DropZone</a><br/><a href="../source/DropZone.html#Ext-dd.DropZone-method-onContainerOver" class="viewSource">view source</a></div><a name="onContainerOver"></a><a name="method-onContainerOver"></a><a href="Ext.dd.DropZone.html#" rel="method-onContainerOver" class="cls expand">onContainerOver</a>(
383 <span class="pre">Ext.dd.DragSource source, Event e, Object data</span>)
384  : String</div><div class="description"><div class="short">Called while the DropZone determines that a Ext.dd.DragSource is being dragged over it,
385 but not over any of its regis...</div><div class="long"><p>Called while the DropZone determines that a <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a> is being dragged over it,
386 but not over any of its registered drop nodes.  The default implementation returns this.dropNotAllowed, so
387 it should be overridden to provide the proper feedback if necessary.</p>
388 <h3 class="pa">Parameters</h3><ul><li><span class="pre">source</span> : Ext.dd.DragSource<div class="sub-desc"><p>The drag source that was dragged over this drop zone</p>
389 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
390 </div></li><li><span class="pre">data</span> : Object<div class="sub-desc"><p>An object containing arbitrary data supplied by the drag source</p>
391 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>status The CSS class that communicates the drop status back to the source so that the
392 underlying <a href="Ext.dd.StatusProxy.html" rel="Ext.dd.StatusProxy" class="docClass">Ext.dd.StatusProxy</a> can be updated</p>
393 </li></ul></div></div></div><div id="method-onDrag" class="member inherited"><a href="Ext.dd.DropZone.html#method-onDrag" rel="method-onDrag" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-onDrag" class="viewSource">view source</a></div><a name="onDrag"></a><a name="method-onDrag"></a><a href="Ext.dd.DropZone.html#" rel="method-onDrag" class="cls expand">onDrag</a>(
394 <span class="pre">Event e</span>)
395  : void</div><div class="description"><div class="short"><p>Abstract method called during the onMouseMove event while dragging an
396 object.</p>
397 </div><div class="long"><p>Abstract method called during the onMouseMove event while dragging an
398 object.</p>
399 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mousemove event</p>
400 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
401 </li></ul></div></div></div><div id="method-onDragDrop" class="member inherited"><a href="Ext.dd.DropZone.html#method-onDragDrop" rel="method-onDragDrop" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-onDragDrop" class="viewSource">view source</a></div><a name="onDragDrop"></a><a name="method-onDragDrop"></a><a href="Ext.dd.DropZone.html#" rel="method-onDragDrop" class="cls expand">onDragDrop</a>(
402 <span class="pre">Event e, String|DragDrop[] id</span>)
403  : void</div><div class="description"><div class="short"><p>Abstract method called when this item is dropped on another DragDrop
404 obj</p>
405 </div><div class="long"><p>Abstract method called when this item is dropped on another DragDrop
406 obj</p>
407 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mouseup event</p>
408 </div></li><li><span class="pre">id</span> : String|DragDrop[]<div class="sub-desc"><p>In POINT mode, the element
409 id this was dropped on.  In INTERSECT mode, an array of dd items this
410 was dropped on.</p>
411 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
412 </li></ul></div></div></div><div id="method-onDragEnter" class="member inherited"><a href="Ext.dd.DropZone.html#method-onDragEnter" rel="method-onDragEnter" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-onDragEnter" class="viewSource">view source</a></div><a name="onDragEnter"></a><a name="method-onDragEnter"></a><a href="Ext.dd.DropZone.html#" rel="method-onDragEnter" class="cls expand">onDragEnter</a>(
413 <span class="pre">Event e, String|DragDrop[] id</span>)
414  : void</div><div class="description"><div class="short"><p>Abstract method called when this element fist begins hovering over
415 another DragDrop obj</p>
416 </div><div class="long"><p>Abstract method called when this element fist begins hovering over
417 another DragDrop obj</p>
418 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mousemove event</p>
419 </div></li><li><span class="pre">id</span> : String|DragDrop[]<div class="sub-desc"><p>In POINT mode, the element
420 id this is hovering over.  In INTERSECT mode, an array of one or more
421 dragdrop items being hovered over.</p>
422 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
423 </li></ul></div></div></div><div id="method-onDragOut" class="member inherited"><a href="Ext.dd.DropZone.html#method-onDragOut" rel="method-onDragOut" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-onDragOut" class="viewSource">view source</a></div><a name="onDragOut"></a><a name="method-onDragOut"></a><a href="Ext.dd.DropZone.html#" rel="method-onDragOut" class="cls expand">onDragOut</a>(
424 <span class="pre">Event e, String|DragDrop[] id</span>)
425  : void</div><div class="description"><div class="short"><p>Abstract method called when we are no longer hovering over an element</p>
426 </div><div class="long"><p>Abstract method called when we are no longer hovering over an element</p>
427 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mousemove event</p>
428 </div></li><li><span class="pre">id</span> : String|DragDrop[]<div class="sub-desc"><p>In POINT mode, the element
429 id this was hovering over.  In INTERSECT mode, an array of dd items
430 that the mouse is no longer over.</p>
431 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
432 </li></ul></div></div></div><div id="method-onDragOver" class="member inherited"><a href="Ext.dd.DropZone.html#method-onDragOver" rel="method-onDragOver" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-onDragOver" class="viewSource">view source</a></div><a name="onDragOver"></a><a name="method-onDragOver"></a><a href="Ext.dd.DropZone.html#" rel="method-onDragOver" class="cls expand">onDragOver</a>(
433 <span class="pre">Event e, String|DragDrop[] id</span>)
434  : void</div><div class="description"><div class="short"><p>Abstract method called when this element is hovering over another
435 DragDrop obj</p>
436 </div><div class="long"><p>Abstract method called when this element is hovering over another
437 DragDrop obj</p>
438 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mousemove event</p>
439 </div></li><li><span class="pre">id</span> : String|DragDrop[]<div class="sub-desc"><p>In POINT mode, the element
440 id this is hovering over.  In INTERSECT mode, an array of dd items
441 being hovered over.</p>
442 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
443 </li></ul></div></div></div><div id="method-onInvalidDrop" class="member inherited"><a href="Ext.dd.DropZone.html#method-onInvalidDrop" rel="method-onInvalidDrop" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-onInvalidDrop" class="viewSource">view source</a></div><a name="onInvalidDrop"></a><a name="method-onInvalidDrop"></a><a href="Ext.dd.DropZone.html#" rel="method-onInvalidDrop" class="cls expand">onInvalidDrop</a>(
444 <span class="pre">Event e</span>)
445  : void</div><div class="description"><div class="short"><p>Abstract method called when this item is dropped on an area with no
446 drop target</p>
447 </div><div class="long"><p>Abstract method called when this item is dropped on an area with no
448 drop target</p>
449 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mouseup event</p>
450 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
451 </li></ul></div></div></div><div id="method-onMouseDown" class="member inherited"><a href="Ext.dd.DropZone.html#method-onMouseDown" rel="method-onMouseDown" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-onMouseDown" class="viewSource">view source</a></div><a name="onMouseDown"></a><a name="method-onMouseDown"></a><a href="Ext.dd.DropZone.html#" rel="method-onMouseDown" class="cls expand">onMouseDown</a>(
452 <span class="pre">Event e</span>)
453  : void</div><div class="description"><div class="short"><p>Event handler that fires when a drag/drop obj gets a mousedown</p>
454 </div><div class="long"><p>Event handler that fires when a drag/drop obj gets a mousedown</p>
455 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mousedown event</p>
456 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
457 </li></ul></div></div></div><div id="method-onMouseUp" class="member inherited"><a href="Ext.dd.DropZone.html#method-onMouseUp" rel="method-onMouseUp" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-onMouseUp" class="viewSource">view source</a></div><a name="onMouseUp"></a><a name="method-onMouseUp"></a><a href="Ext.dd.DropZone.html#" rel="method-onMouseUp" class="cls expand">onMouseUp</a>(
458 <span class="pre">Event e</span>)
459  : void</div><div class="description"><div class="short"><p>Event handler that fires when a drag/drop obj gets a mouseup</p>
460 </div><div class="long"><p>Event handler that fires when a drag/drop obj gets a mouseup</p>
461 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mouseup event</p>
462 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
463 </li></ul></div></div></div><div id="method-onNodeDrop" class="member ni"><a href="Ext.dd.DropZone.html#method-onNodeDrop" rel="method-onNodeDrop" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropZone.html" class="definedIn docClass">Ext.dd.DropZone</a><br/><a href="../source/DropZone.html#Ext-dd.DropZone-method-onNodeDrop" class="viewSource">view source</a></div><a name="onNodeDrop"></a><a name="method-onNodeDrop"></a><a href="Ext.dd.DropZone.html#" rel="method-onNodeDrop" class="cls expand">onNodeDrop</a>(
464 <span class="pre">Object nodeData, Ext.dd.DragSource source, Event e, Object data</span>)
465  : Boolean</div><div class="description"><div class="short">Called when the DropZone determines that a Ext.dd.DragSource has been dropped onto
466 the drop node.  The default implem...</div><div class="long"><p>Called when the DropZone determines that a <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a> has been dropped onto
467 the drop node.  The default implementation returns false, so it should be overridden to provide the
468 appropriate processing of the drop event and return true so that the drag source's repair action does not run.</p>
469 <h3 class="pa">Parameters</h3><ul><li><span class="pre">nodeData</span> : Object<div class="sub-desc"><p>The custom data associated with the drop node (this is the same value returned from
470 <a href="Ext.dd.DropZone.html#getTargetFromEvent" rel="Ext.dd.DropZone#getTargetFromEvent" class="docClass">getTargetFromEvent</a> for this node)</p>
471 </div></li><li><span class="pre">source</span> : Ext.dd.DragSource<div class="sub-desc"><p>The drag source that was dragged over this drop zone</p>
472 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
473 </div></li><li><span class="pre">data</span> : Object<div class="sub-desc"><p>An object containing arbitrary data supplied by the drag source</p>
474 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if the drop was valid, else false</p>
475 </li></ul></div></div></div><div id="method-onNodeEnter" class="member ni"><a href="Ext.dd.DropZone.html#method-onNodeEnter" rel="method-onNodeEnter" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropZone.html" class="definedIn docClass">Ext.dd.DropZone</a><br/><a href="../source/DropZone.html#Ext-dd.DropZone-method-onNodeEnter" class="viewSource">view source</a></div><a name="onNodeEnter"></a><a name="method-onNodeEnter"></a><a href="Ext.dd.DropZone.html#" rel="method-onNodeEnter" class="cls expand">onNodeEnter</a>(
476 <span class="pre">Object nodeData, Ext.dd.DragSource source, Event e, Object data</span>)
477  : void</div><div class="description"><div class="short">Called when the DropZone determines that a Ext.dd.DragSource has entered a drop node
478 that has either been registered ...</div><div class="long"><p>Called when the DropZone determines that a <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a> has entered a drop node
479 that has either been registered or detected by a configured implementation of <a href="Ext.dd.DropZone.html#getTargetFromEvent" rel="Ext.dd.DropZone#getTargetFromEvent" class="docClass">getTargetFromEvent</a>.
480 This method has no default implementation and should be overridden to provide
481 node-specific processing if necessary.</p>
482 <h3 class="pa">Parameters</h3><ul><li><span class="pre">nodeData</span> : Object<div class="sub-desc"><p>The custom data associated with the drop node (this is the same value returned from
483 <a href="Ext.dd.DropZone.html#getTargetFromEvent" rel="Ext.dd.DropZone#getTargetFromEvent" class="docClass">getTargetFromEvent</a> for this node)</p>
484 </div></li><li><span class="pre">source</span> : Ext.dd.DragSource<div class="sub-desc"><p>The drag source that was dragged over this drop zone</p>
485 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
486 </div></li><li><span class="pre">data</span> : Object<div class="sub-desc"><p>An object containing arbitrary data supplied by the drag source</p>
487 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
488 </li></ul></div></div></div><div id="method-onNodeOut" class="member ni"><a href="Ext.dd.DropZone.html#method-onNodeOut" rel="method-onNodeOut" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropZone.html" class="definedIn docClass">Ext.dd.DropZone</a><br/><a href="../source/DropZone.html#Ext-dd.DropZone-method-onNodeOut" class="viewSource">view source</a></div><a name="onNodeOut"></a><a name="method-onNodeOut"></a><a href="Ext.dd.DropZone.html#" rel="method-onNodeOut" class="cls expand">onNodeOut</a>(
489 <span class="pre">Object nodeData, Ext.dd.DragSource source, Event e, Object data</span>)
490  : void</div><div class="description"><div class="short">Called when the DropZone determines that a Ext.dd.DragSource has been dragged out of
491 the drop node without dropping. ...</div><div class="long"><p>Called when the DropZone determines that a <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a> has been dragged out of
492 the drop node without dropping.  This method has no default implementation and should be overridden to provide
493 node-specific processing if necessary.</p>
494 <h3 class="pa">Parameters</h3><ul><li><span class="pre">nodeData</span> : Object<div class="sub-desc"><p>The custom data associated with the drop node (this is the same value returned from
495 <a href="Ext.dd.DropZone.html#getTargetFromEvent" rel="Ext.dd.DropZone#getTargetFromEvent" class="docClass">getTargetFromEvent</a> for this node)</p>
496 </div></li><li><span class="pre">source</span> : Ext.dd.DragSource<div class="sub-desc"><p>The drag source that was dragged over this drop zone</p>
497 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
498 </div></li><li><span class="pre">data</span> : Object<div class="sub-desc"><p>An object containing arbitrary data supplied by the drag source</p>
499 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
500 </li></ul></div></div></div><div id="method-onNodeOver" class="member ni"><a href="Ext.dd.DropZone.html#method-onNodeOver" rel="method-onNodeOver" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DropZone.html" class="definedIn docClass">Ext.dd.DropZone</a><br/><a href="../source/DropZone.html#Ext-dd.DropZone-method-onNodeOver" class="viewSource">view source</a></div><a name="onNodeOver"></a><a name="method-onNodeOver"></a><a href="Ext.dd.DropZone.html#" rel="method-onNodeOver" class="cls expand">onNodeOver</a>(
501 <span class="pre">Object nodeData, Ext.dd.DragSource source, Event e, Object data</span>)
502  : String</div><div class="description"><div class="short">Called while the DropZone determines that a Ext.dd.DragSource is over a drop node
503 that has either been registered or ...</div><div class="long"><p>Called while the DropZone determines that a <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a> is over a drop node
504 that has either been registered or detected by a configured implementation of <a href="Ext.dd.DropZone.html#getTargetFromEvent" rel="Ext.dd.DropZone#getTargetFromEvent" class="docClass">getTargetFromEvent</a>.
505 The default implementation returns this.dropNotAllowed, so it should be
506 overridden to provide the proper feedback.</p>
507 <h3 class="pa">Parameters</h3><ul><li><span class="pre">nodeData</span> : Object<div class="sub-desc"><p>The custom data associated with the drop node (this is the same value returned from
508 <a href="Ext.dd.DropZone.html#getTargetFromEvent" rel="Ext.dd.DropZone#getTargetFromEvent" class="docClass">getTargetFromEvent</a> for this node)</p>
509 </div></li><li><span class="pre">source</span> : Ext.dd.DragSource<div class="sub-desc"><p>The drag source that was dragged over this drop zone</p>
510 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
511 </div></li><li><span class="pre">data</span> : Object<div class="sub-desc"><p>An object containing arbitrary data supplied by the drag source</p>
512 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>status The CSS class that communicates the drop status back to the source so that the
513 underlying <a href="Ext.dd.StatusProxy.html" rel="Ext.dd.StatusProxy" class="docClass">Ext.dd.StatusProxy</a> can be updated</p>
514 </li></ul></div></div></div><div id="method-removeFromGroup" class="member inherited"><a href="Ext.dd.DropZone.html#method-removeFromGroup" rel="method-removeFromGroup" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-removeFromGroup" class="viewSource">view source</a></div><a name="removeFromGroup"></a><a name="method-removeFromGroup"></a><a href="Ext.dd.DropZone.html#" rel="method-removeFromGroup" class="cls expand">removeFromGroup</a>(
515 <span class="pre">string sGroup</span>)
516  : void</div><div class="description"><div class="short"><p>Remove's this instance from the supplied interaction group</p>
517 </div><div class="long"><p>Remove's this instance from the supplied interaction group</p>
518 <h3 class="pa">Parameters</h3><ul><li><span class="pre">sGroup</span> : string<div class="sub-desc"><p>The group to drop</p>
519 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
520 </li></ul></div></div></div><div id="method-removeInvalidHandleClass" class="member inherited"><a href="Ext.dd.DropZone.html#method-removeInvalidHandleClass" rel="method-removeInvalidHandleClass" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-removeInvalidHandleClass" class="viewSource">view source</a></div><a name="removeInvalidHandleClass"></a><a name="method-removeInvalidHandleClass"></a><a href="Ext.dd.DropZone.html#" rel="method-removeInvalidHandleClass" class="cls expand">removeInvalidHandleClass</a>(
521 <span class="pre">string cssClass</span>)
522  : void</div><div class="description"><div class="short"><p>Unsets an invalid css class</p>
523 </div><div class="long"><p>Unsets an invalid css class</p>
524 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cssClass</span> : string<div class="sub-desc"><p>the class of the element(s) you wish to
525 re-enable</p>
526 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
527 </li></ul></div></div></div><div id="method-removeInvalidHandleId" class="member inherited"><a href="Ext.dd.DropZone.html#method-removeInvalidHandleId" rel="method-removeInvalidHandleId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-removeInvalidHandleId" class="viewSource">view source</a></div><a name="removeInvalidHandleId"></a><a name="method-removeInvalidHandleId"></a><a href="Ext.dd.DropZone.html#" rel="method-removeInvalidHandleId" class="cls expand">removeInvalidHandleId</a>(
528 <span class="pre">string id</span>)
529  : void</div><div class="description"><div class="short"><p>Unsets an invalid handle id</p>
530 </div><div class="long"><p>Unsets an invalid handle id</p>
531 <h3 class="pa">Parameters</h3><ul><li><span class="pre">id</span> : string<div class="sub-desc"><p>the id of the element to re-enable</p>
532 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
533 </li></ul></div></div></div><div id="method-removeInvalidHandleType" class="member inherited"><a href="Ext.dd.DropZone.html#method-removeInvalidHandleType" rel="method-removeInvalidHandleType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-removeInvalidHandleType" class="viewSource">view source</a></div><a name="removeInvalidHandleType"></a><a name="method-removeInvalidHandleType"></a><a href="Ext.dd.DropZone.html#" rel="method-removeInvalidHandleType" class="cls expand">removeInvalidHandleType</a>(
534 <span class="pre">string tagName</span>)
535  : void</div><div class="description"><div class="short"><p>Unsets an excluded tag name set by addInvalidHandleType</p>
536 </div><div class="long"><p>Unsets an excluded tag name set by addInvalidHandleType</p>
537 <h3 class="pa">Parameters</h3><ul><li><span class="pre">tagName</span> : string<div class="sub-desc"><p>the type of element to unexclude</p>
538 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
539 </li></ul></div></div></div><div id="method-resetConstraints" class="member inherited"><a href="Ext.dd.DropZone.html#method-resetConstraints" rel="method-resetConstraints" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-resetConstraints" class="viewSource">view source</a></div><a name="resetConstraints"></a><a name="method-resetConstraints"></a><a href="Ext.dd.DropZone.html#" rel="method-resetConstraints" class="cls expand">resetConstraints</a>(
540 <span class="pre">boolean maintainOffset</span>)
541  : void</div><div class="description"><div class="short"><p>resetConstraints must be called if you manually reposition a dd element.</p>
542 </div><div class="long"><p>resetConstraints must be called if you manually reposition a dd element.</p>
543 <h3 class="pa">Parameters</h3><ul><li><span class="pre">maintainOffset</span> : boolean<div class="sub-desc">
544 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
545 </li></ul></div></div></div><div id="method-setDragElId" class="member inherited"><a href="Ext.dd.DropZone.html#method-setDragElId" rel="method-setDragElId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-setDragElId" class="viewSource">view source</a></div><a name="setDragElId"></a><a name="method-setDragElId"></a><a href="Ext.dd.DropZone.html#" rel="method-setDragElId" class="cls expand">setDragElId</a>(
546 <span class="pre">Object id</span>)
547  : void</div><div class="description"><div class="short"><p>Allows you to specify that an element other than the linked element
548 will be moved with the cursor during a drag</p>
549 </div><div class="long"><p>Allows you to specify that an element other than the linked element
550 will be moved with the cursor during a drag</p>
551 <h3 class="pa">Parameters</h3><ul><li><span class="pre">id</span> : Object<div class="sub-desc"><p>{string} the id of the element that will be used to initiate the drag</p>
552 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
553 </li></ul></div></div></div><div id="method-setHandleElId" class="member inherited"><a href="Ext.dd.DropZone.html#method-setHandleElId" rel="method-setHandleElId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-setHandleElId" class="viewSource">view source</a></div><a name="setHandleElId"></a><a name="method-setHandleElId"></a><a href="Ext.dd.DropZone.html#" rel="method-setHandleElId" class="cls expand">setHandleElId</a>(
554 <span class="pre">Object id</span>)
555  : void</div><div class="description"><div class="short">Allows you to specify a child of the linked element that should be
556 used to initiate the drag operation.  An example o...</div><div class="long"><p>Allows you to specify a child of the linked element that should be
557 used to initiate the drag operation.  An example of this would be if
558 you have a content div with text and links.  Clicking anywhere in the
559 content area would normally start the drag operation.  Use this method
560 to specify that an element inside of the content div is the element
561 that starts the drag operation.</p>
562 <h3 class="pa">Parameters</h3><ul><li><span class="pre">id</span> : Object<div class="sub-desc"><p>{string} the id of the element that will be used to
563 initiate the drag.</p>
564 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
565 </li></ul></div></div></div><div id="method-setInitPosition" class="member inherited"><a href="Ext.dd.DropZone.html#method-setInitPosition" rel="method-setInitPosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-setInitPosition" class="viewSource">view source</a></div><a name="setInitPosition"></a><a name="method-setInitPosition"></a><a href="Ext.dd.DropZone.html#" rel="method-setInitPosition" class="cls expand">setInitPosition</a>(
566 <span class="pre">int diffX, int diffY</span>)
567  : void</div><div class="description"><div class="short"><p>Stores the initial placement of the linked element.</p>
568 </div><div class="long"><p>Stores the initial placement of the linked element.</p>
569 <h3 class="pa">Parameters</h3><ul><li><span class="pre">diffX</span> : int<div class="sub-desc"><p>the X offset, default 0</p>
570 </div></li><li><span class="pre">diffY</span> : int<div class="sub-desc"><p>the Y offset, default 0</p>
571 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
572 </li></ul></div></div></div><div id="method-setOuterHandleElId" class="member inherited"><a href="Ext.dd.DropZone.html#method-setOuterHandleElId" rel="method-setOuterHandleElId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-setOuterHandleElId" class="viewSource">view source</a></div><a name="setOuterHandleElId"></a><a name="method-setOuterHandleElId"></a><a href="Ext.dd.DropZone.html#" rel="method-setOuterHandleElId" class="cls expand">setOuterHandleElId</a>(
573 <span class="pre">Object id</span>)
574  : void</div><div class="description"><div class="short"><p>Allows you to set an element outside of the linked element as a drag
575 handle</p>
576 </div><div class="long"><p>Allows you to set an element outside of the linked element as a drag
577 handle</p>
578 <h3 class="pa">Parameters</h3><ul><li><span class="pre">id</span> : Object<div class="sub-desc"><p>the id of the element that will be used to initiate the drag</p>
579 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
580 </li></ul></div></div></div><div id="method-setPadding" class="member inherited"><a href="Ext.dd.DropZone.html#method-setPadding" rel="method-setPadding" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-setPadding" class="viewSource">view source</a></div><a name="setPadding"></a><a name="method-setPadding"></a><a href="Ext.dd.DropZone.html#" rel="method-setPadding" class="cls expand">setPadding</a>(
581 <span class="pre">int iTop, int iRight, int iBot, int iLeft</span>)
582  : void</div><div class="description"><div class="short">Configures the padding for the target zone in px.  Effectively expands
583 (or reduces) the virtual object size for targe...</div><div class="long"><p>Configures the padding for the target zone in px.  Effectively expands
584 (or reduces) the virtual object size for targeting calculations.
585 Supports css-style shorthand; if only one parameter is passed, all sides
586 will have that padding, and if only two are passed, the top and bottom
587 will have the first param, the left and right the second.</p>
588 <h3 class="pa">Parameters</h3><ul><li><span class="pre">iTop</span> : int<div class="sub-desc"><p>Top pad</p>
589 </div></li><li><span class="pre">iRight</span> : int<div class="sub-desc"><p>Right pad</p>
590 </div></li><li><span class="pre">iBot</span> : int<div class="sub-desc"><p>Bot pad</p>
591 </div></li><li><span class="pre">iLeft</span> : int<div class="sub-desc"><p>Left pad</p>
592 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
593 </li></ul></div></div></div><div id="method-setXConstraint" class="member inherited"><a href="Ext.dd.DropZone.html#method-setXConstraint" rel="method-setXConstraint" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-setXConstraint" class="viewSource">view source</a></div><a name="setXConstraint"></a><a name="method-setXConstraint"></a><a href="Ext.dd.DropZone.html#" rel="method-setXConstraint" class="cls expand">setXConstraint</a>(
594 <span class="pre">int iLeft, int iRight, int iTickSize</span>)
595  : void</div><div class="description"><div class="short">By default, the element can be dragged any place on the screen.  Use
596 this method to limit the horizontal travel of th...</div><div class="long"><p>By default, the element can be dragged any place on the screen.  Use
597 this method to limit the horizontal travel of the element.  Pass in
598 0,0 for the parameters if you want to lock the drag to the y axis.</p>
599 <h3 class="pa">Parameters</h3><ul><li><span class="pre">iLeft</span> : int<div class="sub-desc"><p>the number of pixels the element can move to the left</p>
600 </div></li><li><span class="pre">iRight</span> : int<div class="sub-desc"><p>the number of pixels the element can move to the
601 right</p>
602 </div></li><li><span class="pre">iTickSize</span> : int<div class="sub-desc"><p>optional parameter for specifying that the
603 element
604 should move iTickSize pixels at a time.</p>
605 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
606 </li></ul></div></div></div><div id="method-setYConstraint" class="member inherited"><a href="Ext.dd.DropZone.html#method-setYConstraint" rel="method-setYConstraint" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-setYConstraint" class="viewSource">view source</a></div><a name="setYConstraint"></a><a name="method-setYConstraint"></a><a href="Ext.dd.DropZone.html#" rel="method-setYConstraint" class="cls expand">setYConstraint</a>(
607 <span class="pre">int iUp, int iDown, int iTickSize</span>)
608  : void</div><div class="description"><div class="short">By default, the element can be dragged any place on the screen.  Set
609 this to limit the vertical travel of the element...</div><div class="long"><p>By default, the element can be dragged any place on the screen.  Set
610 this to limit the vertical travel of the element.  Pass in 0,0 for the
611 parameters if you want to lock the drag to the x axis.</p>
612 <h3 class="pa">Parameters</h3><ul><li><span class="pre">iUp</span> : int<div class="sub-desc"><p>the number of pixels the element can move up</p>
613 </div></li><li><span class="pre">iDown</span> : int<div class="sub-desc"><p>the number of pixels the element can move down</p>
614 </div></li><li><span class="pre">iTickSize</span> : int<div class="sub-desc"><p>optional parameter for specifying that the
615 element should move iTickSize pixels at a time.</p>
616 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
617 </li></ul></div></div></div><div id="method-startDrag" class="member inherited"><a href="Ext.dd.DropZone.html#method-startDrag" rel="method-startDrag" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-startDrag" class="viewSource">view source</a></div><a name="startDrag"></a><a name="method-startDrag"></a><a href="Ext.dd.DropZone.html#" rel="method-startDrag" class="cls expand">startDrag</a>(
618 <span class="pre">int X, int Y</span>)
619  : void</div><div class="description"><div class="short"><p>Abstract method called after a drag/drop object is clicked
620 and the drag or mousedown time thresholds have beeen met.</p>
621 </div><div class="long"><p>Abstract method called after a drag/drop object is clicked
622 and the drag or mousedown time thresholds have beeen met.</p>
623 <h3 class="pa">Parameters</h3><ul><li><span class="pre">X</span> : int<div class="sub-desc"><p>click location</p>
624 </div></li><li><span class="pre">Y</span> : int<div class="sub-desc"><p>click location</p>
625 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
626 </li></ul></div></div></div><div id="method-toString" class="member inherited"><a href="Ext.dd.DropZone.html#method-toString" rel="method-toString" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-toString" class="viewSource">view source</a></div><a name="toString"></a><a name="method-toString"></a><a href="Ext.dd.DropZone.html#" rel="method-toString" class="cls expand">toString</a> : string</div><div class="description"><div class="short"><p>toString method</p>
627 </div><div class="long"><p>toString method</p>
628 <h3 class="pa">Returns</h3><ul><li><span class="pre">string</span>&nbsp; &nbsp;<p>string representation of the dd obj</p>
629 </li></ul></div></div></div><div id="method-unlock" class="member inherited"><a href="Ext.dd.DropZone.html#method-unlock" rel="method-unlock" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-unlock" class="viewSource">view source</a></div><a name="unlock"></a><a name="method-unlock"></a><a href="Ext.dd.DropZone.html#" rel="method-unlock" class="cls expand">unlock</a> : void</div><div class="description"><div class="short"><p>Unlock this instace</p>
630 </div><div class="long"><p>Unlock this instace</p>
631 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
632 </li></ul></div></div></div><div id="method-unreg" class="member inherited"><a href="Ext.dd.DropZone.html#method-unreg" rel="method-unreg" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.dd.DragDrop.html" class="definedIn docClass">Ext.dd.DragDrop</a><br/><a href="../source/DragDrop.html#Ext-dd.DragDrop-method-unreg" class="viewSource">view source</a></div><a name="unreg"></a><a name="method-unreg"></a><a href="Ext.dd.DropZone.html#" rel="method-unreg" class="cls expand">unreg</a> : void</div><div class="description"><div class="short"><p>Remove all drag and drop hooks for this element</p>
633 </div><div class="long"><p>Remove all drag and drop hooks for this element</p>
634 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
635 </li></ul></div></div></div></div></div></div></div><div id="pageContent"></div></div></div></div></body></html>