X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/StatusProxy.html diff --git a/docs/source/StatusProxy.html b/docs/source/StatusProxy.html index cb8d83e9..e2a4f051 100644 --- a/docs/source/StatusProxy.html +++ b/docs/source/StatusProxy.html @@ -1,13 +1,32 @@ -Sencha Documentation Project
/**
- * @class Ext.dd.StatusProxy
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
+ * @class Ext.dd.StatusProxy
  * A specialized drag proxy that supports a drop status icon, {@link Ext.Layer} styles and auto-repair.  This is the
  * default drag proxy used by all Ext.dd components.
- * @constructor
- * @param {Object} config
  */
 Ext.define('Ext.dd.StatusProxy', {
     animRepair: false,
 
+    /**
+     * Creates new StatusProxy.
+     * @param {Object} config (optional) Config object.
+     */
     constructor: function(config){
         Ext.apply(this, config);
         this.id = this.id || Ext.id();
@@ -29,18 +48,18 @@ Ext.define('Ext.dd.StatusProxy', {
         this.ghost = Ext.get(this.el.dom.childNodes[1]);
         this.dropStatus = this.dropNotAllowed;
     },
-    /**
+    /**
      * @cfg {String} dropAllowed
      * The CSS class to apply to the status element when drop is allowed (defaults to "x-dd-drop-ok").
      */
     dropAllowed : Ext.baseCSSPrefix + 'dd-drop-ok',
-    /**
+    /**
      * @cfg {String} dropNotAllowed
      * The CSS class to apply to the status element when drop is not allowed (defaults to "x-dd-drop-nodrop").
      */
     dropNotAllowed : Ext.baseCSSPrefix + 'dd-drop-nodrop',
 
-    /**
+    /**
      * Updates the proxy's visual element to indicate the status of whether or not drop is allowed
      * over the current target element.
      * @param {String} cssClass The css class for the new drop status indicator image
@@ -53,7 +72,7 @@ Ext.define('Ext.dd.StatusProxy', {
         }
     },
 
-    /**
+    /**
      * Resets the status indicator to the default dropNotAllowed value
      * @param {Boolean} clearGhost True to also remove all content from the ghost, false to preserve it
      */
@@ -65,7 +84,7 @@ Ext.define('Ext.dd.StatusProxy', {
         }
     },
 
-    /**
+    /**
      * Updates the contents of the ghost element
      * @param {String/HTMLElement} html The html that will replace the current innerHTML of the ghost element, or a
      * DOM node to append as the child of the ghost element (in which case the innerHTML will be cleared first).
@@ -84,7 +103,7 @@ Ext.define('Ext.dd.StatusProxy', {
         }
     },
 
-    /**
+    /**
      * Returns the underlying proxy {@link Ext.Layer}
      * @return {Ext.Layer} el
     */
@@ -92,7 +111,7 @@ Ext.define('Ext.dd.StatusProxy', {
         return this.el;
     },
 
-    /**
+    /**
      * Returns the ghost element
      * @return {Ext.core.Element} el
      */
@@ -100,7 +119,7 @@ Ext.define('Ext.dd.StatusProxy', {
         return this.ghost;
     },
 
-    /**
+    /**
      * Hides the proxy
      * @param {Boolean} clear True to reset the status and clear the ghost contents, false to preserve them
      */
@@ -111,7 +130,7 @@ Ext.define('Ext.dd.StatusProxy', {
         }
     },
 
-    /**
+    /**
      * Stops the repair animation if it's currently running
      */
     stop : function(){
@@ -120,7 +139,7 @@ Ext.define('Ext.dd.StatusProxy', {
         }
     },
 
-    /**
+    /**
      * Displays this proxy
      */
     show : function() {
@@ -128,14 +147,14 @@ Ext.define('Ext.dd.StatusProxy', {
         this.proxy.toFront();
     },
 
-    /**
+    /**
      * Force the Layer to sync its shadow and shim positions to the element
      */
     sync : function(){
         this.proxy.el.sync();
     },
 
-    /**
+    /**
      * Causes the proxy to return to its position of origin via an animation.  Should be called after an
      * invalid drop operation by the item being dragged.
      * @param {Array} xy The XY position of the element ([x, y])
@@ -177,4 +196,6 @@ Ext.define('Ext.dd.StatusProxy', {
     destroy: function(){
         Ext.destroy(this.ghost, this.proxy, this.el);
     }
-});
\ No newline at end of file +});
+ +