⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ext.dd.dragdropmgr.html

📁 Ext中文API,学习ext的同志只要你学会ext里的一种控件后其实其他的就大同小异了
💻 HTML
📖 第 1 页 / 共 3 页
字号:
            <div class="long">                &lt;static&gt; Returns a Region object containing the drag and drop element's positionand size, including the padding configured for it    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>oDD</code> : DragDrop<div class="sub-desc">the drag and drop object to get thelocation for</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>Ext.lib.Region</code><div class="sub-desc">a Region object representing the total area the element occupies, including any padding the instance is configured for.</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DragDropMgr</td>    </tr>        <tr class="method-row alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DragDropMgr-getPosX"></a>            <b>getPosX</b>(&nbsp;<code>el the</code>&nbsp;) : int            <div class="mdesc">                        <div class="short"><b>Deprecated.</b> &lt;static&gt; Returns the X position of an html element</div>            <div class="long">                <b>Deprecated.</b> &lt;static&gt; Returns the X position of an html element    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>the</code> : el<div class="sub-desc">element for which to get the position</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>int</code><div class="sub-desc">the X coordinate @for DragDropMgr</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DragDropMgr</td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DragDropMgr-getPosY"></a>            <b>getPosY</b>(&nbsp;<code>el the</code>&nbsp;) : int            <div class="mdesc">                        <div class="short"><b>Deprecated.</b> &lt;static&gt; Returns the Y position of an html element</div>            <div class="long">                <b>Deprecated.</b> &lt;static&gt; Returns the Y position of an html element    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>the</code> : el<div class="sub-desc">element for which to get the position</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>int</code><div class="sub-desc">the Y coordinate</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DragDropMgr</td>    </tr>        <tr class="method-row alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DragDropMgr-getRelated"></a>            <b>getRelated</b>(&nbsp;<code>DragDrop p_oDD</code>, <code>boolean bTargetsOnly</code>&nbsp;) : DragDrop[]            <div class="mdesc">                        <div class="short">&lt;static&gt; Returns the drag and drop instances that are in all groups thepassed in instance belongs to.</div>            <div class="long">                &lt;static&gt; Returns the drag and drop instances that are in all groups thepassed in instance belongs to.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>p_oDD</code> : DragDrop<div class="sub-desc">the obj to get related data for</div></li><li><code>bTargetsOnly</code> : boolean<div class="sub-desc">if true, only return targetable objs</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>DragDrop[]</code><div class="sub-desc">the related instances</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DragDropMgr</td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DragDropMgr-getScrollLeft"></a>            <b>getScrollLeft</b>() : int            <div class="mdesc">                        <div class="short">&lt;static&gt; Gets the scrollLeft</div>            <div class="long">                &lt;static&gt; Gets the scrollLeft    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>int</code><div class="sub-desc">the document's scrollTop</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DragDropMgr</td>    </tr>        <tr class="method-row alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DragDropMgr-getScrollTop"></a>            <b>getScrollTop</b>() : int            <div class="mdesc">                        <div class="short">&lt;static&gt; Gets the scrollTop</div>            <div class="long">                &lt;static&gt; Gets the scrollTop    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>int</code><div class="sub-desc">the document's scrollTop</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DragDropMgr</td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DragDropMgr-getStyle"></a>            <b>getStyle</b>(&nbsp;<code>HTMLElement el</code>, <code>string styleProp</code>&nbsp;) : string            <div class="mdesc">                        <div class="short"><b>Deprecated.</b> &lt;static&gt; Returns the specified element style property</div>            <div class="long">                <b>Deprecated.</b> &lt;static&gt; Returns the specified element style property    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>el</code> : HTMLElement<div class="sub-desc">the element</div></li><li><code>styleProp</code> : string<div class="sub-desc">the style property</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>string</code><div class="sub-desc">The value of the style property</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DragDropMgr</td>    </tr>        <tr class="method-row alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DragDropMgr-handleWasClicked"></a>            <b>handleWasClicked</b>(&nbsp;<code>node the</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">&lt;static&gt; Recursively searches the immediate parent and all child nodes forthe handle element in order to deter...</div>            <div class="long">                &lt;static&gt; Recursively searches the immediate parent and all child nodes forthe handle element in order to determine wheter or not it wasclicked.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>the</code> : node<div class="sub-desc">html element to inspect</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DragDropMgr</td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DragDropMgr-isDragDrop"></a>            <b>isDragDrop</b>(&nbsp;<code>String id</code>&nbsp;) : boolean            <div class="mdesc">                        <div class="short">&lt;static&gt; Utility function to determine if a given element has beenregistered as a drag drop item.</div>            <div class="long">                &lt;static&gt; Utility function to determine if a given element has beenregistered as a drag drop item.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>id</code> : String<div class="sub-desc">the element id to check</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>boolean</code><div class="sub-desc">true if this element is a DragDrop item, false otherwise</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DragDropMgr</td>    </tr>        <tr class="method-row alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DragDropMgr-isHandle"></a>            <b>isHandle</b>(&nbsp;<code>String id</code>&nbsp;) : boolean            <div class="mdesc">                        <div class="short">&lt;static&gt; Utility function to determine if a given element has beenregistered as a drag drop handle for the giv...</div>            <div class="long">                &lt;static&gt; Utility function to determine if a given element has beenregistered as a drag drop handle for the given Drag Drop object.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>id</code> : String<div class="sub-desc">the element id to check</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>boolean</code><div class="sub-desc">true if this element is a DragDrop handle, false otherwise</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DragDropMgr</td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DragDropMgr-isLegalTarget"></a>            <b>isLegalTarget</b>(&nbsp;<code>DragDrop the</code>, <code>DragDrop the</code>&nbsp;) : boolean            <div class="mdesc">                        <div class="short">&lt;static&gt; Returns true if the specified dd target is a legal target forthe specifice drag obj</div>            <div class="long">                &lt;static&gt; Returns true if the specified dd target is a legal target forthe specifice drag obj    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>the</code> : DragDrop<div class="sub-desc">drag obj</div></li><li><code>the</code> : DragDrop<div class="sub-desc">target</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>boolean</code><div class="sub-desc">true if the target is a legal target for the dd obj</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DragDropMgr</td>    </tr>        <tr class="method-row alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DragDropMgr-isLocked"></a>            <b>isLocked</b>() : boolean            <div class="mdesc">                        <div class="short">&lt;static&gt; Is drag and drop locked?</div>            <div class="long">                &lt;static&gt; Is drag and drop locked?    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>boolean</code><div class="sub-desc">True if drag and drop is locked, false otherwise.</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DragDropMgr</td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DragDropMgr-isTypeOfDD"></a>            <b>isTypeOfDD</b>(&nbsp;<code>Object the</code>&nbsp;) : boolean            <div class="mdesc">                        <div class="short">&lt;static&gt; My goal is to be able to transparently determine if an object istypeof DragDrop, and the exact subcla...</div>            <div class="long">                &lt;static&gt; My goal is to be able to transparently determine if an object istypeof DragDrop, and the exact subclass of DragDrop.  typeofreturns "object", oDD.constructor.toString() always returns"DragDrop" and not the name of the subclass.  So for now it justevaluates a well-known variable in DragDrop.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>the</code> : Object<div class="sub-desc">object to evaluate</div></li>        </ul>        <strong>Returns:</strong>        <ul>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -