X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/CompositeSprite.html diff --git a/docs/source/CompositeSprite.html b/docs/source/CompositeSprite.html index c540b81c..b1bf8438 100644 --- a/docs/source/CompositeSprite.html +++ b/docs/source/CompositeSprite.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.draw.CompositeSprite
  * @extends Ext.util.MixedCollection
  *
@@ -94,7 +111,7 @@ Ext.define('Ext.draw.CompositeSprite', {
         });
     },
 
-    /** Add a Sprite to the Group */
+    /** Add a Sprite to the Group */
     add: function(key, o) {
         var result = this.callParent(arguments);
         this.attachEvents(result);
@@ -105,7 +122,7 @@ Ext.define('Ext.draw.CompositeSprite', {
         return this.callParent(arguments);
     },
 
-    /** Remove a Sprite from the Group */
+    /** Remove a Sprite from the Group */
     remove: function(o) {
         var me = this;
         
@@ -120,7 +137,7 @@ Ext.define('Ext.draw.CompositeSprite', {
         me.callParent(arguments);
     },
     
-    /**
+    /**
      * Returns the group bounding box.
      * Behaves like {@link Ext.draw.Sprite} getBBox method.
     */
@@ -156,7 +173,7 @@ Ext.define('Ext.draw.CompositeSprite', {
         };
     },
 
-    /**
+    /**
      *  Iterates through all sprites calling
      *  `setAttributes` on each one. For more information
      *  {@link Ext.draw.Sprite} provides a description of the
@@ -173,32 +190,32 @@ Ext.define('Ext.draw.CompositeSprite', {
         return this;
     },
 
-    /**
+    /**
      * Hides all sprites. If the first parameter of the method is true
      * then a redraw will be forced for each sprite.
      */
-    hide: function(attrs) {
+    hide: function(redraw) {
         var i = 0,
             items = this.items,
             len = this.length;
             
         for (; i < len; i++) {
-            items[i].hide();
+            items[i].hide(redraw);
         }
         return this;
     },
 
-    /**
+    /**
      * Shows all sprites. If the first parameter of the method is true
      * then a redraw will be forced for each sprite.
      */
-    show: function(attrs) {
+    show: function(redraw) {
         var i = 0,
             items = this.items,
             len = this.length;
             
         for (; i < len; i++) {
-            items[i].show();
+            items[i].show(redraw);
         }
         return this;
     },
@@ -259,7 +276,7 @@ Ext.define('Ext.draw.CompositeSprite', {
         }
     },
     
-    /**
+    /**
      * Grab the surface from the items
      * @private
      * @return {Ext.draw.Surface} The surface, null if not found
@@ -272,7 +289,7 @@ Ext.define('Ext.draw.CompositeSprite', {
         return null;
     },
     
-    /**
+    /**
      * Destroys the SpriteGroup
      */
     destroy: function(){
@@ -290,4 +307,6 @@ Ext.define('Ext.draw.CompositeSprite', {
         me.clearListeners();
     }
 });
-
\ No newline at end of file +
+ +