X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/TreeViewDragDrop.html diff --git a/docs/source/TreeViewDragDrop.html b/docs/source/TreeViewDragDrop.html index b0fb4a95..e57cab25 100644 --- a/docs/source/TreeViewDragDrop.html +++ b/docs/source/TreeViewDragDrop.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.tree.ViewDDPlugin
* @extends Ext.AbstractPlugin
* <p>This plugin provides drag and/or drop functionality for a TreeView.</p>
@@ -30,7 +47,7 @@ Ext.define('Ext.tree.plugin.TreeViewDragDrop', {
'Ext.tree.ViewDropZone'
],
- /**
+ /**
* @event beforedrop
* <p><b>This event is fired through the TreeView. Add listeners to the TreeView object</b></p>
* <p>Fired when a drop gesture has been triggered by a mouseup event in a valid drop position in the TreeView.
@@ -64,7 +81,7 @@ Ext.define('Ext.tree.plugin.TreeViewDragDrop', {
* <p>Return <code>0</code> from this event handler, and call the <code>dropFunction</code> at any time to perform the data transfer.</p>
*/
- /**
+ /**
* @event drop
* <b>This event is fired through the TreeView. Add listeners to the TreeView object</b>
* Fired when a drop operation has been completed and the data has been moved or copied.
@@ -90,75 +107,75 @@ Ext.define('Ext.tree.plugin.TreeViewDragDrop', {
dragText : '{0} selected node{1}',
- /**
+ /**
* @cfg {Boolean} allowParentInsert
* 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)
*/
allowParentInserts: false,
- /**
+ /**
* @cfg {String} allowContainerDrop
* True if drops on the tree container (outside of a specific tree node) are allowed (defaults to false)
*/
allowContainerDrops: false,
- /**
+ /**
* @cfg {String} appendOnly
* True if the tree should only allow append drops (use for trees which are sorted, defaults to false)
*/
appendOnly: false,
- /**
+ /**
* @cfg {String} ddGroup
* A named drag drop group to which this object belongs. If a group is specified, then both the DragZones and DropZone
* used by this plugin will only interact with other drag drop objects in the same group (defaults to 'TreeDD').
*/
ddGroup : "TreeDD",
- /**
+ /**
* @cfg {String} dragGroup
* <p>The ddGroup to which the DragZone will belong.</p>
* <p>This defines which other DropZones the DragZone will interact with. Drag/DropZones only interact with other Drag/DropZones
* which are members of the same ddGroup.</p>
*/
- /**
+ /**
* @cfg {String} dropGroup
* <p>The ddGroup to which the DropZone will belong.</p>
* <p>This defines which other DragZones the DropZone will interact with. Drag/DropZones only interact with other Drag/DropZones
* which are members of the same ddGroup.</p>
*/
- /**
+ /**
* @cfg {String} expandDelay
* The delay in milliseconds to wait before expanding a target tree node while dragging a droppable node
* over the target (defaults to 1000)
*/
expandDelay : 1000,
- /**
+ /**
* @cfg {Boolean} enableDrop
* <p>Defaults to <code>true</code></p>
* <p>Set to <code>false</code> to disallow the View from accepting drop gestures</p>
*/
enableDrop: true,
- /**
+ /**
* @cfg {Boolean} enableDrag
* <p>Defaults to <code>true</code></p>
* <p>Set to <code>false</code> to disallow dragging items from the View </p>
*/
enableDrag: true,
- /**
+ /**
* @cfg {String} nodeHighlightColor The color to use when visually highlighting the dragged
* or dropped node (defaults to 'c3daf9' - light blue). The color must be a 6 digit hex value, without
* a preceding '#'. See also {@link #nodeHighlightOnDrop} and {@link #nodeHighlightOnRepair}.
*/
nodeHighlightColor: 'c3daf9',
- /**
+ /**
* @cfg {Boolean} nodeHighlightOnDrop Whether or not to highlight any nodes after they are
* successfully dropped on their target. Defaults to the value of `Ext.enableFx`.
* See also {@link #nodeHighlightColor} and {@link #nodeHighlightOnRepair}.
@@ -166,7 +183,7 @@ Ext.define('Ext.tree.plugin.TreeViewDragDrop', {
*/
nodeHighlightOnDrop: Ext.enableFx,
- /**
+ /**
* @cfg {Boolean} nodeHighlightOnRepair Whether or not to highlight any nodes after they are
* repaired from an unsuccessful drag/drop. Defaults to the value of `Ext.enableFx`.
* See also {@link #nodeHighlightColor} and {@link #nodeHighlightOnDrop}.
@@ -178,7 +195,7 @@ Ext.define('Ext.tree.plugin.TreeViewDragDrop', {
view.on('render', this.onViewRender, this, {single: true});
},
- /**
+ /**
* @private
* AbstractComponent calls destroy on all its plugins at destroy time.
*/
@@ -212,4 +229,6 @@ Ext.define('Ext.tree.plugin.TreeViewDragDrop', {
});
}
}
-});
\ No newline at end of file
+});
+
+