X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Batch.html diff --git a/docs/source/Batch.html b/docs/source/Batch.html index 7fadc38d..cd8da8f3 100644 --- a/docs/source/Batch.html +++ b/docs/source/Batch.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @author Ed Spencer
  * @class Ext.data.Batch
  * 
@@ -16,49 +33,49 @@ Ext.define('Ext.data.Batch', {
         observable: 'Ext.util.Observable'
     },
     
-    /**
+    /**
      * True to immediately start processing the batch as soon as it is constructed (defaults to false)
      * @property autoStart
      * @type Boolean
      */
     autoStart: false,
     
-    /**
+    /**
      * The index of the current operation being executed
      * @property current
      * @type Number
      */
     current: -1,
     
-    /**
+    /**
      * The total number of operations in this batch. Read only
      * @property total
      * @type Number
      */
     total: 0,
     
-    /**
+    /**
      * True if the batch is currently running
      * @property isRunning
      * @type Boolean
      */
     isRunning: false,
     
-    /**
+    /**
      * True if this batch has been executed completely
      * @property isComplete
      * @type Boolean
      */
     isComplete: false,
     
-    /**
+    /**
      * True if this batch has encountered an exception. This is cleared at the start of each operation
      * @property hasException
      * @type Boolean
      */
     hasException: false,
     
-    /**
+    /**
      * True to automatically pause the execution of the batch if any operation encounters an exception (defaults to true)
      * @property pauseOnException
      * @type Boolean
@@ -69,7 +86,7 @@ Ext.define('Ext.data.Batch', {
         var me = this;
                      
         me.addEvents(
-          /**
+          /**
            * @event complete
            * Fired when all operations of this batch have been completed
            * @param {Ext.data.Batch} batch The batch object
@@ -77,7 +94,7 @@ Ext.define('Ext.data.Batch', {
            */
           'complete',
           
-          /**
+          /**
            * @event exception
            * Fired when a operation encountered an exception
            * @param {Ext.data.Batch} batch The batch object
@@ -85,7 +102,7 @@ Ext.define('Ext.data.Batch', {
            */
           'exception',
           
-          /**
+          /**
            * @event operationcomplete
            * Fired when each operation of the batch completes
            * @param {Ext.data.Batch} batch The batch object
@@ -96,7 +113,7 @@ Ext.define('Ext.data.Batch', {
         
         me.mixins.observable.constructor.call(me, config);
         
-        /**
+        /**
          * Ordered array of operations that will be executed by this batch
          * @property operations
          * @type Array
@@ -104,7 +121,7 @@ Ext.define('Ext.data.Batch', {
         me.operations = [];
     },
     
-    /**
+    /**
      * Adds a new operation to this batch
      * @param {Object} operation The {@link Ext.data.Operation Operation} object
      */
@@ -116,7 +133,7 @@ Ext.define('Ext.data.Batch', {
         this.operations.push(operation);
     },
     
-    /**
+    /**
      * Kicks off the execution of the batch, continuing from the next operation if the previous
      * operation encountered an exception, or if execution was paused
      */
@@ -127,7 +144,7 @@ Ext.define('Ext.data.Batch', {
         this.runNextOperation();
     },
     
-    /**
+    /**
      * @private
      * Runs the next operation, relative to this.current.
      */
@@ -135,14 +152,14 @@ Ext.define('Ext.data.Batch', {
         this.runOperation(this.current + 1);
     },
     
-    /**
+    /**
      * Pauses execution of the batch, but does not cancel the current operation
      */
     pause: function() {
         this.isRunning = false;
     },
     
-    /**
+    /**
      * Executes a operation by its numeric index
      * @param {Number} index The operation index to run
      */
@@ -182,4 +199,6 @@ Ext.define('Ext.data.Batch', {
             me.proxy[operation.action](operation, onProxyReturn, me);
         }
     }
-});
\ No newline at end of file +});
+ +