X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/FieldAncestor.html diff --git a/docs/source/FieldAncestor.html b/docs/source/FieldAncestor.html index 32c84e80..de6d0ca2 100644 --- a/docs/source/FieldAncestor.html +++ b/docs/source/FieldAncestor.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.form.FieldAncestor
 
 A mixin for {@link Ext.container.Container} components that are likely to have form fields in their
@@ -19,7 +36,7 @@ and should not normally need to be used directly.
  */
 Ext.define('Ext.form.FieldAncestor', {
 
-    /**
+    /**
      * @cfg {Object} fieldDefaults
      * <p>If specified, the properties in this object are used as default config values for each
      * {@link Ext.form.Labelable} instance (e.g. {@link Ext.form.field.Base} or {@link Ext.form.FieldContainer})
@@ -59,7 +76,7 @@ Ext.define('Ext.form.FieldAncestor', {
      */
 
 
-    /**
+    /**
      * @protected Initializes the FieldAncestor's state; this must be called from the initComponent method
      * of any components importing this mixin.
      */
@@ -68,8 +85,8 @@ Ext.define('Ext.form.FieldAncestor', {
             onSubtreeChange = me.onFieldAncestorSubtreeChange;
 
         me.addEvents(
-            /**
-             * @event fielderrorchange
+            /**
+             * @event fieldvaliditychange
              * Fires when the validity state of any one of the {@link Ext.form.field.Field} instances within this
              * container changes.
              * @param {Ext.form.FieldAncestor} this
@@ -78,7 +95,7 @@ Ext.define('Ext.form.FieldAncestor', {
              */
             'fieldvaliditychange',
 
-            /**
+            /**
              * @event fielderrorchange
              * Fires when the active error message is changed for any one of the {@link Ext.form.Labelable}
              * instances within this container.
@@ -96,7 +113,7 @@ Ext.define('Ext.form.FieldAncestor', {
         me.initFieldDefaults();
     },
 
-    /**
+    /**
      * @private Initialize the {@link #fieldDefaults} object
      */
     initFieldDefaults: function() {
@@ -105,7 +122,7 @@ Ext.define('Ext.form.FieldAncestor', {
         }
     },
 
-    /**
+    /**
      * @private
      * Handle the addition and removal of components in the FieldAncestor component's child tree.
      */
@@ -131,7 +148,7 @@ Ext.define('Ext.form.FieldAncestor', {
         handleCmp(child);
     },
 
-    /**
+    /**
      * @protected Called when a {@link Ext.form.Labelable} instance is added to the container's subtree.
      * @param {Ext.form.Labelable} labelable The instance that was added
      */
@@ -144,7 +161,7 @@ Ext.define('Ext.form.FieldAncestor', {
         labelable.setFieldDefaults(me.fieldDefaults);
     },
 
-    /**
+    /**
      * @protected Called when a {@link Ext.form.field.Field} instance is added to the container's subtree.
      * @param {Ext.form.field.Field} field The field which was added
      */
@@ -153,7 +170,7 @@ Ext.define('Ext.form.FieldAncestor', {
         me.mon(field, 'validitychange', me.handleFieldValidityChange, me);
     },
 
-    /**
+    /**
      * @protected Called when a {@link Ext.form.Labelable} instance is removed from the container's subtree.
      * @param {Ext.form.Labelable} labelable The instance that was removed
      */
@@ -162,7 +179,7 @@ Ext.define('Ext.form.FieldAncestor', {
         me.mun(labelable, 'errorchange', me.handleFieldErrorChange, me);
     },
 
-    /**
+    /**
      * @protected Called when a {@link Ext.form.field.Field} instance is removed from the container's subtree.
      * @param {Ext.form.field.Field} field The field which was removed
      */
@@ -171,7 +188,7 @@ Ext.define('Ext.form.FieldAncestor', {
         me.mun(field, 'validitychange', me.handleFieldValidityChange, me);
     },
 
-    /**
+    /**
      * @private Handle validitychange events on sub-fields; invoke the aggregated event and method
      */
     handleFieldValidityChange: function(field, isValid) {
@@ -180,7 +197,7 @@ Ext.define('Ext.form.FieldAncestor', {
         me.onFieldValidityChange();
     },
 
-    /**
+    /**
      * @private Handle errorchange events on sub-fields; invoke the aggregated event and method
      */
     handleFieldErrorChange: function(labelable, activeError) {
@@ -189,18 +206,20 @@ Ext.define('Ext.form.FieldAncestor', {
         me.onFieldErrorChange();
     },
 
-    /**
+    /**
      * @protected Fired when the validity of any field within the container changes.
      * @param {Ext.form.field.Field} The sub-field whose validity changed
      * @param {String} The new validity state
      */
     onFieldValidityChange: Ext.emptyFn,
 
-    /**
+    /**
      * @protected Fired when the error message of any field within the container changes.
      * @param {Ext.form.Labelable} The sub-field whose active error changed
      * @param {String} The new active error message
      */
     onFieldErrorChange: Ext.emptyFn
 
-});
\ No newline at end of file +});
+ +