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