X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/DDProxy.html diff --git a/docs/source/DDProxy.html b/docs/source/DDProxy.html index 42de7a7f..c08a5540 100644 --- a/docs/source/DDProxy.html +++ b/docs/source/DDProxy.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/*
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/*
  * This is a derivative of the similarly named class in the YUI Library.
  * The original license:
  * Copyright (c) 2006, Yahoo! Inc. All rights reserved.
@@ -6,8 +23,9 @@
  * http://developer.yahoo.net/yui/license.txt
  */
 
-/**
- * @class Ext.dd.DDProxy
+/**
+ * @class Ext.dd.DDProxy
+ * @extends Ext.dd.DD
  * A DragDrop implementation that inserts an empty, bordered div into
  * the document that follows the cursor during drag operations.  At the time of
  * the click, the frame div is resized to the dimensions of the linked html
@@ -16,28 +34,29 @@
  * References to the "frame" element refer to the single proxy element that
  * was created to be dragged in place of all DDProxy elements on the
  * page.
- *
- * @extends Ext.dd.DD
- * @constructor
- * @param {String} id the id of the linked html element
- * @param {String} sGroup the group of related DragDrop objects
- * @param {object} config an object containing configurable attributes
- *                Valid properties for DDProxy in addition to those in DragDrop:
- *                   resizeFrame, centerFrame, dragElId
  */
 Ext.define('Ext.dd.DDProxy', {
     extend: 'Ext.dd.DD',
 
     statics: {
-        /**
+        /**
          * The default drag frame div id
-         * @property Ext.dd.DDProxy.dragElId
-         * @type String
          * @static
          */
         dragElId: "ygddfdiv"
     },
 
+    /**
+     * Creates new DDProxy.
+     * @param {String} id the id of the linked html element
+     * @param {String} sGroup the group of related DragDrop objects
+     * @param {object} config an object containing configurable attributes.
+     * Valid properties for DDProxy in addition to those in DragDrop:
+     * 
+     * - resizeFrame
+     * - centerFrame
+     * - dragElId
+     */
     constructor: function(id, sGroup, config) {
         if (id) {
             this.init(id, sGroup, config);
@@ -45,7 +64,7 @@ Ext.define('Ext.dd.DDProxy', {
         }
     },
 
-    /**
+    /**
      * By default we resize the drag frame to be the same size as the element
      * we want to drag (this is to get the frame effect).  We can turn it off
      * if we want a different behavior.
@@ -54,7 +73,7 @@ Ext.define('Ext.dd.DDProxy', {
      */
     resizeFrame: true,
 
-    /**
+    /**
      * By default the frame is positioned exactly where the drag element is, so
      * we use the cursor offset provided by Ext.dd.DD.  Another option that works only if
      * you do not have constraints on the obj is to have the drag frame centered
@@ -64,7 +83,7 @@ Ext.define('Ext.dd.DDProxy', {
      */
     centerFrame: false,
 
-    /**
+    /**
      * Creates the proxy element if it does not yet exist
      * @method createFrame
      */
@@ -97,7 +116,7 @@ Ext.define('Ext.dd.DDProxy', {
         }
     },
 
-    /**
+    /**
      * Initialization for the drag frame element.  Must be called in the
      * constructor of all subclasses
      * @method initFrame
@@ -114,7 +133,7 @@ Ext.define('Ext.dd.DDProxy', {
         this.setDragElId(this.config.dragElId || Ext.dd.DDProxy.dragElId);
     },
 
-    /**
+    /**
      * Resizes the drag frame to the dimensions of the clicked object, positions
      * it over the object, and finally displays it
      * @method showFrame
@@ -139,7 +158,7 @@ Ext.define('Ext.dd.DDProxy', {
         Ext.fly(dragEl).show();
     },
 
-    /**
+    /**
      * The proxy is automatically resized to the dimensions of the linked
      * element when a drag is initiated, unless resizeFrame is set to false
      * @method _resizeProxy
@@ -206,4 +225,6 @@ Ext.define('Ext.dd.DDProxy', {
     }
 
 });
-
\ No newline at end of file +
+ +