📄 ext.dd.ddproxy.html
字号:
</div> </td> <td class="msource">DDProxy</td> </tr> <tr class="property-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.dd.DDProxy-scroll"></a> <b>scroll</b> : boolean <div class="mdesc"> <div class="short">When set to true, the utility automatically tries to scroll the browserwindow when a drag and drop element is dragge...</div> <div class="long"> When set to true, the utility automatically tries to scroll the browserwindow when a drag and drop element is dragged near the viewport boundary.Defaults to true. </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#scroll" href="output/Ext.dd.DD.html#scroll">DD</a></td> </tr> <tr class="property-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.dd.DDProxy-xTicks"></a> <b>xTicks</b> : int[] <div class="mdesc"> <div class="short">Array of pixel locations the element will snap to if we specified ahorizontal graduation/interval. This array is ge...</div> <div class="long"> Array of pixel locations the element will snap to if we specified ahorizontal graduation/interval. This array is generated automaticallywhen you define a tick interval. </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#xTicks" href="output/Ext.dd.DragDrop.html#xTicks">DragDrop</a></td> </tr> <tr class="property-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.dd.DDProxy-yTicks"></a> <b>yTicks</b> : int[] <div class="mdesc"> <div class="short">Array of pixel locations the element will snap to if we specified avertical graduation/interval. This array is gene...</div> <div class="long"> Array of pixel locations the element will snap to if we specified avertical graduation/interval. This array is generated automaticallywhen you define a tick interval. </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#yTicks" href="output/Ext.dd.DragDrop.html#yTicks">DragDrop</a></td> </tr> </table> <a id="Ext.dd.DDProxy-methods"></a> <h2>Public Methods</h2> <table cellspacing="0" class="member-table"> <tr> <th class="sig-header" colspan="2">Method</th> <th class="msource-header">Defined By</th> </tr> <tr class="method-row expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.dd.DDProxy-DDProxy"></a> <b>DDProxy</b>( <code>String id</code>, <code>String sGroup</code>, <code>object config</code> ) <div class="mdesc"> <div class="short"></div> <div class="long"> <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>id</code> : String<div class="sub-desc">the id of the linked html element</div></li><li><code>sGroup</code> : String<div class="sub-desc">the group of related DragDrop objects</div></li><li><code>config</code> : object<div class="sub-desc">an object containing configurable attributesValid properties for DDProxy in addition to those in DragDrop:resizeFrame, centerFrame, dragElId</div></li> </ul> <strong>Returns:</strong> <ul> <li><code></code></li> </ul> </div> </div> </div> </td> <td class="msource">DDProxy</td> </tr> <tr class="method-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.dd.DDProxy-addInvalidHandleClass"></a> <b>addInvalidHandleClass</b>( <code>string cssClass</code> ) : void <div class="mdesc"> <div class="short">Lets you specify a css class of elements that will not initiate a drag</div> <div class="long"> Lets you specify a css class of elements that will not initiate a drag <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>cssClass</code> : string<div class="sub-desc">the class of the elements you wish to ignore</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>void</code></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleClass" href="output/Ext.dd.DragDrop.html#addInvalidHandleClass">DragDrop</a></td> </tr> <tr class="method-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.dd.DDProxy-addInvalidHandleId"></a> <b>addInvalidHandleId</b>( <code>string id</code> ) : void <div class="mdesc"> <div class="short">Lets you to specify an element id for a child of a drag handlethat should not initiate a drag</div> <div class="long"> Lets you to specify an element id for a child of a drag handlethat should not initiate a drag <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>id</code> : string<div class="sub-desc">the element id of the element you wish to ignore</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>void</code></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleId" href="output/Ext.dd.DragDrop.html#addInvalidHandleId">DragDrop</a></td> </tr> <tr class="method-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.dd.DDProxy-addInvalidHandleType"></a> <b>addInvalidHandleType</b>( <code>string tagName</code> ) : void <div class="mdesc"> <div class="short">Allows you to specify a tag name that should not start a drag operationwhen clicked. This is designed to facilitate...</div> <div class="long"> Allows you to specify a tag name that should not start a drag operationwhen clicked. This is designed to facilitate embedding links within adrag handle that do something other than start the drag. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>tagName</code> : string<div class="sub-desc">the type of element to exclude</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>void</code></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleType" href="output/Ext.dd.DragDrop.html#addInvalidHandleType">DragDrop</a></td> </tr> <tr class="method-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.dd.DDProxy-addToGroup"></a> <b>addToGroup</b>( <code>sGroup {string}</code> ) : void <div class="mdesc"> <div class="short">Add this instance to a group of related drag/drop objects. Allinstances belong to at least one group, and can belon...</div> <div class="long"> Add this instance to a group of related drag/drop objects. Allinstances belong to at least one group, and can belong to as manygroups as needed. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>{string}</code> : sGroup<div class="sub-desc">the name of the group</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>void</code></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addToGroup" href="output/Ext.dd.DragDrop.html#addToGroup">DragDrop</a></td> </tr> <tr class="method-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.dd.DDProxy-alignElWithMouse"></a> <b>alignElWithMouse</b>( <code>HTMLElement el</code>, <code>int iPageX</code>, <code>int iPageY</code> ) : void <div class="mdesc"> <div class="short">Sets the element to the location of the mousedown or click event,maintaining the cursor location relative to the loc...</div> <div class="long"> Sets the element to the location of the mousedown or click event,maintaining the cursor location relative to the location on the elementthat was clicked. Override this if you want to place the element in alocation other than where the cursor is. <div class="mdetail-params"> <strong>Parameters:</strong> <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> <strong>Returns:</strong> <ul> <li><code>void</code></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#alignElWithMouse" href="output/Ext.dd.DD.html#alignElWithMouse">DD</a></td> </tr> <tr class="method-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.dd.DDProxy-applyConfig"></a> <b>applyConfig</b>() : void <div class="mdesc"> <div class="short">Applies the configuration parameters that were passed into the constructor.This is supposed to happen at each level ...</div> <div class="long"> Applies the configuration parameters that were passed into the constructor.This is supposed to happen at each level through the inheritance chain. Soa DDProxy implentation will execute apply config on DDProxy, DD, andDragDrop in order to get all of the parameters that are available ineach object. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li>None.</li> </ul> <strong>Returns:</strong> <ul> <li><code>void</code></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#applyConfig" href="output/Ext.dd.DragDrop.html#applyConfig">DragDrop</a></td> </tr> <tr class="method-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.dd.DDProxy-autoOffset"></a> <b>autoOffset</b>( <code>int iPageX</code>, <code>int iPageY</code> ) : void <div class="mdesc"> <div class="short">Sets the pointer offset to the distance between the linked element's topleft corner and the location the element was...</div> <div class="long"> Sets the pointer offset to the distance between the linked element's topleft corner and the location the element was clicked <div class="mdetail-params"> <strong>Parameters:</strong> <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> <strong>Returns:</strong> <ul> <li><code>void</code></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#autoOffset" href="output/Ext.dd.DD.html#autoOffset">DD</a></td> </tr> <tr class="method-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.dd.DDProxy-b4Drag"></a>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -