ext.dd.dragsource.html.svn-base
来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SVN-BASE 代码 · 共 1,144 行 · 第 1/5 页
SVN-BASE
1,144 行
<div class="short">An empty function by default, but provided so that you can perform a custom actionwhen the dragged item enters the d...</div>
<div class="long">
An empty function by default, but provided so that you can perform a custom actionwhen the dragged item enters the drop target by providing an implementation. <div class="mdetail-params">
<strong>Parameters:</strong>
<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>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">DragSource</td>
</tr>
<tr class="method-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.dd.DragSource-afterDragOut"></a>
<b>afterDragOut</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : void <div class="mdesc">
<div class="short">An empty function by default, but provided so that you can perform a custom actionafter the dragged item is dragged ...</div>
<div class="long">
An empty function by default, but provided so that you can perform a custom actionafter the dragged item is dragged out of the target without dropping. <div class="mdetail-params">
<strong>Parameters:</strong>
<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>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">DragSource</td>
</tr>
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.dd.DragSource-afterDragOver"></a>
<b>afterDragOver</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : void <div class="mdesc">
<div class="short">An empty function by default, but provided so that you can perform a custom actionwhile the dragged item is over the...</div>
<div class="long">
An empty function by default, but provided so that you can perform a custom actionwhile the dragged item is over the drop target by providing an implementation. <div class="mdetail-params">
<strong>Parameters:</strong>
<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>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">DragSource</td>
</tr>
<tr class="method-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.dd.DragSource-afterInvalidDrop"></a>
<b>afterInvalidDrop</b>( <code>Event e</code>, <code>String id</code> ) : void <div class="mdesc">
<div class="short">An empty function by default, but provided so that you can perform a custom actionafter an invalid drop has occurred...</div>
<div class="long">
An empty function by default, but provided so that you can perform a custom actionafter an invalid drop has occurred by providing an implementation. <div class="mdetail-params">
<strong>Parameters:</strong>
<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>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">DragSource</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.DragSource-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 alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.dd.DragSource-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 expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.dd.DragSource-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 alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.dd.DragSource-b4Drag"></a>
<b>b4Drag</b>() : void <div class="mdesc">
<div class="short">Event that fires prior to the onDrag event. OverridesExt.dd.DragDrop.</div>
<div class="long">
Event that fires prior to the onDrag event. OverridesExt.dd.DragDrop. <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.DD" ext:member="#b4Drag" href="output/Ext.dd.DD.html#b4Drag">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.DragSource-b4MouseDown"></a>
<b>b4MouseDown</b>() : void <div class="mdesc">
<div class="short">Event that fires prior to the onMouseDown event. OverridesExt.dd.DragDrop.</div>
<div class="long">
Event that fires prior to the onMouseDown event. OverridesExt.dd.DragDrop. <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.DD" ext:member="#b4MouseDown" href="output/Ext.dd.DD.html#b4MouseDown">DD</a></td>
</tr>
<tr class="method-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.dd.DragSource-beforeDragDrop"></a>
<b>beforeDragDrop</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : Boolean <div class="mdesc">
<div class="short">An empty function by default, but provided so that you can perform a custom action before the draggeditem is dropped...</div>
<div class="long">
An empty function by default, but provided so that you can perform a custom action before the draggeditem is dropped onto the target and optionally cancel the onDragDrop. <div class="mdetail-params">
<strong>Parameters:</strong>
<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>
<strong>Returns:</strong>
<ul>
<li><code>Boolean</code><div class="sub-desc">isValid True if the drag drop event is valid, else false to cancel</div></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">DragSource</td>
</tr>
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.dd.DragSource-beforeDragEnter"></a>
<b>beforeDragEnter</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : Boolean <div class="mdesc">
<div class="short">An empty function by default, but provided so that you can perform a custom actionbefore the dragged item enters the...</div>
<div class="long">
An empty function by default, but provided so that you can perform a custom action
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?