X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..refs/heads/master:/docs/source/Proxy.html diff --git a/docs/source/Proxy.html b/docs/source/Proxy.html index db12f1d0..84a6a62d 100644 --- a/docs/source/Proxy.html +++ b/docs/source/Proxy.html @@ -1,19 +1,37 @@ -Sencha Documentation Project
/**
- * @class Ext.panel.Proxy
- * @extends Object
- * A custom drag proxy implementation specific to {@link Ext.panel.Panel}s. This class
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
+ * A custom drag proxy implementation specific to {@link Ext.panel.Panel}s. This class
  * is primarily used internally for the Panel's drag drop implementation, and
  * should never need to be created directly.
- * @constructor
- * @param panel The {@link Ext.panel.Panel} to proxy for
- * @param config Configuration options
+ * @private
  */
 Ext.define('Ext.panel.Proxy', {
-    
+
     alternateClassName: 'Ext.dd.PanelProxy',
-    
+
+    /**
+     * Creates new panel proxy.
+     * @param {Ext.panel.Panel} panel The {@link Ext.panel.Panel} to proxy for
+     * @param {Object} [config] Config object
+     */
     constructor: function(panel, config){
-        /**
+        /**
          * @property panel
          * @type Ext.panel.Panel
          */
@@ -22,11 +40,10 @@ Ext.define('Ext.panel.Proxy', {
         Ext.apply(this, config);
     },
 
-    /**
-     * @cfg {Boolean} insertProxy True to insert a placeholder proxy element
-     * while dragging the panel, false to drag with no proxy (defaults to true).
-     * Most Panels are not absolute positioned and therefore we need to reserve
-     * this space.
+    /**
+     * @cfg {Boolean} insertProxy
+     * True to insert a placeholder proxy element while dragging the panel, false to drag with no proxy.
+     * Most Panels are not absolute positioned and therefore we need to reserve this space.
      */
     insertProxy: true,
 
@@ -37,32 +54,32 @@ Ext.define('Ext.panel.Proxy', {
     stop: Ext.emptyFn,
     sync: Ext.emptyFn,
 
-    /**
+    /**
      * Gets the proxy's element
-     * @return {Element} The proxy's element
+     * @return {Ext.Element} The proxy's element
      */
     getEl: function(){
         return this.ghost.el;
     },
 
-    /**
+    /**
      * Gets the proxy's ghost Panel
-     * @return {Panel} The proxy's ghost Panel
+     * @return {Ext.panel.Panel} The proxy's ghost Panel
      */
     getGhost: function(){
         return this.ghost;
     },
 
-    /**
+    /**
      * Gets the proxy element. This is the element that represents where the
      * Panel was before we started the drag operation.
-     * @return {Element} The proxy's element
+     * @return {Ext.Element} The proxy's element
      */
     getProxy: function(){
         return this.proxy;
     },
 
-    /**
+    /**
      * Hides the proxy
      */
     hide : function(){
@@ -78,13 +95,13 @@ Ext.define('Ext.panel.Proxy', {
         }
     },
 
-    /**
+    /**
      * Shows the proxy
      */
     show: function(){
         if (!this.ghost) {
             var panelSize = this.panel.getSize();
-            this.panel.el.setVisibilityMode(Ext.core.Element.DISPLAY);
+            this.panel.el.setVisibilityMode(Ext.Element.DISPLAY);
             this.ghost = this.panel.ghost();
             if (this.insertProxy) {
                 // bc Panels aren't absolute positioned we need to take up the space
@@ -103,12 +120,12 @@ Ext.define('Ext.panel.Proxy', {
         }
     },
 
-    /**
+    /**
      * Moves the proxy to a different position in the DOM.  This is typically
      * called while dragging the Panel to keep the proxy sync'd to the Panel's
      * location.
      * @param {HTMLElement} parentNode The proxy's parent DOM node
-     * @param {HTMLElement} before (optional) The sibling node before which the
+     * @param {HTMLElement} [before] The sibling node before which the
      * proxy should be inserted (defaults to the parent's last child if not
      * specified)
      */
@@ -117,4 +134,6 @@ Ext.define('Ext.panel.Proxy', {
             parentNode.insertBefore(this.proxy.dom, before);
         }
     }
-});
\ No newline at end of file +});
+ +