Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / api / Ext.dd.DropTarget.html
1 <!DOCTYPE html><html><head><title>Ext.dd.DropTarget | 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.DropTarget',
13         docClass: 'Ext.dd.DropTarget',
14         docReq: 'Ext.dd.DropTarget',
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 = 'DropTarget.html#Ext-dd.DropTarget';
33     clsInfo = {"methods":["DropTarget","addInvalidHandleClass","addInvalidHandleId","addInvalidHandleType","addToGroup","applyConfig","clearConstraints","clearTicks","constrainTo","endDrag","getDragEl","getEl","init","initTarget","isLocked","isValidHandleChild","lock","notifyDrop","notifyEnter","notifyOut","notifyOver","onAvailable","onDrag","onDragDrop","onDragEnter","onDragOut","onDragOver","onInvalidDrop","onMouseDown","onMouseUp","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.dd.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/DropTarget.html#Ext-dd.DropTarget" target="_blank">Ext.dd.DropTarget</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"><strong>Ext.dd.DropTarget</strong></div></div></div></pre><p>A simple class that provides the basic implementation needed to make any element a drop target that can have
38 draggable items dropped onto it.  The drop has no effect until an implementation of notifyDrop is provided.</p>
39 <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 ni"><a href="Ext.dd.DropTarget.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.DropTarget.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
40 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
41 interact with other drag drop objects in the same group (defaults to undefined).</p>
42 </div></div></div><div id="config-dropAllowed" class="member ni"><a href="Ext.dd.DropTarget.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.DropTarget.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>
43 </div><div class="long"><p>The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").</p>
44 </div></div></div><div id="config-dropNotAllowed" class="member ni"><a href="Ext.dd.DropTarget.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.DropTarget.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>
45 </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>
46 </div></div></div><div id="config-overClass" class="member ni"><a href="Ext.dd.DropTarget.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.DropTarget.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>
47 </div><div class="long"><p>The CSS class applied to the drop target element while the drag source is over it (defaults to "").</p>
48 </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.DropTarget.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.DropTarget.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>
49 </div><div class="long"><p>The available property is false until the linked dom element is accessible.</p>
50 </div></div></div><div id="property-config" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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>
51 </div><div class="long"><p>Configuration attributes passed into the constructor</p>
52 </div></div></div><div id="property-defaultPadding" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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>
53 </div><div class="long"><p>Provides default constraint padding to "constrainTo" elements (defaults to {left: 0, right:0, top:0, bottom:0}).</p>
54 </div></div></div><div id="property-groups" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
55 related.  Instances only get events when interact...</div><div class="long"><p>The group defines a logical collection of DragDrop objects that are
56 related.  Instances only get events when interacting with other
57 DragDrop object in the same group.  This lets us define multiple
58 groups using a single DragDrop subclass if we want. An object in the format {'group1':true, 'group2':true}</p>
59 </div></div></div><div id="property-hasOuterHandles" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
60 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
61 region the linked element is.  This is done in part to work around a
62 bug in some browsers that mis-report the mousedown if the previous
63 mouseup happened outside of the window.  This property is set to true
64 if outer handles are defined. @default false</p>
65 </div></div></div><div id="property-id" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
66 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
67 refer to as the "linked element" because the size and position of
68 this element is used to determine when the drag and drop objects have
69 interacted.</p>
70 </div></div></div><div id="property-ignoreSelf" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
71 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
72 over its own Element. Defaults to true - DragDrop objects do not by default
73 fire drag events to themselves.</p>
74 </div></div></div><div id="property-invalidHandleClasses" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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>
75 </div><div class="long"><p>An Array of CSS class names for elements to be considered in valid as drag handles.</p>
76 </div></div></div><div id="property-invalidHandleIds" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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.
77 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.
78 A non-null property value identifies the ID as invalid. For example, to prevent
79 dragging from being initiated on element ID "foo", use:</p>
80
81 <pre><code>{
82     foo: true
83 }</code></pre>
84
85 </div></div></div><div id="property-invalidHandleTypes" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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.
86 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.
87 A non-null property value identifies the tag as invalid. Defaults to the
88 following value which prevents drag operations from being initiated by &lt;a> elements:</p>
89
90 <pre><code>{
91     A: "A"
92 }</code></pre>
93
94 </div></div></div><div id="property-isTarget" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
95 setting isTarget to false.</p>
96 </div><div class="long"><p>By default, all instances can be a drop target.  This can be disabled by
97 setting isTarget to false.</p>
98 </div></div></div><div id="property-maintainOffset" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
99 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
100 the position of the element relative to its parent to stay the same
101 when the page changes</p>
102 </div></div></div><div id="property-moveOnly" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
103 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
104 notification events when this DD object is dragged over them. Defaults to false.</p>
105 </div></div></div><div id="property-padding" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
106 the drop zone intersection with this object. An ...</div><div class="long"><p>The padding configured for this drag and drop object for calculating
107 the drop zone intersection with this object. An array containing the 4 padding values: [top, right, bottom, left]</p>
108 </div></div></div><div id="property-primaryButtonOnly" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
109 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
110 button click (left button for a right-handed mouse).  Set to true to
111 allow drag and drop to start with any mouse click that is propogated
112 by the browser</p>
113 </div></div></div><div id="property-xTicks" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
114 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
115 horizontal graduation/interval.  This array is generated automatically
116 when you define a tick interval.</p>
117 </div></div></div><div id="property-yTicks" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
118 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
119 vertical graduation/interval.  This array is generated automatically
120 when you define a tick interval.</p>
121 </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-DropTarget" class="member f ni"><a href="Ext.dd.DropTarget.html#method-DropTarget" rel="method-DropTarget" 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-method-constructor" class="viewSource">view source</a></div><a name="DropTarget"></a><a name="method-DropTarget"></a><a href="Ext.dd.DropTarget.html#" rel="method-DropTarget" class="cls expand">DropTarget</a>(
122 <span class="pre">Mixed el, Object config</span>)
123  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
124 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed<div class="sub-desc"><p>The container element</p>
125 </div></li><li><span class="pre">config</span> : Object<div class="sub-desc">
126 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
127 </li></ul></div></div></div><div id="method-addInvalidHandleClass" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-addInvalidHandleClass" class="cls expand">addInvalidHandleClass</a>(
128 <span class="pre">string cssClass</span>)
129  : void</div><div class="description"><div class="short"><p>Lets you specify a css class of elements that will not initiate a drag</p>
130 </div><div class="long"><p>Lets you specify a css class of elements that will not initiate a drag</p>
131 <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>
132 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
133 </li></ul></div></div></div><div id="method-addInvalidHandleId" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-addInvalidHandleId" class="cls expand">addInvalidHandleId</a>(
134 <span class="pre">string id</span>)
135  : void</div><div class="description"><div class="short"><p>Lets you to specify an element id for a child of a drag handle
136 that should not initiate a drag</p>
137 </div><div class="long"><p>Lets you to specify an element id for a child of a drag handle
138 that should not initiate a drag</p>
139 <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>
140 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
141 </li></ul></div></div></div><div id="method-addInvalidHandleType" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-addInvalidHandleType" class="cls expand">addInvalidHandleType</a>(
142 <span class="pre">string tagName</span>)
143  : void</div><div class="description"><div class="short">Allows you to specify a tag name that should not start a drag operation
144 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
145 when clicked.  This is designed to facilitate embedding links within a
146 drag handle that do something other than start the drag.</p>
147 <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>
148 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
149 </li></ul></div></div></div><div id="method-addToGroup" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-addToGroup" class="cls expand">addToGroup</a>(
150 <span class="pre">Object sGroup</span>)
151  : void</div><div class="description"><div class="short">Add this instance to a group of related drag/drop objects.  All
152 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
153 instances belong to at least one group, and can belong to as many
154 groups as needed.</p>
155 <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>
156 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
157 </li></ul></div></div></div><div id="method-applyConfig" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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.
158 This is supposed to happen at each level ...</div><div class="long"><p>Applies the configuration parameters that were passed into the constructor.
159 This is supposed to happen at each level through the inheritance chain.  So
160 a DDProxy implentation will execute apply config on DDProxy, DD, and
161 DragDrop in order to get all of the parameters that are available in
162 each object.</p>
163 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
164 </li></ul></div></div></div><div id="method-clearConstraints" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
165 since they can't exist independent of a constrain...</div><div class="long"><p>Clears any constraints applied to this instance.  Also clears ticks
166 since they can't exist independent of a constraint at this time.</p>
167 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
168 </li></ul></div></div></div><div id="method-clearTicks" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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>
169 </div><div class="long"><p>Clears any tick interval defined for this instance</p>
170 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
171 </li></ul></div></div></div><div id="method-constrainTo" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-constrainTo" class="cls expand">constrainTo</a>(
172 <span class="pre">Mixed constrainTo, [Object/Number pad], [Boolean inContent]</span>)
173  : void</div><div class="description"><div class="short">Initializes the drag drop object's constraints to restrict movement to a certain element.
174
175 Usage:
176
177  var dd = new Ext....</div><div class="long"><p>Initializes the drag drop object's constraints to restrict movement to a certain element.</p>
178
179 <p>Usage:</p>
180
181 <pre><code> var dd = new Ext.dd.DDProxy("dragDiv1", "proxytest",
182                 { dragElId: "existingProxyDiv" });
183  dd.startDrag = function(){
184      this.constrainTo("parent-id");
185  };
186  </code></pre>
187
188
189 <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>
190
191 <pre><code> Ext.get("dragDiv1").initDDProxy("proxytest", {dragElId: "existingProxyDiv"}, {
192      startDrag : function(){
193          this.constrainTo("parent-id");
194      }
195  });
196  </code></pre>
197
198 <h3 class="pa">Parameters</h3><ul><li><span class="pre">constrainTo</span> : Mixed<div class="sub-desc"><p>The element to constrain to.</p>
199 </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,
200 and can be either a number for symmetrical padding (4 would be equal to {left:4, right:4, top:4, bottom:4}) or
201 an object containing the sides to pad. For example: {right:10, bottom:10}</p>
202 </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>
203 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
204 </li></ul></div></div></div><div id="method-endDrag" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-endDrag" class="cls expand">endDrag</a>(
205 <span class="pre">Event e</span>)
206  : void</div><div class="description"><div class="short"><p>Fired when we are done dragging the object</p>
207 </div><div class="long"><p>Fired when we are done dragging the object</p>
208 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mouseup event</p>
209 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
210 </li></ul></div></div></div><div id="method-getDragEl" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
211 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
212 the same as the html element, but it can be assigned to another
213 element. An example of this can be found in Ext.dd.DDProxy</p>
214 <h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement</span>&nbsp; &nbsp;<p>the html element</p>
215 </li></ul></div></div></div><div id="method-getEl" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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>
216 </div><div class="long"><p>Returns a reference to the linked element</p>
217 <h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement</span>&nbsp; &nbsp;<p>the html element</p>
218 </li></ul></div></div></div><div id="method-init" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-init" class="cls expand">init</a>(
219 <span class="pre">Object id, String sGroup, object config</span>)
220  : void</div><div class="description"><div class="short"><p>Sets up the DragDrop object.  Must be called in the constructor of any
221 <a href="Ext.dd.DragDrop.html" rel="Ext.dd.DragDrop" class="docClass">Ext.dd.DragDrop</a> subclass</p>
222 </div><div class="long"><p>Sets up the DragDrop object.  Must be called in the constructor of any
223 <a href="Ext.dd.DragDrop.html" rel="Ext.dd.DragDrop" class="docClass">Ext.dd.DragDrop</a> subclass</p>
224 <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>
225 </div></li><li><span class="pre">sGroup</span> : String<div class="sub-desc"><p>the group of related items</p>
226 </div></li><li><span class="pre">config</span> : object<div class="sub-desc"><p>configuration attributes</p>
227 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
228 </li></ul></div></div></div><div id="method-initTarget" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-initTarget" class="cls expand">initTarget</a>(
229 <span class="pre">Object id, String sGroup, object config</span>)
230  : void</div><div class="description"><div class="short"><p>Initializes Targeting functionality only... the object does not
231 get a mousedown handler.</p>
232 </div><div class="long"><p>Initializes Targeting functionality only... the object does not
233 get a mousedown handler.</p>
234 <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>
235 </div></li><li><span class="pre">sGroup</span> : String<div class="sub-desc"><p>the group of related items</p>
236 </div></li><li><span class="pre">config</span> : object<div class="sub-desc"><p>configuration attributes</p>
237 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
238 </li></ul></div></div></div><div id="method-isLocked" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
239 (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
240 (meaning that all drag/drop is disabled on the page.)</p>
241 <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
242 false</p>
243 </li></ul></div></div></div><div id="method-isValidHandleChild" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-isValidHandleChild" class="cls expand">isValidHandleChild</a>(
244 <span class="pre">HTMLElement node</span>)
245  : boolean</div><div class="description"><div class="short"><p>Checks the tag exclusion list to see if this click should be ignored</p>
246 </div><div class="long"><p>Checks the tag exclusion list to see if this click should be ignored</p>
247 <h3 class="pa">Parameters</h3><ul><li><span class="pre">node</span> : HTMLElement<div class="sub-desc"><p>the HTMLElement to evaluate</p>
248 </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>
249 </li></ul></div></div></div><div id="method-lock" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-lock" class="cls expand">lock</a> : void</div><div class="description"><div class="short"><p>Lock this instance</p>
250 </div><div class="long"><p>Lock this instance</p>
251 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
252 </li></ul></div></div></div><div id="method-notifyDrop" class="member ni"><a href="Ext.dd.DropTarget.html#method-notifyDrop" rel="method-notifyDrop" 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-method-notifyDrop" class="viewSource">view source</a></div><a name="notifyDrop"></a><a name="method-notifyDrop"></a><a href="Ext.dd.DropTarget.html#" rel="method-notifyDrop" class="cls expand">notifyDrop</a>(
253 <span class="pre">Ext.dd.DragSource source, Event e, Object data</span>)
254  : Boolean</div><div class="description"><div class="short">The function a Ext.dd.DragSource calls once to notify this drop target that the dragged item has
255 been dropped on it. ...</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 target that the dragged item has
256 been dropped on it.  This method has no default implementation and returns false, so you must provide an
257 implementation that does something to process the drop event and returns true so that the drag source's
258 repair action does not run.</p>
259 <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>
260 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
261 </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>
262 </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>
263 </li></ul></div></div></div><div id="method-notifyEnter" class="member ni"><a href="Ext.dd.DropTarget.html#method-notifyEnter" rel="method-notifyEnter" 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-method-notifyEnter" class="viewSource">view source</a></div><a name="notifyEnter"></a><a name="method-notifyEnter"></a><a href="Ext.dd.DropTarget.html#" rel="method-notifyEnter" class="cls expand">notifyEnter</a>(
264 <span class="pre">Ext.dd.DragSource source, Event e, Object data</span>)
265  : String</div><div class="description"><div class="short">The function a Ext.dd.DragSource calls once to notify this drop target that the source is now over the
266 target.  This ...</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 target that the source is now over the
267 target.  This default implementation adds the CSS class specified by overClass (if any) to the drop element
268 and returns the dropAllowed config value.  This method should be overridden if drop validation is required.</p>
269 <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>
270 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
271 </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>
272 </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
273 underlying <a href="Ext.dd.StatusProxy.html" rel="Ext.dd.StatusProxy" class="docClass">Ext.dd.StatusProxy</a> can be updated</p>
274 </li></ul></div></div></div><div id="method-notifyOut" class="member ni"><a href="Ext.dd.DropTarget.html#method-notifyOut" rel="method-notifyOut" 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-method-notifyOut" class="viewSource">view source</a></div><a name="notifyOut"></a><a name="method-notifyOut"></a><a href="Ext.dd.DropTarget.html#" rel="method-notifyOut" class="cls expand">notifyOut</a>(
275 <span class="pre">Ext.dd.DragSource source, Event e, Object data</span>)
276  : void</div><div class="description"><div class="short">The function a Ext.dd.DragSource calls once to notify this drop target that the source has been dragged
277 out of the ta...</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 target that the source has been dragged
278 out of the target without dropping.  This default implementation simply removes the CSS class specified by
279 overClass (if any) from the drop element.</p>
280 <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>
281 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
282 </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>
283 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
284 </li></ul></div></div></div><div id="method-notifyOver" class="member ni"><a href="Ext.dd.DropTarget.html#method-notifyOver" rel="method-notifyOver" 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-method-notifyOver" class="viewSource">view source</a></div><a name="notifyOver"></a><a name="method-notifyOver"></a><a href="Ext.dd.DropTarget.html#" rel="method-notifyOver" class="cls expand">notifyOver</a>(
285 <span class="pre">Ext.dd.DragSource source, Event e, Object data</span>)
286  : String</div><div class="description"><div class="short">The function a Ext.dd.DragSource calls continuously while it is being dragged over the target.
287 This method will be ca...</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 target.
288 This method will be called on every mouse movement while the drag source is over the drop target.
289 This default implementation simply returns the dropAllowed config value.</p>
290 <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>
291 </div></li><li><span class="pre">e</span> : Event<div class="sub-desc"><p>The event</p>
292 </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>
293 </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
294 underlying <a href="Ext.dd.StatusProxy.html" rel="Ext.dd.StatusProxy" class="docClass">Ext.dd.StatusProxy</a> can be updated</p>
295 </li></ul></div></div></div><div id="method-onAvailable" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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
296 position was determined.</p>
297 </div><div class="long"><p>Override the onAvailable method to do what is needed after the initial
298 position was determined.</p>
299 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
300 </li></ul></div></div></div><div id="method-onDrag" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-onDrag" class="cls expand">onDrag</a>(
301 <span class="pre">Event e</span>)
302  : void</div><div class="description"><div class="short"><p>Abstract method called during the onMouseMove event while dragging an
303 object.</p>
304 </div><div class="long"><p>Abstract method called during the onMouseMove event while dragging an
305 object.</p>
306 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mousemove event</p>
307 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
308 </li></ul></div></div></div><div id="method-onDragDrop" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-onDragDrop" class="cls expand">onDragDrop</a>(
309 <span class="pre">Event e, String|DragDrop[] id</span>)
310  : void</div><div class="description"><div class="short"><p>Abstract method called when this item is dropped on another DragDrop
311 obj</p>
312 </div><div class="long"><p>Abstract method called when this item is dropped on another DragDrop
313 obj</p>
314 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mouseup event</p>
315 </div></li><li><span class="pre">id</span> : String|DragDrop[]<div class="sub-desc"><p>In POINT mode, the element
316 id this was dropped on.  In INTERSECT mode, an array of dd items this
317 was dropped on.</p>
318 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
319 </li></ul></div></div></div><div id="method-onDragEnter" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-onDragEnter" class="cls expand">onDragEnter</a>(
320 <span class="pre">Event e, String|DragDrop[] id</span>)
321  : void</div><div class="description"><div class="short"><p>Abstract method called when this element fist begins hovering over
322 another DragDrop obj</p>
323 </div><div class="long"><p>Abstract method called when this element fist begins hovering over
324 another DragDrop obj</p>
325 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mousemove event</p>
326 </div></li><li><span class="pre">id</span> : String|DragDrop[]<div class="sub-desc"><p>In POINT mode, the element
327 id this is hovering over.  In INTERSECT mode, an array of one or more
328 dragdrop items being hovered over.</p>
329 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
330 </li></ul></div></div></div><div id="method-onDragOut" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-onDragOut" class="cls expand">onDragOut</a>(
331 <span class="pre">Event e, String|DragDrop[] id</span>)
332  : void</div><div class="description"><div class="short"><p>Abstract method called when we are no longer hovering over an element</p>
333 </div><div class="long"><p>Abstract method called when we are no longer hovering over an element</p>
334 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mousemove event</p>
335 </div></li><li><span class="pre">id</span> : String|DragDrop[]<div class="sub-desc"><p>In POINT mode, the element
336 id this was hovering over.  In INTERSECT mode, an array of dd items
337 that the mouse is no longer over.</p>
338 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
339 </li></ul></div></div></div><div id="method-onDragOver" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-onDragOver" class="cls expand">onDragOver</a>(
340 <span class="pre">Event e, String|DragDrop[] id</span>)
341  : void</div><div class="description"><div class="short"><p>Abstract method called when this element is hovering over another
342 DragDrop obj</p>
343 </div><div class="long"><p>Abstract method called when this element is hovering over another
344 DragDrop obj</p>
345 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mousemove event</p>
346 </div></li><li><span class="pre">id</span> : String|DragDrop[]<div class="sub-desc"><p>In POINT mode, the element
347 id this is hovering over.  In INTERSECT mode, an array of dd items
348 being hovered over.</p>
349 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
350 </li></ul></div></div></div><div id="method-onInvalidDrop" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-onInvalidDrop" class="cls expand">onInvalidDrop</a>(
351 <span class="pre">Event e</span>)
352  : void</div><div class="description"><div class="short"><p>Abstract method called when this item is dropped on an area with no
353 drop target</p>
354 </div><div class="long"><p>Abstract method called when this item is dropped on an area with no
355 drop target</p>
356 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mouseup event</p>
357 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
358 </li></ul></div></div></div><div id="method-onMouseDown" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-onMouseDown" class="cls expand">onMouseDown</a>(
359 <span class="pre">Event e</span>)
360  : void</div><div class="description"><div class="short"><p>Event handler that fires when a drag/drop obj gets a mousedown</p>
361 </div><div class="long"><p>Event handler that fires when a drag/drop obj gets a mousedown</p>
362 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mousedown event</p>
363 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
364 </li></ul></div></div></div><div id="method-onMouseUp" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-onMouseUp" class="cls expand">onMouseUp</a>(
365 <span class="pre">Event e</span>)
366  : void</div><div class="description"><div class="short"><p>Event handler that fires when a drag/drop obj gets a mouseup</p>
367 </div><div class="long"><p>Event handler that fires when a drag/drop obj gets a mouseup</p>
368 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Event<div class="sub-desc"><p>the mouseup event</p>
369 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
370 </li></ul></div></div></div><div id="method-removeFromGroup" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-removeFromGroup" class="cls expand">removeFromGroup</a>(
371 <span class="pre">string sGroup</span>)
372  : void</div><div class="description"><div class="short"><p>Remove's this instance from the supplied interaction group</p>
373 </div><div class="long"><p>Remove's this instance from the supplied interaction group</p>
374 <h3 class="pa">Parameters</h3><ul><li><span class="pre">sGroup</span> : string<div class="sub-desc"><p>The group to drop</p>
375 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
376 </li></ul></div></div></div><div id="method-removeInvalidHandleClass" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-removeInvalidHandleClass" class="cls expand">removeInvalidHandleClass</a>(
377 <span class="pre">string cssClass</span>)
378  : void</div><div class="description"><div class="short"><p>Unsets an invalid css class</p>
379 </div><div class="long"><p>Unsets an invalid css class</p>
380 <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
381 re-enable</p>
382 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
383 </li></ul></div></div></div><div id="method-removeInvalidHandleId" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-removeInvalidHandleId" class="cls expand">removeInvalidHandleId</a>(
384 <span class="pre">string id</span>)
385  : void</div><div class="description"><div class="short"><p>Unsets an invalid handle id</p>
386 </div><div class="long"><p>Unsets an invalid handle id</p>
387 <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>
388 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
389 </li></ul></div></div></div><div id="method-removeInvalidHandleType" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-removeInvalidHandleType" class="cls expand">removeInvalidHandleType</a>(
390 <span class="pre">string tagName</span>)
391  : void</div><div class="description"><div class="short"><p>Unsets an excluded tag name set by addInvalidHandleType</p>
392 </div><div class="long"><p>Unsets an excluded tag name set by addInvalidHandleType</p>
393 <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>
394 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
395 </li></ul></div></div></div><div id="method-resetConstraints" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-resetConstraints" class="cls expand">resetConstraints</a>(
396 <span class="pre">boolean maintainOffset</span>)
397  : void</div><div class="description"><div class="short"><p>resetConstraints must be called if you manually reposition a dd element.</p>
398 </div><div class="long"><p>resetConstraints must be called if you manually reposition a dd element.</p>
399 <h3 class="pa">Parameters</h3><ul><li><span class="pre">maintainOffset</span> : boolean<div class="sub-desc">
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-setDragElId" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-setDragElId" class="cls expand">setDragElId</a>(
402 <span class="pre">Object id</span>)
403  : void</div><div class="description"><div class="short"><p>Allows you to specify that an element other than the linked element
404 will be moved with the cursor during a drag</p>
405 </div><div class="long"><p>Allows you to specify that an element other than the linked element
406 will be moved with the cursor during a drag</p>
407 <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>
408 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
409 </li></ul></div></div></div><div id="method-setHandleElId" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-setHandleElId" class="cls expand">setHandleElId</a>(
410 <span class="pre">Object id</span>)
411  : void</div><div class="description"><div class="short">Allows you to specify a child of the linked element that should be
412 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
413 used to initiate the drag operation.  An example of this would be if
414 you have a content div with text and links.  Clicking anywhere in the
415 content area would normally start the drag operation.  Use this method
416 to specify that an element inside of the content div is the element
417 that starts the drag operation.</p>
418 <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
419 initiate the drag.</p>
420 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
421 </li></ul></div></div></div><div id="method-setInitPosition" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-setInitPosition" class="cls expand">setInitPosition</a>(
422 <span class="pre">int diffX, int diffY</span>)
423  : void</div><div class="description"><div class="short"><p>Stores the initial placement of the linked element.</p>
424 </div><div class="long"><p>Stores the initial placement of the linked element.</p>
425 <h3 class="pa">Parameters</h3><ul><li><span class="pre">diffX</span> : int<div class="sub-desc"><p>the X offset, default 0</p>
426 </div></li><li><span class="pre">diffY</span> : int<div class="sub-desc"><p>the Y offset, default 0</p>
427 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
428 </li></ul></div></div></div><div id="method-setOuterHandleElId" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-setOuterHandleElId" class="cls expand">setOuterHandleElId</a>(
429 <span class="pre">Object id</span>)
430  : void</div><div class="description"><div class="short"><p>Allows you to set an element outside of the linked element as a drag
431 handle</p>
432 </div><div class="long"><p>Allows you to set an element outside of the linked element as a drag
433 handle</p>
434 <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>
435 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
436 </li></ul></div></div></div><div id="method-setPadding" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-setPadding" class="cls expand">setPadding</a>(
437 <span class="pre">int iTop, int iRight, int iBot, int iLeft</span>)
438  : void</div><div class="description"><div class="short">Configures the padding for the target zone in px.  Effectively expands
439 (or reduces) the virtual object size for targe...</div><div class="long"><p>Configures the padding for the target zone in px.  Effectively expands
440 (or reduces) the virtual object size for targeting calculations.
441 Supports css-style shorthand; if only one parameter is passed, all sides
442 will have that padding, and if only two are passed, the top and bottom
443 will have the first param, the left and right the second.</p>
444 <h3 class="pa">Parameters</h3><ul><li><span class="pre">iTop</span> : int<div class="sub-desc"><p>Top pad</p>
445 </div></li><li><span class="pre">iRight</span> : int<div class="sub-desc"><p>Right pad</p>
446 </div></li><li><span class="pre">iBot</span> : int<div class="sub-desc"><p>Bot pad</p>
447 </div></li><li><span class="pre">iLeft</span> : int<div class="sub-desc"><p>Left pad</p>
448 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
449 </li></ul></div></div></div><div id="method-setXConstraint" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-setXConstraint" class="cls expand">setXConstraint</a>(
450 <span class="pre">int iLeft, int iRight, int iTickSize</span>)
451  : void</div><div class="description"><div class="short">By default, the element can be dragged any place on the screen.  Use
452 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
453 this method to limit the horizontal travel of the element.  Pass in
454 0,0 for the parameters if you want to lock the drag to the y axis.</p>
455 <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>
456 </div></li><li><span class="pre">iRight</span> : int<div class="sub-desc"><p>the number of pixels the element can move to the
457 right</p>
458 </div></li><li><span class="pre">iTickSize</span> : int<div class="sub-desc"><p>optional parameter for specifying that the
459 element
460 should move iTickSize pixels at a time.</p>
461 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
462 </li></ul></div></div></div><div id="method-setYConstraint" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-setYConstraint" class="cls expand">setYConstraint</a>(
463 <span class="pre">int iUp, int iDown, int iTickSize</span>)
464  : void</div><div class="description"><div class="short">By default, the element can be dragged any place on the screen.  Set
465 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
466 this to limit the vertical travel of the element.  Pass in 0,0 for the
467 parameters if you want to lock the drag to the x axis.</p>
468 <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>
469 </div></li><li><span class="pre">iDown</span> : int<div class="sub-desc"><p>the number of pixels the element can move down</p>
470 </div></li><li><span class="pre">iTickSize</span> : int<div class="sub-desc"><p>optional parameter for specifying that the
471 element should move iTickSize pixels at a time.</p>
472 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
473 </li></ul></div></div></div><div id="method-startDrag" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-startDrag" class="cls expand">startDrag</a>(
474 <span class="pre">int X, int Y</span>)
475  : void</div><div class="description"><div class="short"><p>Abstract method called after a drag/drop object is clicked
476 and the drag or mousedown time thresholds have beeen met.</p>
477 </div><div class="long"><p>Abstract method called after a drag/drop object is clicked
478 and the drag or mousedown time thresholds have beeen met.</p>
479 <h3 class="pa">Parameters</h3><ul><li><span class="pre">X</span> : int<div class="sub-desc"><p>click location</p>
480 </div></li><li><span class="pre">Y</span> : int<div class="sub-desc"><p>click location</p>
481 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
482 </li></ul></div></div></div><div id="method-toString" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-toString" class="cls expand">toString</a> : string</div><div class="description"><div class="short"><p>toString method</p>
483 </div><div class="long"><p>toString method</p>
484 <h3 class="pa">Returns</h3><ul><li><span class="pre">string</span>&nbsp; &nbsp;<p>string representation of the dd obj</p>
485 </li></ul></div></div></div><div id="method-unlock" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.html#" rel="method-unlock" class="cls expand">unlock</a> : void</div><div class="description"><div class="short"><p>Unlock this instace</p>
486 </div><div class="long"><p>Unlock this instace</p>
487 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
488 </li></ul></div></div></div><div id="method-unreg" class="member inherited"><a href="Ext.dd.DropTarget.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.DropTarget.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>
489 </div><div class="long"><p>Remove all drag and drop hooks for this element</p>
490 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
491 </li></ul></div></div></div></div></div></div></div><div id="pageContent"></div></div></div></div></body></html>