ext.tree.treedropzone.html.svn-base
来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SVN-BASE 代码 · 共 1,088 行 · 第 1/5 页
SVN-BASE
1,088 行
<div class="body-wrap"> <div class="top-tools"> <a class="inner-link" href="#Ext.tree.TreeDropZone-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.tree.TreeDropZone-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a> <a class="inner-link" href="#Ext.tree.TreeDropZone-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a> <a class="inner-link" href="#Ext.tree.TreeDropZone-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a> <a class="bookmark" href="../docs/?class=Ext.tree.TreeDropZone"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> </div> <div class="inheritance res-block"><pre class="res-block-inner"><a ext:cls="Ext.dd.DragDrop" ext:member="" href="output/Ext.dd.DragDrop.html">DragDrop</a> <img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DDTarget" ext:member="" href="output/Ext.dd.DDTarget.html">DDTarget</a> <img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DropTarget" ext:member="" href="output/Ext.dd.DropTarget.html">DropTarget</a> <img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DropZone" ext:member="" href="output/Ext.dd.DropZone.html">DropZone</a> <img src="resources/elbow-end.gif"/>TreeDropZone</pre></div> <h1>Class Ext.tree.TreeDropZone</h1> <table cellspacing="0"> <tr><td class="label">Package:</td><td class="hd-info">Ext.tree</td></tr> <tr><td class="label">Defined In:</td><td class="hd-info">TreeDropZone.js</td></tr> <tr><td class="label">Class:</td><td class="hd-info">TreeDropZone</td></tr> <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.dd.DropZone" ext:member="" href="output/Ext.dd.DropZone.html">DropZone</a></td></tr> </table> <div class="description"> </div> <div class="hr"></div> <a id="Ext.tree.TreeDropZone-configs"></a> <h2>Config Options</h2> <table cellspacing="0" class="member-table"> <tr> <th class="sig-header" colspan="2">Config Options</th> <th class="msource-header">Defined By</th> </tr> <tr class="config-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-allowContainerDrop"></a>
<b>allowContainerDrop</b> : String <div class="mdesc">
True if drops on the tree container (outside of a specific tree node) are allowed (defaults to false) </div>
</td>
<td class="msource">TreeDropZone</td>
</tr>
<tr class="config-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-allowParentInsert"></a>
<b>allowParentInsert</b> : Boolean <div class="mdesc">
<div class="short">Allow inserting a dragged node between an expanded parent node and its first child that will become a sibling of the ...</div>
<div class="long">
Allow inserting a dragged node between an expanded parent node and its first child that will become a sibling of the parent when dropped (defaults to false) </div>
</div>
</td>
<td class="msource">TreeDropZone</td>
</tr>
<tr class="config-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-appendOnly"></a>
<b>appendOnly</b> : String <div class="mdesc">
True if the tree should only allow append drops (use for trees which are sorted, defaults to false) </div>
</td>
<td class="msource">TreeDropZone</td>
</tr>
<tr class="config-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-ddGroup"></a>
<b>ddGroup</b> : String <div class="mdesc">
<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>
<div class="long">
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>
</div>
</td>
<td class="msource">TreeDropZone</td>
</tr>
<tr class="config-row inherited">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-dropAllowed"></a>
<b>dropAllowed</b> : String <div class="mdesc">
The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok"). </div>
</td>
<td class="msource"><a ext:cls="Ext.dd.DropTarget" ext:member="#dropAllowed" href="output/Ext.dd.DropTarget.html#dropAllowed">DropTarget</a></td>
</tr>
<tr class="config-row inherited alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-dropNotAllowed"></a>
<b>dropNotAllowed</b> : String <div class="mdesc">
The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop"). </div>
</td>
<td class="msource"><a ext:cls="Ext.dd.DropTarget" ext:member="#dropNotAllowed" href="output/Ext.dd.DropTarget.html#dropNotAllowed">DropTarget</a></td>
</tr>
<tr class="config-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-expandDelay"></a>
<b>expandDelay</b> : String <div class="mdesc">
<div class="short">The delay in milliseconds to wait before expanding a target tree node while dragging a droppable node over the target...</div>
<div class="long">
The delay in milliseconds to wait before expanding a target tree node while dragging a droppable node over the target (defaults to 1000) </div>
</div>
</td>
<td class="msource">TreeDropZone</td>
</tr>
<tr class="config-row inherited alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-overClass"></a>
<b>overClass</b> : String <div class="mdesc">
The CSS class applied to the drop target element while the drag source is over it (defaults to ""). </div>
</td>
<td class="msource"><a ext:cls="Ext.dd.DropTarget" ext:member="#overClass" href="output/Ext.dd.DropTarget.html#overClass">DropTarget</a></td>
</tr>
</table> <a id="Ext.tree.TreeDropZone-props"></a> <h2>Public Properties</h2> <table cellspacing="0" class="member-table"> <tr> <th class="sig-header" colspan="2">Property</th> <th class="msource-header">Defined By</th> </tr> <tr class="property-row inherited">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-available"></a>
<b>available</b> : boolean <div class="mdesc">
The availabe property is false until the linked dom element is accessible. </div>
</td>
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#available" href="output/Ext.dd.DragDrop.html#available">DragDrop</a></td>
</tr>
<tr class="property-row inherited alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-config"></a>
<b>config</b> : object <div class="mdesc">
Configuration attributes passed into the constructor </div>
</td>
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#config" href="output/Ext.dd.DragDrop.html#config">DragDrop</a></td>
</tr>
<tr class="property-row inherited">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-defaultPadding"></a>
<b>defaultPadding</b> : Object <div class="mdesc">
Provides default constraint padding to "constrainTo" elements (defaults to {left: 0, right:0, top:0, bottom:0}). </div>
</td>
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#defaultPadding" href="output/Ext.dd.DragDrop.html#defaultPadding">DragDrop</a></td>
</tr>
<tr class="property-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-dragOverData"></a>
<b>dragOverData</b> : Ext.tree.TreePanel <div class="mdesc">
<div class="short">Arbitrary data that can be associated with this tree and will be included in the event object that getspassed to any...</div>
<div class="long">
Arbitrary data that can be associated with this tree and will be included in the event object that getspassed to any nodedragover event handler (defaults to {}) </div>
</div>
</td>
<td class="msource">TreeDropZone</td>
</tr>
<tr class="property-row inherited expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-groups"></a>
<b>groups</b> : object <div class="mdesc">
<div class="short">The group defines a logical collection of DragDrop objects that arerelated. Instances only get events when interact...</div>
<div class="long">
The group defines a logical collection of DragDrop objects that arerelated. Instances only get events when interacting with otherDragDrop object in the same group. This lets us define multiplegroups using a single DragDrop subclass if we want. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#groups" href="output/Ext.dd.DragDrop.html#groups">DragDrop</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.tree.TreeDropZone-hasOuterHandles"></a>
<b>hasOuterHandles</b> : boolean <div class="mdesc">
<div class="short">By default, drags can only be initiated if the mousedown occurs in theregion the linked element is. This is done in...</div>
<div class="long">
By default, drags can only be initiated if the mousedown occurs in theregion the linked element is. This is done in part to work around abug in some browsers that mis-report the mousedown if the previousmouseup happened outside of the window. This property is set to trueif outer handles are defined. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#hasOuterHandles" href="output/Ext.dd.DragDrop.html#hasOuterHandles">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.tree.TreeDropZone-id"></a>
<b>id</b> : String <div class="mdesc">
<div class="short">The id of the element associated with this object. This is what werefer to as the "linked element" because the size...</div>
<div class="long">
The id of the element associated with this object. This is what werefer to as the "linked element" because the size and position ofthis element is used to determine when the drag and drop objects haveinteracted. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#id" href="output/Ext.dd.DragDrop.html#id">DragDrop</a></td>
</tr>
<tr class="property-row inherited alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.tree.TreeDropZone-invalidHandleClasses"></a>
<b>invalidHandleClasses</b> : string[] <div class="mdesc">
An indexted array of css class names for elements that will be ignoredif clicked. </div>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?