5da759e2c0a134c14424ba910cf924653726a178.svn-base 99 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769
  1. <div class="body-wrap">
  2. <div class="top-tools">
  3. <a class="inner-link" href="#Ext.tree.TreeDragZone-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
  4. <a class="inner-link" href="#Ext.tree.TreeDragZone-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
  5. <a class="inner-link" href="#Ext.tree.TreeDragZone-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
  6. <a class="inner-link" href="#Ext.tree.TreeDragZone-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
  7. <a class="bookmark" href="../docs/?class=Ext.tree.TreeDragZone"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
  8. </div>
  9. <div class="inheritance res-block">
  10. <pre class="res-block-inner"><a ext:cls="Ext.dd.DragDrop" ext:member="" href="output/Ext.dd.DragDrop.html">DragDrop</a>
  11. <img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DD" ext:member="" href="output/Ext.dd.DD.html">DD</a>
  12. <img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DDProxy" ext:member="" href="output/Ext.dd.DDProxy.html">DDProxy</a>
  13. <img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DragSource" ext:member="" href="output/Ext.dd.DragSource.html">DragSource</a>
  14. <img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DragZone" ext:member="" href="output/Ext.dd.DragZone.html">DragZone</a>
  15. <img src="resources/elbow-end.gif"/>TreeDragZone</pre></div>
  16. <h1>Class Ext.tree.TreeDragZone</h1>
  17. <table cellspacing="0">
  18. <tr><td class="label">Package:</td><td class="hd-info">Ext.tree</td></tr>
  19. <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/TreeDragZone.js" target="_blank">TreeDragZone.js</a></td></tr>
  20. <tr><td class="label">Class:</td><td class="hd-info">TreeDragZone</td></tr>
  21. <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.dd.DragZone" ext:member="" href="output/Ext.dd.DragZone.html">DragZone</a></td></tr>
  22. </table>
  23. <div class="description">
  24. </div>
  25. <div class="hr"></div>
  26. <a id="Ext.tree.TreeDragZone-configs"></a>
  27. <h2>Config Options</h2>
  28. <table cellspacing="0" class="member-table">
  29. <tr>
  30. <th class="sig-header" colspan="2">Config Options</th>
  31. <th class="msource-header">Defined By</th>
  32. </tr>
  33. <tr class="config-row inherited">
  34. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  35. <td class="sig">
  36. <a id="Ext.tree.TreeDragZone-containerScroll"></a>
  37. <b>containerScroll</b> : Boolean <div class="mdesc">
  38. True to register this container with the Scrollmanager for auto scrolling during drag operations. </div>
  39. </td>
  40. <td class="msource"><a ext:cls="Ext.dd.DragZone" ext:member="#containerScroll" href="output/Ext.dd.DragZone.html#containerScroll">DragZone</a></td>
  41. </tr>
  42. <tr class="config-row alt expandable">
  43. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  44. <td class="sig">
  45. <a id="Ext.tree.TreeDragZone-ddGroup"></a>
  46. <b>ddGroup</b> : String <div class="mdesc">
  47. <div class="short">A named drag drop group to which this object belongs. If a group is specified, then this object will only interact wi...</div>
  48. <div class="long">
  49. A named drag drop group to which this object belongs. If a group is specified, then this object will only interact with other drag drop objects in the same group (defaults to 'TreeDD'). </div>
  50. </div>
  51. </td>
  52. <td class="msource">TreeDragZone</td>
  53. </tr>
  54. <tr class="config-row inherited">
  55. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  56. <td class="sig">
  57. <a id="Ext.tree.TreeDragZone-dropAllowed"></a>
  58. <b>dropAllowed</b> : String <div class="mdesc">
  59. The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok"). </div>
  60. </td>
  61. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#dropAllowed" href="output/Ext.dd.DragSource.html#dropAllowed">DragSource</a></td>
  62. </tr>
  63. <tr class="config-row inherited alt">
  64. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  65. <td class="sig">
  66. <a id="Ext.tree.TreeDragZone-dropNotAllowed"></a>
  67. <b>dropNotAllowed</b> : String <div class="mdesc">
  68. The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop"). </div>
  69. </td>
  70. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#dropNotAllowed" href="output/Ext.dd.DragSource.html#dropNotAllowed">DragSource</a></td>
  71. </tr>
  72. <tr class="config-row inherited expandable">
  73. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  74. <td class="sig">
  75. <a id="Ext.tree.TreeDragZone-hlColor"></a>
  76. <b>hlColor</b> : String <div class="mdesc">
  77. <div class="short">The color to use when visually highlighting the drag source in the afterRepair method after a failed drop (defaults t...</div>
  78. <div class="long">
  79. The color to use when visually highlighting the drag source in the afterRepair method after a failed drop (defaults to "c3daf9" - light blue) </div>
  80. </div>
  81. </td>
  82. <td class="msource"><a ext:cls="Ext.dd.DragZone" ext:member="#hlColor" href="output/Ext.dd.DragZone.html#hlColor">DragZone</a></td>
  83. </tr>
  84. </table>
  85. <a id="Ext.tree.TreeDragZone-props"></a>
  86. <h2>Public Properties</h2>
  87. <table cellspacing="0" class="member-table">
  88. <tr>
  89. <th class="sig-header" colspan="2">Property</th>
  90. <th class="msource-header">Defined By</th>
  91. </tr>
  92. <tr class="property-row inherited">
  93. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  94. <td class="sig">
  95. <a id="Ext.tree.TreeDragZone-available"></a>
  96. <b>available</b> : boolean <div class="mdesc">
  97. The availabe property is false until the linked dom element is accessible. </div>
  98. </td>
  99. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#available" href="output/Ext.dd.DragDrop.html#available">DragDrop</a></td>
  100. </tr>
  101. <tr class="property-row inherited alt expandable">
  102. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  103. <td class="sig">
  104. <a id="Ext.tree.TreeDragZone-centerFrame"></a>
  105. <b>centerFrame</b> : boolean <div class="mdesc">
  106. <div class="short">By default the frame is positioned exactly where the drag element is, so
  107. we use the cursor offset provided by Ext.dd....</div>
  108. <div class="long">
  109. By default the frame is positioned exactly where the drag element is, so
  110. we use the cursor offset provided by Ext.dd.DD. Another option that works only if
  111. you do not have constraints on the obj is to have the drag frame centered
  112. around the cursor. Set centerFrame to true for this effect. </div>
  113. </div>
  114. </td>
  115. <td class="msource"><a ext:cls="Ext.dd.DDProxy" ext:member="#centerFrame" href="output/Ext.dd.DDProxy.html#centerFrame">DDProxy</a></td>
  116. </tr>
  117. <tr class="property-row inherited">
  118. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  119. <td class="sig">
  120. <a id="Ext.tree.TreeDragZone-config"></a>
  121. <b>config</b> : object <div class="mdesc">
  122. Configuration attributes passed into the constructor </div>
  123. </td>
  124. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#config" href="output/Ext.dd.DragDrop.html#config">DragDrop</a></td>
  125. </tr>
  126. <tr class="property-row inherited alt expandable">
  127. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  128. <td class="sig">
  129. <a id="Ext.tree.TreeDragZone-groups"></a>
  130. <b>groups</b> : object <div class="mdesc">
  131. <div class="short">The group defines a logical collection of DragDrop objects that are
  132. related. Instances only get events when interact...</div>
  133. <div class="long">
  134. The group defines a logical collection of DragDrop objects that are
  135. related. Instances only get events when interacting with other
  136. DragDrop object in the same group. This lets us define multiple
  137. groups using a single DragDrop subclass if we want. </div>
  138. </div>
  139. </td>
  140. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#groups" href="output/Ext.dd.DragDrop.html#groups">DragDrop</a></td>
  141. </tr>
  142. <tr class="property-row inherited expandable">
  143. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  144. <td class="sig">
  145. <a id="Ext.tree.TreeDragZone-hasOuterHandles"></a>
  146. <b>hasOuterHandles</b> : boolean <div class="mdesc">
  147. <div class="short">By default, drags can only be initiated if the mousedown occurs in the
  148. region the linked element is. This is done in...</div>
  149. <div class="long">
  150. By default, drags can only be initiated if the mousedown occurs in the
  151. region the linked element is. This is done in part to work around a
  152. bug in some browsers that mis-report the mousedown if the previous
  153. mouseup happened outside of the window. This property is set to true
  154. if outer handles are defined. </div>
  155. </div>
  156. </td>
  157. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#hasOuterHandles" href="output/Ext.dd.DragDrop.html#hasOuterHandles">DragDrop</a></td>
  158. </tr>
  159. <tr class="property-row inherited alt expandable">
  160. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  161. <td class="sig">
  162. <a id="Ext.tree.TreeDragZone-id"></a>
  163. <b>id</b> : String <div class="mdesc">
  164. <div class="short">The id of the element associated with this object. This is what we
  165. refer to as the "linked element" because the size...</div>
  166. <div class="long">
  167. The id of the element associated with this object. This is what we
  168. refer to as the "linked element" because the size and position of
  169. this element is used to determine when the drag and drop objects have
  170. interacted. </div>
  171. </div>
  172. </td>
  173. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#id" href="output/Ext.dd.DragDrop.html#id">DragDrop</a></td>
  174. </tr>
  175. <tr class="property-row inherited">
  176. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  177. <td class="sig">
  178. <a id="Ext.tree.TreeDragZone-invalidHandleClasses"></a>
  179. <b>invalidHandleClasses</b> : string[] <div class="mdesc">
  180. An indexted array of css class names for elements that will be ignored
  181. if clicked. </div>
  182. </td>
  183. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleClasses" href="output/Ext.dd.DragDrop.html#invalidHandleClasses">DragDrop</a></td>
  184. </tr>
  185. <tr class="property-row inherited alt">
  186. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  187. <td class="sig">
  188. <a id="Ext.tree.TreeDragZone-invalidHandleIds"></a>
  189. <b>invalidHandleIds</b> : string: <div class="mdesc">
  190. An associative array of ids for elements that will be ignored if clicked </div>
  191. </td>
  192. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleIds" href="output/Ext.dd.DragDrop.html#invalidHandleIds">DragDrop</a></td>
  193. </tr>
  194. <tr class="property-row inherited">
  195. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  196. <td class="sig">
  197. <a id="Ext.tree.TreeDragZone-invalidHandleTypes"></a>
  198. <b>invalidHandleTypes</b> : string: <div class="mdesc">
  199. An associative array of HTML tags that will be ignored if clicked. </div>
  200. </td>
  201. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleTypes" href="output/Ext.dd.DragDrop.html#invalidHandleTypes">DragDrop</a></td>
  202. </tr>
  203. <tr class="property-row inherited alt">
  204. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  205. <td class="sig">
  206. <a id="Ext.tree.TreeDragZone-isTarget"></a>
  207. <b>isTarget</b> : boolean <div class="mdesc">
  208. By default, all insances can be a drop target. This can be disabled by
  209. setting isTarget to false. </div>
  210. </td>
  211. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isTarget" href="output/Ext.dd.DragDrop.html#isTarget">DragDrop</a></td>
  212. </tr>
  213. <tr class="property-row inherited expandable">
  214. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  215. <td class="sig">
  216. <a id="Ext.tree.TreeDragZone-maintainOffset"></a>
  217. <b>maintainOffset</b> : boolean <div class="mdesc">
  218. <div class="short">Maintain offsets when we resetconstraints. Set to true when you want
  219. the position of the element relative to its par...</div>
  220. <div class="long">
  221. Maintain offsets when we resetconstraints. Set to true when you want
  222. the position of the element relative to its parent to stay the same
  223. when the page changes </div>
  224. </div>
  225. </td>
  226. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#maintainOffset" href="output/Ext.dd.DragDrop.html#maintainOffset">DragDrop</a></td>
  227. </tr>
  228. <tr class="property-row inherited alt expandable">
  229. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  230. <td class="sig">
  231. <a id="Ext.tree.TreeDragZone-onStartDrag"></a>
  232. <b>onStartDrag</b> : Object <div class="mdesc">
  233. <div class="short">An empty function by default, but provided so that you can perform a custom action once the initial
  234. drag event has be...</div>
  235. <div class="long">
  236. An empty function by default, but provided so that you can perform a custom action once the initial
  237. drag event has begun. The drag cannot be canceled from this function. </div>
  238. </div>
  239. </td>
  240. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#onStartDrag" href="output/Ext.dd.DragSource.html#onStartDrag">DragSource</a></td>
  241. </tr>
  242. <tr class="property-row inherited">
  243. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  244. <td class="sig">
  245. <a id="Ext.tree.TreeDragZone-padding"></a>
  246. <b>padding</b> : int[] <div class="mdesc">
  247. The padding configured for this drag and drop object for calculating
  248. the drop zone intersection with this object. </div>
  249. </td>
  250. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#padding" href="output/Ext.dd.DragDrop.html#padding">DragDrop</a></td>
  251. </tr>
  252. <tr class="property-row inherited alt expandable">
  253. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  254. <td class="sig">
  255. <a id="Ext.tree.TreeDragZone-primaryButtonOnly"></a>
  256. <b>primaryButtonOnly</b> : boolean <div class="mdesc">
  257. <div class="short">By default the drag and drop instance will only respond to the primary
  258. button click (left button for a right-handed m...</div>
  259. <div class="long">
  260. By default the drag and drop instance will only respond to the primary
  261. button click (left button for a right-handed mouse). Set to true to
  262. allow drag and drop to start with any mouse click that is propogated
  263. by the browser </div>
  264. </div>
  265. </td>
  266. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#primaryButtonOnly" href="output/Ext.dd.DragDrop.html#primaryButtonOnly">DragDrop</a></td>
  267. </tr>
  268. <tr class="property-row inherited expandable">
  269. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  270. <td class="sig">
  271. <a id="Ext.tree.TreeDragZone-resizeFrame"></a>
  272. <b>resizeFrame</b> : boolean <div class="mdesc">
  273. <div class="short">By default we resize the drag frame to be the same size as the element
  274. we want to drag (this is to get the frame effe...</div>
  275. <div class="long">
  276. By default we resize the drag frame to be the same size as the element
  277. we want to drag (this is to get the frame effect). We can turn it off
  278. if we want a different behavior. </div>
  279. </div>
  280. </td>
  281. <td class="msource"><a ext:cls="Ext.dd.DDProxy" ext:member="#resizeFrame" href="output/Ext.dd.DDProxy.html#resizeFrame">DDProxy</a></td>
  282. </tr>
  283. <tr class="property-row inherited alt expandable">
  284. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  285. <td class="sig">
  286. <a id="Ext.tree.TreeDragZone-scroll"></a>
  287. <b>scroll</b> : boolean <div class="mdesc">
  288. <div class="short">When set to true, the utility automatically tries to scroll the browser
  289. window wehn a drag and drop element is dragge...</div>
  290. <div class="long">
  291. When set to true, the utility automatically tries to scroll the browser
  292. window wehn a drag and drop element is dragged near the viewport boundary.
  293. Defaults to true. </div>
  294. </div>
  295. </td>
  296. <td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#scroll" href="output/Ext.dd.DD.html#scroll">DD</a></td>
  297. </tr>
  298. <tr class="property-row">
  299. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  300. <td class="sig">
  301. <a id="Ext.tree.TreeDragZone-tree"></a>
  302. <b>tree</b> : Ext.tree.TreePanel <div class="mdesc">
  303. The TreePanel for this drag zone </div>
  304. </td>
  305. <td class="msource">TreeDragZone</td>
  306. </tr>
  307. <tr class="property-row inherited alt expandable">
  308. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  309. <td class="sig">
  310. <a id="Ext.tree.TreeDragZone-xTicks"></a>
  311. <b>xTicks</b> : int[] <div class="mdesc">
  312. <div class="short">Array of pixel locations the element will snap to if we specified a
  313. horizontal graduation/interval. This array is ge...</div>
  314. <div class="long">
  315. Array of pixel locations the element will snap to if we specified a
  316. horizontal graduation/interval. This array is generated automatically
  317. when you define a tick interval. </div>
  318. </div>
  319. </td>
  320. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#xTicks" href="output/Ext.dd.DragDrop.html#xTicks">DragDrop</a></td>
  321. </tr>
  322. <tr class="property-row inherited expandable">
  323. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  324. <td class="sig">
  325. <a id="Ext.tree.TreeDragZone-yTicks"></a>
  326. <b>yTicks</b> : int[] <div class="mdesc">
  327. <div class="short">Array of pixel locations the element will snap to if we specified a
  328. vertical graduation/interval. This array is gene...</div>
  329. <div class="long">
  330. Array of pixel locations the element will snap to if we specified a
  331. vertical graduation/interval. This array is generated automatically
  332. when you define a tick interval. </div>
  333. </div>
  334. </td>
  335. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#yTicks" href="output/Ext.dd.DragDrop.html#yTicks">DragDrop</a></td>
  336. </tr>
  337. </table>
  338. <a id="Ext.tree.TreeDragZone-methods"></a>
  339. <h2>Public Methods</h2>
  340. <table cellspacing="0" class="member-table">
  341. <tr>
  342. <th class="sig-header" colspan="2">Method</th>
  343. <th class="msource-header">Defined By</th>
  344. </tr>
  345. <tr class="method-row expandable">
  346. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  347. <td class="sig">
  348. <a id="Ext.tree.TreeDragZone-TreeDragZone"></a>
  349. <b>TreeDragZone</b>(&nbsp;<code>String/HTMLElement/Element tree</code>, <code>Object config</code>&nbsp;) <div class="mdesc">
  350. <div class="short"></div>
  351. <div class="long">
  352. <div class="mdetail-params">
  353. <strong>Parameters:</strong>
  354. <ul><li><code>tree</code> : String/HTMLElement/Element<div class="sub-desc">The <a ext:cls="Ext.tree.TreePanel" href="output/Ext.tree.TreePanel.html">Ext.tree.TreePanel</a> for which to enable dragging</div></li><li><code>config</code> : Object<div class="sub-desc"></div></li> </ul>
  355. <strong>Returns:</strong>
  356. <ul>
  357. <li><code></code></li>
  358. </ul>
  359. </div>
  360. </div>
  361. </div>
  362. </td>
  363. <td class="msource">TreeDragZone</td>
  364. </tr>
  365. <tr class="method-row inherited alt expandable">
  366. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  367. <td class="sig">
  368. <a id="Ext.tree.TreeDragZone-addInvalidHandleClass"></a>
  369. <b>addInvalidHandleClass</b>(&nbsp;<code>string cssClass</code>&nbsp;) : void <div class="mdesc">
  370. <div class="short">Lets you specify a css class of elements that will not initiate a drag</div>
  371. <div class="long">
  372. Lets you specify a css class of elements that will not initiate a drag <div class="mdetail-params">
  373. <strong>Parameters:</strong>
  374. <ul><li><code>cssClass</code> : string<div class="sub-desc">the class of the elements you wish to ignore</div></li> </ul>
  375. <strong>Returns:</strong>
  376. <ul>
  377. <li><code>void</code></li>
  378. </ul>
  379. </div>
  380. </div>
  381. </div>
  382. </td>
  383. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleClass" href="output/Ext.dd.DragDrop.html#addInvalidHandleClass">DragDrop</a></td>
  384. </tr>
  385. <tr class="method-row inherited expandable">
  386. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  387. <td class="sig">
  388. <a id="Ext.tree.TreeDragZone-addInvalidHandleId"></a>
  389. <b>addInvalidHandleId</b>(&nbsp;<code>string id</code>&nbsp;) : void <div class="mdesc">
  390. <div class="short">Lets you to specify an element id for a child of a drag handle
  391. that should not initiate a drag</div>
  392. <div class="long">
  393. Lets you to specify an element id for a child of a drag handle
  394. that should not initiate a drag <div class="mdetail-params">
  395. <strong>Parameters:</strong>
  396. <ul><li><code>id</code> : string<div class="sub-desc">the element id of the element you wish to ignore</div></li> </ul>
  397. <strong>Returns:</strong>
  398. <ul>
  399. <li><code>void</code></li>
  400. </ul>
  401. </div>
  402. </div>
  403. </div>
  404. </td>
  405. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleId" href="output/Ext.dd.DragDrop.html#addInvalidHandleId">DragDrop</a></td>
  406. </tr>
  407. <tr class="method-row inherited alt expandable">
  408. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  409. <td class="sig">
  410. <a id="Ext.tree.TreeDragZone-addInvalidHandleType"></a>
  411. <b>addInvalidHandleType</b>(&nbsp;<code>string tagName</code>&nbsp;) : void <div class="mdesc">
  412. <div class="short">Allows you to specify a tag name that should not start a drag operation
  413. when clicked. This is designed to facilitate...</div>
  414. <div class="long">
  415. Allows you to specify a tag name that should not start a drag operation
  416. when clicked. This is designed to facilitate embedding links within a
  417. drag handle that do something other than start the drag. <div class="mdetail-params">
  418. <strong>Parameters:</strong>
  419. <ul><li><code>tagName</code> : string<div class="sub-desc">the type of element to exclude</div></li> </ul>
  420. <strong>Returns:</strong>
  421. <ul>
  422. <li><code>void</code></li>
  423. </ul>
  424. </div>
  425. </div>
  426. </div>
  427. </td>
  428. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleType" href="output/Ext.dd.DragDrop.html#addInvalidHandleType">DragDrop</a></td>
  429. </tr>
  430. <tr class="method-row inherited expandable">
  431. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  432. <td class="sig">
  433. <a id="Ext.tree.TreeDragZone-addToGroup"></a>
  434. <b>addToGroup</b>(&nbsp;<code>sGroup {string}</code>&nbsp;) : void <div class="mdesc">
  435. <div class="short">Add this instance to a group of related drag/drop objects. All
  436. instances belong to at least one group, and can belon...</div>
  437. <div class="long">
  438. Add this instance to a group of related drag/drop objects. All
  439. instances belong to at least one group, and can belong to as many
  440. groups as needed. <div class="mdetail-params">
  441. <strong>Parameters:</strong>
  442. <ul><li><code>{string}</code> : sGroup<div class="sub-desc">the name of the group</div></li> </ul>
  443. <strong>Returns:</strong>
  444. <ul>
  445. <li><code>void</code></li>
  446. </ul>
  447. </div>
  448. </div>
  449. </div>
  450. </td>
  451. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addToGroup" href="output/Ext.dd.DragDrop.html#addToGroup">DragDrop</a></td>
  452. </tr>
  453. <tr class="method-row inherited alt expandable">
  454. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  455. <td class="sig">
  456. <a id="Ext.tree.TreeDragZone-afterDragDrop"></a>
  457. <b>afterDragDrop</b>(&nbsp;<code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code>&nbsp;) : void <div class="mdesc">
  458. <div class="short">An empty function by default, but provided so that you can perform a custom action
  459. after a valid drag drop has occurr...</div>
  460. <div class="long">
  461. An empty function by default, but provided so that you can perform a custom action
  462. after a valid drag drop has occurred by providing an implementation. <div class="mdetail-params">
  463. <strong>Parameters:</strong>
  464. <ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dropped element</div></li> </ul>
  465. <strong>Returns:</strong>
  466. <ul>
  467. <li><code>void</code></li>
  468. </ul>
  469. </div>
  470. </div>
  471. </div>
  472. </td>
  473. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#afterDragDrop" href="output/Ext.dd.DragSource.html#afterDragDrop">DragSource</a></td>
  474. </tr>
  475. <tr class="method-row inherited expandable">
  476. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  477. <td class="sig">
  478. <a id="Ext.tree.TreeDragZone-afterDragEnter"></a>
  479. <b>afterDragEnter</b>(&nbsp;<code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code>&nbsp;) : void <div class="mdesc">
  480. <div class="short">An empty function by default, but provided so that you can perform a custom action
  481. when the dragged item enters the d...</div>
  482. <div class="long">
  483. An empty function by default, but provided so that you can perform a custom action
  484. when the dragged item enters the drop target by providing an implementation. <div class="mdetail-params">
  485. <strong>Parameters:</strong>
  486. <ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
  487. <strong>Returns:</strong>
  488. <ul>
  489. <li><code>void</code></li>
  490. </ul>
  491. </div>
  492. </div>
  493. </div>
  494. </td>
  495. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#afterDragEnter" href="output/Ext.dd.DragSource.html#afterDragEnter">DragSource</a></td>
  496. </tr>
  497. <tr class="method-row inherited alt expandable">
  498. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  499. <td class="sig">
  500. <a id="Ext.tree.TreeDragZone-afterDragOut"></a>
  501. <b>afterDragOut</b>(&nbsp;<code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code>&nbsp;) : void <div class="mdesc">
  502. <div class="short">An empty function by default, but provided so that you can perform a custom action
  503. after the dragged item is dragged ...</div>
  504. <div class="long">
  505. An empty function by default, but provided so that you can perform a custom action
  506. after the dragged item is dragged out of the target without dropping. <div class="mdetail-params">
  507. <strong>Parameters:</strong>
  508. <ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
  509. <strong>Returns:</strong>
  510. <ul>
  511. <li><code>void</code></li>
  512. </ul>
  513. </div>
  514. </div>
  515. </div>
  516. </td>
  517. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#afterDragOut" href="output/Ext.dd.DragSource.html#afterDragOut">DragSource</a></td>
  518. </tr>
  519. <tr class="method-row inherited expandable">
  520. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  521. <td class="sig">
  522. <a id="Ext.tree.TreeDragZone-afterDragOver"></a>
  523. <b>afterDragOver</b>(&nbsp;<code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code>&nbsp;) : void <div class="mdesc">
  524. <div class="short">An empty function by default, but provided so that you can perform a custom action
  525. while the dragged item is over the...</div>
  526. <div class="long">
  527. An empty function by default, but provided so that you can perform a custom action
  528. while the dragged item is over the drop target by providing an implementation. <div class="mdetail-params">
  529. <strong>Parameters:</strong>
  530. <ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
  531. <strong>Returns:</strong>
  532. <ul>
  533. <li><code>void</code></li>
  534. </ul>
  535. </div>
  536. </div>
  537. </div>
  538. </td>
  539. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#afterDragOver" href="output/Ext.dd.DragSource.html#afterDragOver">DragSource</a></td>
  540. </tr>
  541. <tr class="method-row inherited alt expandable">
  542. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  543. <td class="sig">
  544. <a id="Ext.tree.TreeDragZone-afterInvalidDrop"></a>
  545. <b>afterInvalidDrop</b>(&nbsp;<code>Event e</code>, <code>String id</code>&nbsp;) : void <div class="mdesc">
  546. <div class="short">An empty function by default, but provided so that you can perform a custom action
  547. after an invalid drop has occurred...</div>
  548. <div class="long">
  549. An empty function by default, but provided so that you can perform a custom action
  550. after an invalid drop has occurred by providing an implementation. <div class="mdetail-params">
  551. <strong>Parameters:</strong>
  552. <ul><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dropped element</div></li> </ul>
  553. <strong>Returns:</strong>
  554. <ul>
  555. <li><code>void</code></li>
  556. </ul>
  557. </div>
  558. </div>
  559. </div>
  560. </td>
  561. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#afterInvalidDrop" href="output/Ext.dd.DragSource.html#afterInvalidDrop">DragSource</a></td>
  562. </tr>
  563. <tr class="method-row inherited expandable">
  564. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  565. <td class="sig">
  566. <a id="Ext.tree.TreeDragZone-afterRepair"></a>
  567. <b>afterRepair</b>() : void <div class="mdesc">
  568. <div class="short">Called after a repair of an invalid drop. By default, highlights this.dragData.ddel</div>
  569. <div class="long">
  570. Called after a repair of an invalid drop. By default, highlights this.dragData.ddel <div class="mdetail-params">
  571. <strong>Parameters:</strong>
  572. <ul><li>None.</li> </ul>
  573. <strong>Returns:</strong>
  574. <ul>
  575. <li><code>void</code></li>
  576. </ul>
  577. </div>
  578. </div>
  579. </div>
  580. </td>
  581. <td class="msource"><a ext:cls="Ext.dd.DragZone" ext:member="#afterRepair" href="output/Ext.dd.DragZone.html#afterRepair">DragZone</a></td>
  582. </tr>
  583. <tr class="method-row inherited alt expandable">
  584. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  585. <td class="sig">
  586. <a id="Ext.tree.TreeDragZone-alignElWithMouse"></a>
  587. <b>alignElWithMouse</b>(&nbsp;<code>HTMLElement el</code>, <code>int iPageX</code>, <code>int iPageY</code>&nbsp;) : void <div class="mdesc">
  588. <div class="short">Sets the element to the location of the mousedown or click event,
  589. maintaining the cursor location relative to the loc...</div>
  590. <div class="long">
  591. Sets the element to the location of the mousedown or click event,
  592. maintaining the cursor location relative to the location on the element
  593. that was clicked. Override this if you want to place the element in a
  594. location other than where the cursor is. <div class="mdetail-params">
  595. <strong>Parameters:</strong>
  596. <ul><li><code>el</code> : HTMLElement<div class="sub-desc">the element to move</div></li><li><code>iPageX</code> : int<div class="sub-desc">the X coordinate of the mousedown or drag event</div></li><li><code>iPageY</code> : int<div class="sub-desc">the Y coordinate of the mousedown or drag event</div></li> </ul>
  597. <strong>Returns:</strong>
  598. <ul>
  599. <li><code>void</code></li>
  600. </ul>
  601. </div>
  602. </div>
  603. </div>
  604. </td>
  605. <td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#alignElWithMouse" href="output/Ext.dd.DD.html#alignElWithMouse">DD</a></td>
  606. </tr>
  607. <tr class="method-row inherited expandable">
  608. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  609. <td class="sig">
  610. <a id="Ext.tree.TreeDragZone-applyConfig"></a>
  611. <b>applyConfig</b>() : void <div class="mdesc">
  612. <div class="short">Applies the configuration parameters that were passed into the constructor.
  613. This is supposed to happen at each level ...</div>
  614. <div class="long">
  615. Applies the configuration parameters that were passed into the constructor.
  616. This is supposed to happen at each level through the inheritance chain. So
  617. a DDProxy implentation will execute apply config on DDProxy, DD, and
  618. DragDrop in order to get all of the parameters that are available in
  619. each object. <div class="mdetail-params">
  620. <strong>Parameters:</strong>
  621. <ul><li>None.</li> </ul>
  622. <strong>Returns:</strong>
  623. <ul>
  624. <li><code>void</code></li>
  625. </ul>
  626. </div>
  627. </div>
  628. </div>
  629. </td>
  630. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#applyConfig" href="output/Ext.dd.DragDrop.html#applyConfig">DragDrop</a></td>
  631. </tr>
  632. <tr class="method-row inherited alt expandable">
  633. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  634. <td class="sig">
  635. <a id="Ext.tree.TreeDragZone-autoOffset"></a>
  636. <b>autoOffset</b>(&nbsp;<code>int iPageX</code>, <code>int iPageY</code>&nbsp;) : void <div class="mdesc">
  637. <div class="short">Sets the pointer offset to the distance between the linked element's top
  638. left corner and the location the element was...</div>
  639. <div class="long">
  640. Sets the pointer offset to the distance between the linked element's top
  641. left corner and the location the element was clicked <div class="mdetail-params">
  642. <strong>Parameters:</strong>
  643. <ul><li><code>iPageX</code> : int<div class="sub-desc">the X coordinate of the click</div></li><li><code>iPageY</code> : int<div class="sub-desc">the Y coordinate of the click</div></li> </ul>
  644. <strong>Returns:</strong>
  645. <ul>
  646. <li><code>void</code></li>
  647. </ul>
  648. </div>
  649. </div>
  650. </div>
  651. </td>
  652. <td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#autoOffset" href="output/Ext.dd.DD.html#autoOffset">DD</a></td>
  653. </tr>
  654. <tr class="method-row inherited expandable">
  655. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  656. <td class="sig">
  657. <a id="Ext.tree.TreeDragZone-beforeDragDrop"></a>
  658. <b>beforeDragDrop</b>(&nbsp;<code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code>&nbsp;) : Boolean <div class="mdesc">
  659. <div class="short">An empty function by default, but provided so that you can perform a custom action before the dragged
  660. item is dropped...</div>
  661. <div class="long">
  662. An empty function by default, but provided so that you can perform a custom action before the dragged
  663. item is dropped onto the target and optionally cancel the onDragDrop. <div class="mdetail-params">
  664. <strong>Parameters:</strong>
  665. <ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
  666. <strong>Returns:</strong>
  667. <ul>
  668. <li><code>Boolean</code><div class="sub-desc">isValid True if the drag drop event is valid, else false to cancel</div></li>
  669. </ul>
  670. </div>
  671. </div>
  672. </div>
  673. </td>
  674. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeDragDrop" href="output/Ext.dd.DragSource.html#beforeDragDrop">DragSource</a></td>
  675. </tr>
  676. <tr class="method-row inherited alt expandable">
  677. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  678. <td class="sig">
  679. <a id="Ext.tree.TreeDragZone-beforeDragEnter"></a>
  680. <b>beforeDragEnter</b>(&nbsp;<code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code>&nbsp;) : Boolean <div class="mdesc">
  681. <div class="short">An empty function by default, but provided so that you can perform a custom action
  682. before the dragged item enters the...</div>
  683. <div class="long">
  684. An empty function by default, but provided so that you can perform a custom action
  685. before the dragged item enters the drop target and optionally cancel the onDragEnter. <div class="mdetail-params">
  686. <strong>Parameters:</strong>
  687. <ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
  688. <strong>Returns:</strong>
  689. <ul>
  690. <li><code>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li>
  691. </ul>
  692. </div>
  693. </div>
  694. </div>
  695. </td>
  696. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeDragEnter" href="output/Ext.dd.DragSource.html#beforeDragEnter">DragSource</a></td>
  697. </tr>
  698. <tr class="method-row inherited expandable">
  699. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  700. <td class="sig">
  701. <a id="Ext.tree.TreeDragZone-beforeDragOut"></a>
  702. <b>beforeDragOut</b>(&nbsp;<code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code>&nbsp;) : Boolean <div class="mdesc">
  703. <div class="short">An empty function by default, but provided so that you can perform a custom action before the dragged
  704. item is dragged...</div>
  705. <div class="long">
  706. An empty function by default, but provided so that you can perform a custom action before the dragged
  707. item is dragged out of the target without dropping, and optionally cancel the onDragOut. <div class="mdetail-params">
  708. <strong>Parameters:</strong>
  709. <ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
  710. <strong>Returns:</strong>
  711. <ul>
  712. <li><code>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li>
  713. </ul>
  714. </div>
  715. </div>
  716. </div>
  717. </td>
  718. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeDragOut" href="output/Ext.dd.DragSource.html#beforeDragOut">DragSource</a></td>
  719. </tr>
  720. <tr class="method-row inherited alt expandable">
  721. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  722. <td class="sig">
  723. <a id="Ext.tree.TreeDragZone-beforeDragOver"></a>
  724. <b>beforeDragOver</b>(&nbsp;<code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code>&nbsp;) : Boolean <div class="mdesc">
  725. <div class="short">An empty function by default, but provided so that you can perform a custom action
  726. while the dragged item is over the...</div>
  727. <div class="long">
  728. An empty function by default, but provided so that you can perform a custom action
  729. while the dragged item is over the drop target and optionally cancel the onDragOver. <div class="mdetail-params">
  730. <strong>Parameters:</strong>
  731. <ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
  732. <strong>Returns:</strong>
  733. <ul>
  734. <li><code>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li>
  735. </ul>
  736. </div>
  737. </div>
  738. </div>
  739. </td>
  740. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeDragOver" href="output/Ext.dd.DragSource.html#beforeDragOver">DragSource</a></td>
  741. </tr>
  742. <tr class="method-row inherited expandable">
  743. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  744. <td class="sig">
  745. <a id="Ext.tree.TreeDragZone-beforeInvalidDrop"></a>
  746. <b>beforeInvalidDrop</b>(&nbsp;<code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code>&nbsp;) : Boolean <div class="mdesc">
  747. <div class="short">An empty function by default, but provided so that you can perform a custom action after an invalid
  748. drop has occurred.</div>
  749. <div class="long">
  750. An empty function by default, but provided so that you can perform a custom action after an invalid
  751. drop has occurred. <div class="mdetail-params">
  752. <strong>Parameters:</strong>
  753. <ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</div></li> </ul>
  754. <strong>Returns:</strong>
  755. <ul>
  756. <li><code>Boolean</code><div class="sub-desc">isValid True if the invalid drop should proceed, else false to cancel</div></li>
  757. </ul>
  758. </div>
  759. </div>
  760. </div>
  761. </td>
  762. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeInvalidDrop" href="output/Ext.dd.DragSource.html#beforeInvalidDrop">DragSource</a></td>
  763. </tr>
  764. <tr class="method-row inherited alt expandable">
  765. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  766. <td class="sig">
  767. <a id="Ext.tree.TreeDragZone-cachePosition"></a>
  768. <b>cachePosition</b>(&nbsp;<code>iPageX the</code>, <code>iPageY the</code>&nbsp;) : void <div class="mdesc">
  769. <div class="short">Saves the most recent position so that we can reset the constraints and
  770. tick marks on-demand. We need to know this s...</div>
  771. <div class="long">
  772. Saves the most recent position so that we can reset the constraints and
  773. tick marks on-demand. We need to know this so that we can calculate the
  774. number of pixels the element is offset from its original position. <div class="mdetail-params">
  775. <strong>Parameters:</strong>
  776. <ul><li><code>the</code> : iPageX<div class="sub-desc">current x position (optional, this just makes it so we
  777. don't have to look it up again)</div></li><li><code>the</code> : iPageY<div class="sub-desc">current y position (optional, this just makes it so we
  778. don't have to look it up again)</div></li> </ul>
  779. <strong>Returns:</strong>
  780. <ul>
  781. <li><code>void</code></li>
  782. </ul>
  783. </div>
  784. </div>
  785. </div>
  786. </td>
  787. <td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#cachePosition" href="output/Ext.dd.DD.html#cachePosition">DD</a></td>
  788. </tr>
  789. <tr class="method-row inherited expandable">
  790. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  791. <td class="sig">
  792. <a id="Ext.tree.TreeDragZone-clearConstraints"></a>
  793. <b>clearConstraints</b>() : void <div class="mdesc">
  794. <div class="short">Clears any constraints applied to this instance. Also clears ticks
  795. since they can't exist independent of a constrain...</div>
  796. <div class="long">
  797. Clears any constraints applied to this instance. Also clears ticks
  798. since they can't exist independent of a constraint at this time. <div class="mdetail-params">
  799. <strong>Parameters:</strong>
  800. <ul><li>None.</li> </ul>
  801. <strong>Returns:</strong>
  802. <ul>
  803. <li><code>void</code></li>
  804. </ul>
  805. </div>
  806. </div>
  807. </div>
  808. </td>
  809. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#clearConstraints" href="output/Ext.dd.DragDrop.html#clearConstraints">DragDrop</a></td>
  810. </tr>
  811. <tr class="method-row inherited alt expandable">
  812. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  813. <td class="sig">
  814. <a id="Ext.tree.TreeDragZone-clearTicks"></a>
  815. <b>clearTicks</b>() : void <div class="mdesc">
  816. <div class="short">Clears any tick interval defined for this instance</div>
  817. <div class="long">
  818. Clears any tick interval defined for this instance <div class="mdetail-params">
  819. <strong>Parameters:</strong>
  820. <ul><li>None.</li> </ul>
  821. <strong>Returns:</strong>
  822. <ul>
  823. <li><code>void</code></li>
  824. </ul>
  825. </div>
  826. </div>
  827. </div>
  828. </td>
  829. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#clearTicks" href="output/Ext.dd.DragDrop.html#clearTicks">DragDrop</a></td>
  830. </tr>
  831. <tr class="method-row inherited expandable">
  832. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  833. <td class="sig">
  834. <a id="Ext.tree.TreeDragZone-createFrame"></a>
  835. <b>createFrame</b>() : void <div class="mdesc">
  836. <div class="short">Creates the proxy element if it does not yet exist</div>
  837. <div class="long">
  838. Creates the proxy element if it does not yet exist <div class="mdetail-params">
  839. <strong>Parameters:</strong>
  840. <ul><li>None.</li> </ul>
  841. <strong>Returns:</strong>
  842. <ul>
  843. <li><code>void</code></li>
  844. </ul>
  845. </div>
  846. </div>
  847. </div>
  848. </td>
  849. <td class="msource"><a ext:cls="Ext.dd.DDProxy" ext:member="#createFrame" href="output/Ext.dd.DDProxy.html#createFrame">DDProxy</a></td>
  850. </tr>
  851. <tr class="method-row inherited alt expandable">
  852. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  853. <td class="sig">
  854. <a id="Ext.tree.TreeDragZone-endDrag"></a>
  855. <b>endDrag</b>(&nbsp;<code>Event e</code>&nbsp;) : void <div class="mdesc">
  856. <div class="short">Fired when we are done dragging the object</div>
  857. <div class="long">
  858. Fired when we are done dragging the object <div class="mdetail-params">
  859. <strong>Parameters:</strong>
  860. <ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li> </ul>
  861. <strong>Returns:</strong>
  862. <ul>
  863. <li><code>void</code></li>
  864. </ul>
  865. </div>
  866. </div>
  867. </div>
  868. </td>
  869. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#endDrag" href="output/Ext.dd.DragDrop.html#endDrag">DragDrop</a></td>
  870. </tr>
  871. <tr class="method-row inherited expandable">
  872. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  873. <td class="sig">
  874. <a id="Ext.tree.TreeDragZone-getDragData"></a>
  875. <b>getDragData</b>() : Object <div class="mdesc">
  876. <div class="short">Returns the data object associated with this drag source</div>
  877. <div class="long">
  878. Returns the data object associated with this drag source <div class="mdetail-params">
  879. <strong>Parameters:</strong>
  880. <ul><li>None.</li> </ul>
  881. <strong>Returns:</strong>
  882. <ul>
  883. <li><code>Object</code><div class="sub-desc">data An object containing arbitrary data</div></li>
  884. </ul>
  885. </div>
  886. </div>
  887. </div>
  888. </td>
  889. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#getDragData" href="output/Ext.dd.DragSource.html#getDragData">DragSource</a></td>
  890. </tr>
  891. <tr class="method-row inherited alt expandable">
  892. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  893. <td class="sig">
  894. <a id="Ext.tree.TreeDragZone-getDragEl"></a>
  895. <b>getDragEl</b>() : HTMLElement <div class="mdesc">
  896. <div class="short">Returns a reference to the actual element to drag. By default this is
  897. the same as the html element, but it can be as...</div>
  898. <div class="long">
  899. Returns a reference to the actual element to drag. By default this is
  900. the same as the html element, but it can be assigned to another
  901. element. An example of this can be found in Ext.dd.DDProxy <div class="mdetail-params">
  902. <strong>Parameters:</strong>
  903. <ul><li>None.</li> </ul>
  904. <strong>Returns:</strong>
  905. <ul>
  906. <li><code>HTMLElement</code><div class="sub-desc">the html element</div></li>
  907. </ul>
  908. </div>
  909. </div>
  910. </div>
  911. </td>
  912. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#getDragEl" href="output/Ext.dd.DragDrop.html#getDragEl">DragDrop</a></td>
  913. </tr>
  914. <tr class="method-row inherited expandable">
  915. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  916. <td class="sig">
  917. <a id="Ext.tree.TreeDragZone-getEl"></a>
  918. <b>getEl</b>() : HTMLElement <div class="mdesc">
  919. <div class="short">Returns a reference to the linked element</div>
  920. <div class="long">
  921. Returns a reference to the linked element <div class="mdetail-params">
  922. <strong>Parameters:</strong>
  923. <ul><li>None.</li> </ul>
  924. <strong>Returns:</strong>
  925. <ul>
  926. <li><code>HTMLElement</code><div class="sub-desc">the html element</div></li>
  927. </ul>
  928. </div>
  929. </div>
  930. </div>
  931. </td>
  932. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#getEl" href="output/Ext.dd.DragDrop.html#getEl">DragDrop</a></td>
  933. </tr>
  934. <tr class="method-row inherited alt expandable">
  935. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  936. <td class="sig">
  937. <a id="Ext.tree.TreeDragZone-getProxy"></a>
  938. <b>getProxy</b>() : Ext.dd.StatusProxy <div class="mdesc">
  939. <div class="short">Returns the drag source's underlying <a ext:cls="Ext.dd.StatusProxy" href="output/Ext.dd.StatusProxy.html">Ext.dd.StatusProxy</a></div>
  940. <div class="long">
  941. Returns the drag source's underlying <a ext:cls="Ext.dd.StatusProxy" href="output/Ext.dd.StatusProxy.html">Ext.dd.StatusProxy</a> <div class="mdetail-params">
  942. <strong>Parameters:</strong>
  943. <ul><li>None.</li> </ul>
  944. <strong>Returns:</strong>
  945. <ul>
  946. <li><code>Ext.dd.StatusProxy</code><div class="sub-desc">proxy The StatusProxy</div></li>
  947. </ul>
  948. </div>
  949. </div>
  950. </div>
  951. </td>
  952. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#getProxy" href="output/Ext.dd.DragSource.html#getProxy">DragSource</a></td>
  953. </tr>
  954. <tr class="method-row inherited expandable">
  955. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  956. <td class="sig">
  957. <a id="Ext.tree.TreeDragZone-getRepairXY"></a>
  958. <b>getRepairXY</b>(&nbsp;<code>EventObject e</code>&nbsp;) : Array <div class="mdesc">
  959. <div class="short">Called before a repair of an invalid drop to get the XY to animate to. By default returns
  960. the XY of this.dragData.ddel</div>
  961. <div class="long">
  962. Called before a repair of an invalid drop to get the XY to animate to. By default returns
  963. the XY of this.dragData.ddel <div class="mdetail-params">
  964. <strong>Parameters:</strong>
  965. <ul><li><code>e</code> : EventObject<div class="sub-desc">The mouse up event</div></li> </ul>
  966. <strong>Returns:</strong>
  967. <ul>
  968. <li><code>Array</code><div class="sub-desc">The xy location (e.g. [100, 200])</div></li>
  969. </ul>
  970. </div>
  971. </div>
  972. </div>
  973. </td>
  974. <td class="msource"><a ext:cls="Ext.dd.DragZone" ext:member="#getRepairXY" href="output/Ext.dd.DragZone.html#getRepairXY">DragZone</a></td>
  975. </tr>
  976. <tr class="method-row inherited alt expandable">
  977. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  978. <td class="sig">
  979. <a id="Ext.tree.TreeDragZone-hideProxy"></a>
  980. <b>hideProxy</b>() : void <div class="mdesc">
  981. <div class="short">Hides the drag source's <a ext:cls="Ext.dd.StatusProxy" href="output/Ext.dd.StatusProxy.html">Ext.dd.StatusProxy</a></div>
  982. <div class="long">
  983. Hides the drag source's <a ext:cls="Ext.dd.StatusProxy" href="output/Ext.dd.StatusProxy.html">Ext.dd.StatusProxy</a> <div class="mdetail-params">
  984. <strong>Parameters:</strong>
  985. <ul><li>None.</li> </ul>
  986. <strong>Returns:</strong>
  987. <ul>
  988. <li><code>void</code></li>
  989. </ul>
  990. </div>
  991. </div>
  992. </div>
  993. </td>
  994. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#hideProxy" href="output/Ext.dd.DragSource.html#hideProxy">DragSource</a></td>
  995. </tr>
  996. <tr class="method-row inherited expandable">
  997. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  998. <td class="sig">
  999. <a id="Ext.tree.TreeDragZone-init"></a>
  1000. <b>init</b>(&nbsp;<code>id the</code>, <code>String sGroup</code>, <code>object config</code>&nbsp;) : void <div class="mdesc">
  1001. <div class="short">Sets up the DragDrop object. Must be called in the constructor of any
  1002. Ext.dd.DragDrop subclass</div>
  1003. <div class="long">
  1004. Sets up the DragDrop object. Must be called in the constructor of any
  1005. Ext.dd.DragDrop subclass <div class="mdetail-params">
  1006. <strong>Parameters:</strong>
  1007. <ul><li><code>the</code> : id<div class="sub-desc">id of the linked element</div></li><li><code>sGroup</code> : String<div class="sub-desc">the group of related items</div></li><li><code>config</code> : object<div class="sub-desc">configuration attributes</div></li> </ul>
  1008. <strong>Returns:</strong>
  1009. <ul>
  1010. <li><code>void</code></li>
  1011. </ul>
  1012. </div>
  1013. </div>
  1014. </div>
  1015. </td>
  1016. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#init" href="output/Ext.dd.DragDrop.html#init">DragDrop</a></td>
  1017. </tr>
  1018. <tr class="method-row inherited alt expandable">
  1019. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1020. <td class="sig">
  1021. <a id="Ext.tree.TreeDragZone-initFrame"></a>
  1022. <b>initFrame</b>() : void <div class="mdesc">
  1023. <div class="short">Initialization for the drag frame element. Must be called in the
  1024. constructor of all subclasses</div>
  1025. <div class="long">
  1026. Initialization for the drag frame element. Must be called in the
  1027. constructor of all subclasses <div class="mdetail-params">
  1028. <strong>Parameters:</strong>
  1029. <ul><li>None.</li> </ul>
  1030. <strong>Returns:</strong>
  1031. <ul>
  1032. <li><code>void</code></li>
  1033. </ul>
  1034. </div>
  1035. </div>
  1036. </div>
  1037. </td>
  1038. <td class="msource"><a ext:cls="Ext.dd.DDProxy" ext:member="#initFrame" href="output/Ext.dd.DDProxy.html#initFrame">DDProxy</a></td>
  1039. </tr>
  1040. <tr class="method-row inherited expandable">
  1041. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1042. <td class="sig">
  1043. <a id="Ext.tree.TreeDragZone-initTarget"></a>
  1044. <b>initTarget</b>(&nbsp;<code>id the</code>, <code>String sGroup</code>, <code>object config</code>&nbsp;) : void <div class="mdesc">
  1045. <div class="short">Initializes Targeting functionality only... the object does not
  1046. get a mousedown handler.</div>
  1047. <div class="long">
  1048. Initializes Targeting functionality only... the object does not
  1049. get a mousedown handler. <div class="mdetail-params">
  1050. <strong>Parameters:</strong>
  1051. <ul><li><code>the</code> : id<div class="sub-desc">id of the linked element</div></li><li><code>sGroup</code> : String<div class="sub-desc">the group of related items</div></li><li><code>config</code> : object<div class="sub-desc">configuration attributes</div></li> </ul>
  1052. <strong>Returns:</strong>
  1053. <ul>
  1054. <li><code>void</code></li>
  1055. </ul>
  1056. </div>
  1057. </div>
  1058. </div>
  1059. </td>
  1060. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#initTarget" href="output/Ext.dd.DragDrop.html#initTarget">DragDrop</a></td>
  1061. </tr>
  1062. <tr class="method-row inherited alt expandable">
  1063. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1064. <td class="sig">
  1065. <a id="Ext.tree.TreeDragZone-isLocked"></a>
  1066. <b>isLocked</b>() : boolean <div class="mdesc">
  1067. <div class="short">Returns true if this instance is locked, or the drag drop mgr is locked
  1068. (meaning that all drag/drop is disabled on th...</div>
  1069. <div class="long">
  1070. Returns true if this instance is locked, or the drag drop mgr is locked
  1071. (meaning that all drag/drop is disabled on the page.) <div class="mdetail-params">
  1072. <strong>Parameters:</strong>
  1073. <ul><li>None.</li> </ul>
  1074. <strong>Returns:</strong>
  1075. <ul>
  1076. <li><code>boolean</code><div class="sub-desc">true if this obj or all drag/drop is locked, else false</div></li>
  1077. </ul>
  1078. </div>
  1079. </div>
  1080. </div>
  1081. </td>
  1082. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isLocked" href="output/Ext.dd.DragDrop.html#isLocked">DragDrop</a></td>
  1083. </tr>
  1084. <tr class="method-row inherited expandable">
  1085. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1086. <td class="sig">
  1087. <a id="Ext.tree.TreeDragZone-isValidHandleChild"></a>
  1088. <b>isValidHandleChild</b>(&nbsp;<code>HTMLElement node</code>&nbsp;) : boolean <div class="mdesc">
  1089. <div class="short">Checks the tag exclusion list to see if this click should be ignored</div>
  1090. <div class="long">
  1091. Checks the tag exclusion list to see if this click should be ignored <div class="mdetail-params">
  1092. <strong>Parameters:</strong>
  1093. <ul><li><code>node</code> : HTMLElement<div class="sub-desc">the HTMLElement to evaluate</div></li> </ul>
  1094. <strong>Returns:</strong>
  1095. <ul>
  1096. <li><code>boolean</code><div class="sub-desc">true if this is a valid tag type, false if not</div></li>
  1097. </ul>
  1098. </div>
  1099. </div>
  1100. </div>
  1101. </td>
  1102. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isValidHandleChild" href="output/Ext.dd.DragDrop.html#isValidHandleChild">DragDrop</a></td>
  1103. </tr>
  1104. <tr class="method-row inherited alt expandable">
  1105. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1106. <td class="sig">
  1107. <a id="Ext.tree.TreeDragZone-lock"></a>
  1108. <b>lock</b>() : void <div class="mdesc">
  1109. <div class="short">Lock this instance</div>
  1110. <div class="long">
  1111. Lock this instance <div class="mdetail-params">
  1112. <strong>Parameters:</strong>
  1113. <ul><li>None.</li> </ul>
  1114. <strong>Returns:</strong>
  1115. <ul>
  1116. <li><code>void</code></li>
  1117. </ul>
  1118. </div>
  1119. </div>
  1120. </div>
  1121. </td>
  1122. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#lock" href="output/Ext.dd.DragDrop.html#lock">DragDrop</a></td>
  1123. </tr>
  1124. <tr class="method-row inherited expandable">
  1125. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1126. <td class="sig">
  1127. <a id="Ext.tree.TreeDragZone-onAvailable"></a>
  1128. <b>onAvailable</b>() : void <div class="mdesc">
  1129. <div class="short">Override the onAvailable method to do what is needed after the initial
  1130. position was determined.</div>
  1131. <div class="long">
  1132. Override the onAvailable method to do what is needed after the initial
  1133. position was determined. <div class="mdetail-params">
  1134. <strong>Parameters:</strong>
  1135. <ul><li>None.</li> </ul>
  1136. <strong>Returns:</strong>
  1137. <ul>
  1138. <li><code>void</code></li>
  1139. </ul>
  1140. </div>
  1141. </div>
  1142. </div>
  1143. </td>
  1144. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onAvailable" href="output/Ext.dd.DragDrop.html#onAvailable">DragDrop</a></td>
  1145. </tr>
  1146. <tr class="method-row inherited alt expandable">
  1147. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1148. <td class="sig">
  1149. <a id="Ext.tree.TreeDragZone-onBeforeDrag"></a>
  1150. <b>onBeforeDrag</b>(&nbsp;<code>Object data</code>, <code>Event e</code>&nbsp;) : Boolean <div class="mdesc">
  1151. <div class="short">An empty function by default, but provided so that you can perform a custom action before the initial
  1152. drag event begi...</div>
  1153. <div class="long">
  1154. An empty function by default, but provided so that you can perform a custom action before the initial
  1155. drag event begins and optionally cancel it. <div class="mdetail-params">
  1156. <strong>Parameters:</strong>
  1157. <ul><li><code>data</code> : Object<div class="sub-desc">An object containing arbitrary data to be shared with drop targets</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li> </ul>
  1158. <strong>Returns:</strong>
  1159. <ul>
  1160. <li><code>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li>
  1161. </ul>
  1162. </div>
  1163. </div>
  1164. </div>
  1165. </td>
  1166. <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#onBeforeDrag" href="output/Ext.dd.DragSource.html#onBeforeDrag">DragSource</a></td>
  1167. </tr>
  1168. <tr class="method-row inherited expandable">
  1169. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1170. <td class="sig">
  1171. <a id="Ext.tree.TreeDragZone-onDrag"></a>
  1172. <b>onDrag</b>(&nbsp;<code>Event e</code>&nbsp;) : void <div class="mdesc">
  1173. <div class="short">Abstract method called during the onMouseMove event while dragging an
  1174. object.</div>
  1175. <div class="long">
  1176. Abstract method called during the onMouseMove event while dragging an
  1177. object. <div class="mdetail-params">
  1178. <strong>Parameters:</strong>
  1179. <ul><li><code>e</code> : Event<div class="sub-desc">the mousemove event</div></li> </ul>
  1180. <strong>Returns:</strong>
  1181. <ul>
  1182. <li><code>void</code></li>
  1183. </ul>
  1184. </div>
  1185. </div>
  1186. </div>
  1187. </td>
  1188. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDrag" href="output/Ext.dd.DragDrop.html#onDrag">DragDrop</a></td>
  1189. </tr>
  1190. <tr class="method-row inherited alt expandable">
  1191. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1192. <td class="sig">
  1193. <a id="Ext.tree.TreeDragZone-onDragDrop"></a>
  1194. <b>onDragDrop</b>(&nbsp;<code>Event e</code>, <code>String|DragDrop[] id</code>&nbsp;) : void <div class="mdesc">
  1195. <div class="short">Abstract method called when this item is dropped on another DragDrop
  1196. obj</div>
  1197. <div class="long">
  1198. Abstract method called when this item is dropped on another DragDrop
  1199. obj <div class="mdetail-params">
  1200. <strong>Parameters:</strong>
  1201. <ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li><li><code>id</code> : String|DragDrop[]<div class="sub-desc">In POINT mode, the element
  1202. id this was dropped on. In INTERSECT mode, an array of dd items this
  1203. was dropped on.</div></li> </ul>
  1204. <strong>Returns:</strong>
  1205. <ul>
  1206. <li><code>void</code></li>
  1207. </ul>
  1208. </div>
  1209. </div>
  1210. </div>
  1211. </td>
  1212. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragDrop" href="output/Ext.dd.DragDrop.html#onDragDrop">DragDrop</a></td>
  1213. </tr>
  1214. <tr class="method-row inherited expandable">
  1215. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1216. <td class="sig">
  1217. <a id="Ext.tree.TreeDragZone-onDragEnter"></a>
  1218. <b>onDragEnter</b>(&nbsp;<code>Event e</code>, <code>String|DragDrop[] id</code>&nbsp;) : void <div class="mdesc">
  1219. <div class="short">Abstract method called when this element fist begins hovering over
  1220. another DragDrop obj</div>
  1221. <div class="long">
  1222. Abstract method called when this element fist begins hovering over
  1223. another DragDrop obj <div class="mdetail-params">
  1224. <strong>Parameters:</strong>
  1225. <ul><li><code>e</code> : Event<div class="sub-desc">the mousemove event</div></li><li><code>id</code> : String|DragDrop[]<div class="sub-desc">In POINT mode, the element
  1226. id this is hovering over. In INTERSECT mode, an array of one or more
  1227. dragdrop items being hovered over.</div></li> </ul>
  1228. <strong>Returns:</strong>
  1229. <ul>
  1230. <li><code>void</code></li>
  1231. </ul>
  1232. </div>
  1233. </div>
  1234. </div>
  1235. </td>
  1236. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragEnter" href="output/Ext.dd.DragDrop.html#onDragEnter">DragDrop</a></td>
  1237. </tr>
  1238. <tr class="method-row inherited alt expandable">
  1239. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1240. <td class="sig">
  1241. <a id="Ext.tree.TreeDragZone-onDragOut"></a>
  1242. <b>onDragOut</b>(&nbsp;<code>Event e</code>, <code>String|DragDrop[] id</code>&nbsp;) : void <div class="mdesc">
  1243. <div class="short">Abstract method called when we are no longer hovering over an element</div>
  1244. <div class="long">
  1245. Abstract method called when we are no longer hovering over an element <div class="mdetail-params">
  1246. <strong>Parameters:</strong>
  1247. <ul><li><code>e</code> : Event<div class="sub-desc">the mousemove event</div></li><li><code>id</code> : String|DragDrop[]<div class="sub-desc">In POINT mode, the element
  1248. id this was hovering over. In INTERSECT mode, an array of dd items
  1249. that the mouse is no longer over.</div></li> </ul>
  1250. <strong>Returns:</strong>
  1251. <ul>
  1252. <li><code>void</code></li>
  1253. </ul>
  1254. </div>
  1255. </div>
  1256. </div>
  1257. </td>
  1258. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragOut" href="output/Ext.dd.DragDrop.html#onDragOut">DragDrop</a></td>
  1259. </tr>
  1260. <tr class="method-row inherited expandable">
  1261. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1262. <td class="sig">
  1263. <a id="Ext.tree.TreeDragZone-onDragOver"></a>
  1264. <b>onDragOver</b>(&nbsp;<code>Event e</code>, <code>String|DragDrop[] id</code>&nbsp;) : void <div class="mdesc">
  1265. <div class="short">Abstract method called when this element is hovering over another
  1266. DragDrop obj</div>
  1267. <div class="long">
  1268. Abstract method called when this element is hovering over another
  1269. DragDrop obj <div class="mdetail-params">
  1270. <strong>Parameters:</strong>
  1271. <ul><li><code>e</code> : Event<div class="sub-desc">the mousemove event</div></li><li><code>id</code> : String|DragDrop[]<div class="sub-desc">In POINT mode, the element
  1272. id this is hovering over. In INTERSECT mode, an array of dd items
  1273. being hovered over.</div></li> </ul>
  1274. <strong>Returns:</strong>
  1275. <ul>
  1276. <li><code>void</code></li>
  1277. </ul>
  1278. </div>
  1279. </div>
  1280. </div>
  1281. </td>
  1282. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onDragOver" href="output/Ext.dd.DragDrop.html#onDragOver">DragDrop</a></td>
  1283. </tr>
  1284. <tr class="method-row inherited alt expandable">
  1285. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1286. <td class="sig">
  1287. <a id="Ext.tree.TreeDragZone-onInitDrag"></a>
  1288. <b>onInitDrag</b>(&nbsp;<code>Number x</code>, <code>Number y</code>&nbsp;) : Boolean <div class="mdesc">
  1289. <div class="short">Called once drag threshold has been reached to initialize the proxy element. By default, it clones the
  1290. this.dragData....</div>
  1291. <div class="long">
  1292. Called once drag threshold has been reached to initialize the proxy element. By default, it clones the
  1293. this.dragData.ddel <div class="mdetail-params">
  1294. <strong>Parameters:</strong>
  1295. <ul><li><code>x</code> : Number<div class="sub-desc">The x position of the click on the dragged object</div></li><li><code>y</code> : Number<div class="sub-desc">The y position of the click on the dragged object</div></li> </ul>
  1296. <strong>Returns:</strong>
  1297. <ul>
  1298. <li><code>Boolean</code><div class="sub-desc">true to continue the drag, false to cancel</div></li>
  1299. </ul>
  1300. </div>
  1301. </div>
  1302. </div>
  1303. </td>
  1304. <td class="msource"><a ext:cls="Ext.dd.DragZone" ext:member="#onInitDrag" href="output/Ext.dd.DragZone.html#onInitDrag">DragZone</a></td>
  1305. </tr>
  1306. <tr class="method-row inherited expandable">
  1307. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1308. <td class="sig">
  1309. <a id="Ext.tree.TreeDragZone-onInvalidDrop"></a>
  1310. <b>onInvalidDrop</b>(&nbsp;<code>Event e</code>&nbsp;) : void <div class="mdesc">
  1311. <div class="short">Abstract method called when this item is dropped on an area with no
  1312. drop target</div>
  1313. <div class="long">
  1314. Abstract method called when this item is dropped on an area with no
  1315. drop target <div class="mdetail-params">
  1316. <strong>Parameters:</strong>
  1317. <ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li> </ul>
  1318. <strong>Returns:</strong>
  1319. <ul>
  1320. <li><code>void</code></li>
  1321. </ul>
  1322. </div>
  1323. </div>
  1324. </div>
  1325. </td>
  1326. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onInvalidDrop" href="output/Ext.dd.DragDrop.html#onInvalidDrop">DragDrop</a></td>
  1327. </tr>
  1328. <tr class="method-row inherited alt expandable">
  1329. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1330. <td class="sig">
  1331. <a id="Ext.tree.TreeDragZone-onMouseDown"></a>
  1332. <b>onMouseDown</b>(&nbsp;<code>Event e</code>&nbsp;) : void <div class="mdesc">
  1333. <div class="short">Event handler that fires when a drag/drop obj gets a mousedown</div>
  1334. <div class="long">
  1335. Event handler that fires when a drag/drop obj gets a mousedown <div class="mdetail-params">
  1336. <strong>Parameters:</strong>
  1337. <ul><li><code>e</code> : Event<div class="sub-desc">the mousedown event</div></li> </ul>
  1338. <strong>Returns:</strong>
  1339. <ul>
  1340. <li><code>void</code></li>
  1341. </ul>
  1342. </div>
  1343. </div>
  1344. </div>
  1345. </td>
  1346. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onMouseDown" href="output/Ext.dd.DragDrop.html#onMouseDown">DragDrop</a></td>
  1347. </tr>
  1348. <tr class="method-row inherited expandable">
  1349. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1350. <td class="sig">
  1351. <a id="Ext.tree.TreeDragZone-onMouseUp"></a>
  1352. <b>onMouseUp</b>(&nbsp;<code>Event e</code>&nbsp;) : void <div class="mdesc">
  1353. <div class="short">Event handler that fires when a drag/drop obj gets a mouseup</div>
  1354. <div class="long">
  1355. Event handler that fires when a drag/drop obj gets a mouseup <div class="mdetail-params">
  1356. <strong>Parameters:</strong>
  1357. <ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li> </ul>
  1358. <strong>Returns:</strong>
  1359. <ul>
  1360. <li><code>void</code></li>
  1361. </ul>
  1362. </div>
  1363. </div>
  1364. </div>
  1365. </td>
  1366. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#onMouseUp" href="output/Ext.dd.DragDrop.html#onMouseUp">DragDrop</a></td>
  1367. </tr>
  1368. <tr class="method-row inherited alt expandable">
  1369. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1370. <td class="sig">
  1371. <a id="Ext.tree.TreeDragZone-removeFromGroup"></a>
  1372. <b>removeFromGroup</b>(&nbsp;<code>string sGroup</code>&nbsp;) : void <div class="mdesc">
  1373. <div class="short">Remove's this instance from the supplied interaction group</div>
  1374. <div class="long">
  1375. Remove's this instance from the supplied interaction group <div class="mdetail-params">
  1376. <strong>Parameters:</strong>
  1377. <ul><li><code>sGroup</code> : string<div class="sub-desc">The group to drop</div></li> </ul>
  1378. <strong>Returns:</strong>
  1379. <ul>
  1380. <li><code>void</code></li>
  1381. </ul>
  1382. </div>
  1383. </div>
  1384. </div>
  1385. </td>
  1386. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeFromGroup" href="output/Ext.dd.DragDrop.html#removeFromGroup">DragDrop</a></td>
  1387. </tr>
  1388. <tr class="method-row inherited expandable">
  1389. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1390. <td class="sig">
  1391. <a id="Ext.tree.TreeDragZone-removeInvalidHandleClass"></a>
  1392. <b>removeInvalidHandleClass</b>(&nbsp;<code>string cssClass</code>&nbsp;) : void <div class="mdesc">
  1393. <div class="short">Unsets an invalid css class</div>
  1394. <div class="long">
  1395. Unsets an invalid css class <div class="mdetail-params">
  1396. <strong>Parameters:</strong>
  1397. <ul><li><code>cssClass</code> : string<div class="sub-desc">the class of the element(s) you wish to
  1398. re-enable</div></li> </ul>
  1399. <strong>Returns:</strong>
  1400. <ul>
  1401. <li><code>void</code></li>
  1402. </ul>
  1403. </div>
  1404. </div>
  1405. </div>
  1406. </td>
  1407. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeInvalidHandleClass" href="output/Ext.dd.DragDrop.html#removeInvalidHandleClass">DragDrop</a></td>
  1408. </tr>
  1409. <tr class="method-row inherited alt expandable">
  1410. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1411. <td class="sig">
  1412. <a id="Ext.tree.TreeDragZone-removeInvalidHandleId"></a>
  1413. <b>removeInvalidHandleId</b>(&nbsp;<code>string id</code>&nbsp;) : void <div class="mdesc">
  1414. <div class="short">Unsets an invalid handle id</div>
  1415. <div class="long">
  1416. Unsets an invalid handle id <div class="mdetail-params">
  1417. <strong>Parameters:</strong>
  1418. <ul><li><code>id</code> : string<div class="sub-desc">the id of the element to re-enable</div></li> </ul>
  1419. <strong>Returns:</strong>
  1420. <ul>
  1421. <li><code>void</code></li>
  1422. </ul>
  1423. </div>
  1424. </div>
  1425. </div>
  1426. </td>
  1427. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeInvalidHandleId" href="output/Ext.dd.DragDrop.html#removeInvalidHandleId">DragDrop</a></td>
  1428. </tr>
  1429. <tr class="method-row inherited expandable">
  1430. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1431. <td class="sig">
  1432. <a id="Ext.tree.TreeDragZone-removeInvalidHandleType"></a>
  1433. <b>removeInvalidHandleType</b>(&nbsp;<code>string tagName</code>&nbsp;) : void <div class="mdesc">
  1434. <div class="short">Unsets an excluded tag name set by addInvalidHandleType</div>
  1435. <div class="long">
  1436. Unsets an excluded tag name set by addInvalidHandleType <div class="mdetail-params">
  1437. <strong>Parameters:</strong>
  1438. <ul><li><code>tagName</code> : string<div class="sub-desc">the type of element to unexclude</div></li> </ul>
  1439. <strong>Returns:</strong>
  1440. <ul>
  1441. <li><code>void</code></li>
  1442. </ul>
  1443. </div>
  1444. </div>
  1445. </div>
  1446. </td>
  1447. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#removeInvalidHandleType" href="output/Ext.dd.DragDrop.html#removeInvalidHandleType">DragDrop</a></td>
  1448. </tr>
  1449. <tr class="method-row inherited alt expandable">
  1450. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1451. <td class="sig">
  1452. <a id="Ext.tree.TreeDragZone-resetConstraints"></a>
  1453. <b>resetConstraints</b>(&nbsp;<code>boolean maintainOffset</code>&nbsp;) : void <div class="mdesc">
  1454. <div class="short">resetConstraints must be called if you manually reposition a dd element.</div>
  1455. <div class="long">
  1456. resetConstraints must be called if you manually reposition a dd element. <div class="mdetail-params">
  1457. <strong>Parameters:</strong>
  1458. <ul><li><code>maintainOffset</code> : boolean<div class="sub-desc"></div></li> </ul>
  1459. <strong>Returns:</strong>
  1460. <ul>
  1461. <li><code>void</code></li>
  1462. </ul>
  1463. </div>
  1464. </div>
  1465. </div>
  1466. </td>
  1467. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#resetConstraints" href="output/Ext.dd.DragDrop.html#resetConstraints">DragDrop</a></td>
  1468. </tr>
  1469. <tr class="method-row inherited expandable">
  1470. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1471. <td class="sig">
  1472. <a id="Ext.tree.TreeDragZone-setDelta"></a>
  1473. <b>setDelta</b>(&nbsp;<code>int iDeltaX</code>, <code>int iDeltaY</code>&nbsp;) : void <div class="mdesc">
  1474. <div class="short">Sets the pointer offset. You can call this directly to force the
  1475. offset to be in a particular location (e.g., pass i...</div>
  1476. <div class="long">
  1477. Sets the pointer offset. You can call this directly to force the
  1478. offset to be in a particular location (e.g., pass in 0,0 to set it
  1479. to the center of the object) <div class="mdetail-params">
  1480. <strong>Parameters:</strong>
  1481. <ul><li><code>iDeltaX</code> : int<div class="sub-desc">the distance from the left</div></li><li><code>iDeltaY</code> : int<div class="sub-desc">the distance from the top</div></li> </ul>
  1482. <strong>Returns:</strong>
  1483. <ul>
  1484. <li><code>void</code></li>
  1485. </ul>
  1486. </div>
  1487. </div>
  1488. </div>
  1489. </td>
  1490. <td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#setDelta" href="output/Ext.dd.DD.html#setDelta">DD</a></td>
  1491. </tr>
  1492. <tr class="method-row inherited alt expandable">
  1493. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1494. <td class="sig">
  1495. <a id="Ext.tree.TreeDragZone-setDragElId"></a>
  1496. <b>setDragElId</b>(&nbsp;<code>id {string}</code>&nbsp;) : void <div class="mdesc">
  1497. <div class="short">Allows you to specify that an element other than the linked element
  1498. will be moved with the cursor during a drag</div>
  1499. <div class="long">
  1500. Allows you to specify that an element other than the linked element
  1501. will be moved with the cursor during a drag <div class="mdetail-params">
  1502. <strong>Parameters:</strong>
  1503. <ul><li><code>{string}</code> : id<div class="sub-desc">the id of the element that will be used to initiate the drag</div></li> </ul>
  1504. <strong>Returns:</strong>
  1505. <ul>
  1506. <li><code>void</code></li>
  1507. </ul>
  1508. </div>
  1509. </div>
  1510. </div>
  1511. </td>
  1512. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setDragElId" href="output/Ext.dd.DragDrop.html#setDragElId">DragDrop</a></td>
  1513. </tr>
  1514. <tr class="method-row inherited expandable">
  1515. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1516. <td class="sig">
  1517. <a id="Ext.tree.TreeDragZone-setDragElPos"></a>
  1518. <b>setDragElPos</b>(&nbsp;<code>int iPageX</code>, <code>int iPageY</code>&nbsp;) : void <div class="mdesc">
  1519. <div class="short">Sets the drag element to the location of the mousedown or click event,
  1520. maintaining the cursor location relative to th...</div>
  1521. <div class="long">
  1522. Sets the drag element to the location of the mousedown or click event,
  1523. maintaining the cursor location relative to the location on the element
  1524. that was clicked. Override this if you want to place the element in a
  1525. location other than where the cursor is. <div class="mdetail-params">
  1526. <strong>Parameters:</strong>
  1527. <ul><li><code>iPageX</code> : int<div class="sub-desc">the X coordinate of the mousedown or drag event</div></li><li><code>iPageY</code> : int<div class="sub-desc">the Y coordinate of the mousedown or drag event</div></li> </ul>
  1528. <strong>Returns:</strong>
  1529. <ul>
  1530. <li><code>void</code></li>
  1531. </ul>
  1532. </div>
  1533. </div>
  1534. </div>
  1535. </td>
  1536. <td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#setDragElPos" href="output/Ext.dd.DD.html#setDragElPos">DD</a></td>
  1537. </tr>
  1538. <tr class="method-row inherited alt expandable">
  1539. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1540. <td class="sig">
  1541. <a id="Ext.tree.TreeDragZone-setHandleElId"></a>
  1542. <b>setHandleElId</b>(&nbsp;<code>id {string}</code>&nbsp;) : void <div class="mdesc">
  1543. <div class="short">Allows you to specify a child of the linked element that should be
  1544. used to initiate the drag operation. An example o...</div>
  1545. <div class="long">
  1546. Allows you to specify a child of the linked element that should be
  1547. used to initiate the drag operation. An example of this would be if
  1548. you have a content div with text and links. Clicking anywhere in the
  1549. content area would normally start the drag operation. Use this method
  1550. to specify that an element inside of the content div is the element
  1551. that starts the drag operation. <div class="mdetail-params">
  1552. <strong>Parameters:</strong>
  1553. <ul><li><code>{string}</code> : id<div class="sub-desc">the id of the element that will be used to
  1554. initiate the drag.</div></li> </ul>
  1555. <strong>Returns:</strong>
  1556. <ul>
  1557. <li><code>void</code></li>
  1558. </ul>
  1559. </div>
  1560. </div>
  1561. </div>
  1562. </td>
  1563. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setHandleElId" href="output/Ext.dd.DragDrop.html#setHandleElId">DragDrop</a></td>
  1564. </tr>
  1565. <tr class="method-row inherited expandable">
  1566. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1567. <td class="sig">
  1568. <a id="Ext.tree.TreeDragZone-setInitialPosition"></a>
  1569. <b>setInitialPosition</b>(&nbsp;<code>int diffX</code>, <code>int diffY</code>&nbsp;) : void <div class="mdesc">
  1570. <div class="short">Stores the initial placement of the linked element.</div>
  1571. <div class="long">
  1572. Stores the initial placement of the linked element. <div class="mdetail-params">
  1573. <strong>Parameters:</strong>
  1574. <ul><li><code>diffX</code> : int<div class="sub-desc">the X offset, default 0</div></li><li><code>diffY</code> : int<div class="sub-desc">the Y offset, default 0</div></li> </ul>
  1575. <strong>Returns:</strong>
  1576. <ul>
  1577. <li><code>void</code></li>
  1578. </ul>
  1579. </div>
  1580. </div>
  1581. </div>
  1582. </td>
  1583. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setInitialPosition" href="output/Ext.dd.DragDrop.html#setInitialPosition">DragDrop</a></td>
  1584. </tr>
  1585. <tr class="method-row inherited alt expandable">
  1586. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1587. <td class="sig">
  1588. <a id="Ext.tree.TreeDragZone-setOuterHandleElId"></a>
  1589. <b>setOuterHandleElId</b>(&nbsp;<code>id the</code>&nbsp;) : void <div class="mdesc">
  1590. <div class="short">Allows you to set an element outside of the linked element as a drag
  1591. handle</div>
  1592. <div class="long">
  1593. Allows you to set an element outside of the linked element as a drag
  1594. handle <div class="mdetail-params">
  1595. <strong>Parameters:</strong>
  1596. <ul><li><code>the</code> : id<div class="sub-desc">id of the element that will be used to initiate the drag</div></li> </ul>
  1597. <strong>Returns:</strong>
  1598. <ul>
  1599. <li><code>void</code></li>
  1600. </ul>
  1601. </div>
  1602. </div>
  1603. </div>
  1604. </td>
  1605. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setOuterHandleElId" href="output/Ext.dd.DragDrop.html#setOuterHandleElId">DragDrop</a></td>
  1606. </tr>
  1607. <tr class="method-row inherited expandable">
  1608. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1609. <td class="sig">
  1610. <a id="Ext.tree.TreeDragZone-setPadding"></a>
  1611. <b>setPadding</b>(&nbsp;<code>int iTop</code>, <code>int iRight</code>, <code>int iBot</code>, <code>int iLeft</code>&nbsp;) : void <div class="mdesc">
  1612. <div class="short">Configures the padding for the target zone in px. Effectively expands
  1613. (or reduces) the virtual object size for targe...</div>
  1614. <div class="long">
  1615. Configures the padding for the target zone in px. Effectively expands
  1616. (or reduces) the virtual object size for targeting calculations.
  1617. Supports css-style shorthand; if only one parameter is passed, all sides
  1618. will have that padding, and if only two are passed, the top and bottom
  1619. will have the first param, the left and right the second. <div class="mdetail-params">
  1620. <strong>Parameters:</strong>
  1621. <ul><li><code>iTop</code> : int<div class="sub-desc">Top pad</div></li><li><code>iRight</code> : int<div class="sub-desc">Right pad</div></li><li><code>iBot</code> : int<div class="sub-desc">Bot pad</div></li><li><code>iLeft</code> : int<div class="sub-desc">Left pad</div></li> </ul>
  1622. <strong>Returns:</strong>
  1623. <ul>
  1624. <li><code>void</code></li>
  1625. </ul>
  1626. </div>
  1627. </div>
  1628. </div>
  1629. </td>
  1630. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setPadding" href="output/Ext.dd.DragDrop.html#setPadding">DragDrop</a></td>
  1631. </tr>
  1632. <tr class="method-row inherited alt expandable">
  1633. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1634. <td class="sig">
  1635. <a id="Ext.tree.TreeDragZone-setXConstraint"></a>
  1636. <b>setXConstraint</b>(&nbsp;<code>int iLeft</code>, <code>int iRight</code>, <code>int iTickSize</code>&nbsp;) : void <div class="mdesc">
  1637. <div class="short">By default, the element can be dragged any place on the screen. Use
  1638. this method to limit the horizontal travel of th...</div>
  1639. <div class="long">
  1640. By default, the element can be dragged any place on the screen. Use
  1641. this method to limit the horizontal travel of the element. Pass in
  1642. 0,0 for the parameters if you want to lock the drag to the y axis. <div class="mdetail-params">
  1643. <strong>Parameters:</strong>
  1644. <ul><li><code>iLeft</code> : int<div class="sub-desc">the number of pixels the element can move to the left</div></li><li><code>iRight</code> : int<div class="sub-desc">the number of pixels the element can move to the
  1645. right</div></li><li><code>iTickSize</code> : int<div class="sub-desc">optional parameter for specifying that the
  1646. element
  1647. should move iTickSize pixels at a time.</div></li> </ul>
  1648. <strong>Returns:</strong>
  1649. <ul>
  1650. <li><code>void</code></li>
  1651. </ul>
  1652. </div>
  1653. </div>
  1654. </div>
  1655. </td>
  1656. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setXConstraint" href="output/Ext.dd.DragDrop.html#setXConstraint">DragDrop</a></td>
  1657. </tr>
  1658. <tr class="method-row inherited expandable">
  1659. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1660. <td class="sig">
  1661. <a id="Ext.tree.TreeDragZone-setYConstraint"></a>
  1662. <b>setYConstraint</b>(&nbsp;<code>int iUp</code>, <code>int iDown</code>, <code>int iTickSize</code>&nbsp;) : void <div class="mdesc">
  1663. <div class="short">By default, the element can be dragged any place on the screen. Set
  1664. this to limit the vertical travel of the element...</div>
  1665. <div class="long">
  1666. By default, the element can be dragged any place on the screen. Set
  1667. this to limit the vertical travel of the element. Pass in 0,0 for the
  1668. parameters if you want to lock the drag to the x axis. <div class="mdetail-params">
  1669. <strong>Parameters:</strong>
  1670. <ul><li><code>iUp</code> : int<div class="sub-desc">the number of pixels the element can move up</div></li><li><code>iDown</code> : int<div class="sub-desc">the number of pixels the element can move down</div></li><li><code>iTickSize</code> : int<div class="sub-desc">optional parameter for specifying that the
  1671. element should move iTickSize pixels at a time.</div></li> </ul>
  1672. <strong>Returns:</strong>
  1673. <ul>
  1674. <li><code>void</code></li>
  1675. </ul>
  1676. </div>
  1677. </div>
  1678. </div>
  1679. </td>
  1680. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#setYConstraint" href="output/Ext.dd.DragDrop.html#setYConstraint">DragDrop</a></td>
  1681. </tr>
  1682. <tr class="method-row inherited alt expandable">
  1683. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1684. <td class="sig">
  1685. <a id="Ext.tree.TreeDragZone-startDrag"></a>
  1686. <b>startDrag</b>(&nbsp;<code>int X</code>, <code>int Y</code>&nbsp;) : void <div class="mdesc">
  1687. <div class="short">Abstract method called after a drag/drop object is clicked
  1688. and the drag or mousedown time thresholds have beeen met.</div>
  1689. <div class="long">
  1690. Abstract method called after a drag/drop object is clicked
  1691. and the drag or mousedown time thresholds have beeen met. <div class="mdetail-params">
  1692. <strong>Parameters:</strong>
  1693. <ul><li><code>X</code> : int<div class="sub-desc">click location</div></li><li><code>Y</code> : int<div class="sub-desc">click location</div></li> </ul>
  1694. <strong>Returns:</strong>
  1695. <ul>
  1696. <li><code>void</code></li>
  1697. </ul>
  1698. </div>
  1699. </div>
  1700. </div>
  1701. </td>
  1702. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#startDrag" href="output/Ext.dd.DragDrop.html#startDrag">DragDrop</a></td>
  1703. </tr>
  1704. <tr class="method-row inherited expandable">
  1705. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1706. <td class="sig">
  1707. <a id="Ext.tree.TreeDragZone-toString"></a>
  1708. <b>toString</b>() : string <div class="mdesc">
  1709. <div class="short">toString method</div>
  1710. <div class="long">
  1711. toString method <div class="mdetail-params">
  1712. <strong>Parameters:</strong>
  1713. <ul><li>None.</li> </ul>
  1714. <strong>Returns:</strong>
  1715. <ul>
  1716. <li><code>string</code><div class="sub-desc">string representation of the dd obj</div></li>
  1717. </ul>
  1718. </div>
  1719. </div>
  1720. </div>
  1721. </td>
  1722. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#toString" href="output/Ext.dd.DragDrop.html#toString">DragDrop</a></td>
  1723. </tr>
  1724. <tr class="method-row inherited alt expandable">
  1725. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1726. <td class="sig">
  1727. <a id="Ext.tree.TreeDragZone-unlock"></a>
  1728. <b>unlock</b>() : void <div class="mdesc">
  1729. <div class="short">Unlock this instace</div>
  1730. <div class="long">
  1731. Unlock this instace <div class="mdetail-params">
  1732. <strong>Parameters:</strong>
  1733. <ul><li>None.</li> </ul>
  1734. <strong>Returns:</strong>
  1735. <ul>
  1736. <li><code>void</code></li>
  1737. </ul>
  1738. </div>
  1739. </div>
  1740. </div>
  1741. </td>
  1742. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#unlock" href="output/Ext.dd.DragDrop.html#unlock">DragDrop</a></td>
  1743. </tr>
  1744. <tr class="method-row inherited expandable">
  1745. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1746. <td class="sig">
  1747. <a id="Ext.tree.TreeDragZone-unreg"></a>
  1748. <b>unreg</b>() : void <div class="mdesc">
  1749. <div class="short">Remove all drag and drop hooks for this element</div>
  1750. <div class="long">
  1751. Remove all drag and drop hooks for this element <div class="mdetail-params">
  1752. <strong>Parameters:</strong>
  1753. <ul><li>None.</li> </ul>
  1754. <strong>Returns:</strong>
  1755. <ul>
  1756. <li><code>void</code></li>
  1757. </ul>
  1758. </div>
  1759. </div>
  1760. </div>
  1761. </td>
  1762. <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#unreg" href="output/Ext.dd.DragDrop.html#unreg">DragDrop</a></td>
  1763. </tr>
  1764. </table>
  1765. <a id="Ext.tree.TreeDragZone-events"></a>
  1766. <h2>Public Events</h2>
  1767. <div class="no-members">This class has no public events.</div>
  1768. </div>