X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/Trigger.html diff --git a/docs/source/Trigger.html b/docs/source/Trigger.html index c94ba30f..e6fafa74 100644 --- a/docs/source/Trigger.html +++ b/docs/source/Trigger.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.form.field.Trigger
  * @extends Ext.form.field.Text
  * <p>Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default).
@@ -38,7 +55,6 @@ Ext.create('Ext.form.FormPanel', {
  * Create a new Trigger field.
  * @param {Object} config Configuration options (valid {@Ext.form.field.Text} config options will also be applied
  * to the base Text field)
- * @xtype triggerfield
  */
 Ext.define('Ext.form.field.Trigger', {
     extend:'Ext.form.field.Text',
@@ -62,58 +78,58 @@ Ext.define('Ext.form.field.Trigger', {
         }
     ],
 
-    /**
+    /**
      * @cfg {String} triggerCls
      * An additional CSS class used to style the trigger button.  The trigger will always get the
      * {@link #triggerBaseCls} by default and <tt>triggerCls</tt> will be <b>appended</b> if specified.
      * Defaults to undefined.
      */
 
-    /**
+    /**
      * @cfg {String} triggerBaseCls
      * The base CSS class that is always added to the trigger button. The {@link #triggerCls} will be
      * appended in addition to this class.
      */
     triggerBaseCls: Ext.baseCSSPrefix + 'form-trigger',
 
-    /**
+    /**
      * @cfg {String} triggerWrapCls
      * The CSS class that is added to the div wrapping the trigger button(s).
      */
     triggerWrapCls: Ext.baseCSSPrefix + 'form-trigger-wrap',
 
-    /**
+    /**
      * @cfg {Boolean} hideTrigger <tt>true</tt> to hide the trigger element and display only the base
      * text field (defaults to <tt>false</tt>)
      */
     hideTrigger: false,
 
-    /**
+    /**
      * @cfg {Boolean} editable <tt>false</tt> to prevent the user from typing text directly into the field;
      * the field can only have its value set via an action invoked by the trigger. (defaults to <tt>true</tt>).
      */
     editable: true,
 
-    /**
+    /**
      * @cfg {Boolean} readOnly <tt>true</tt> to prevent the user from changing the field, and
      * hides the trigger.  Supercedes the editable and hideTrigger options if the value is true.
      * (defaults to <tt>false</tt>)
      */
     readOnly: false,
 
-    /**
+    /**
      * @cfg {Boolean} selectOnFocus <tt>true</tt> to select any existing text in the field immediately on focus.
      * Only applies when <tt>{@link #editable editable} = true</tt> (defaults to <tt>false</tt>).
      */
 
-    /**
+    /**
      * @cfg {Boolean} repeatTriggerClick <tt>true</tt> to attach a {@link Ext.util.ClickRepeater click repeater}
      * to the trigger. Defaults to <tt>false</tt>.
      */
     repeatTriggerClick: false,
 
 
-    /**
+    /**
      * @hide
      * @method autoSize
      */
@@ -159,7 +175,7 @@ Ext.define('Ext.form.field.Trigger', {
         triggerConfigs[i - 1].cls += ' ' + triggerBaseCls + '-last';
 
         Ext.applyIf(me.renderSelectors, {
-            /**
+            /**
              * @property triggerWrap
              * @type Ext.core.Element
              * A reference to the div element wrapping the trigger button(s). Only set after the field has been rendered.
@@ -174,7 +190,7 @@ Ext.define('Ext.form.field.Trigger', {
 
         me.callParent(arguments);
 
-        /**
+        /**
          * @property triggerEl
          * @type Ext.CompositeElement
          * A composite of all the trigger button elements. Only set after the field has been rendered.
@@ -230,7 +246,7 @@ Ext.define('Ext.form.field.Trigger', {
         }
     },
 
-    /**
+    /**
      * Get the total width of the trigger button area. Only useful after the field has been rendered.
      * @return {Number} The trigger width
      */
@@ -254,7 +270,7 @@ Ext.define('Ext.form.field.Trigger', {
         }
     },
 
-    /**
+    /**
      * @param {Boolean} editable True to allow the user to directly edit the field text
      * Allow or prevent the user from directly editing the field text.  If false is passed,
      * the user will only be able to modify the field using the trigger.  Will also add
@@ -268,7 +284,7 @@ Ext.define('Ext.form.field.Trigger', {
         }
     },
 
-    /**
+    /**
      * @param {Boolean} readOnly True to prevent the user changing the field and explicitly
      * hide the trigger.
      * Setting this to true will superceed settings editable and hideTrigger.
@@ -391,7 +407,7 @@ Ext.define('Ext.form.field.Trigger', {
         }
     },
 
-    /**
+    /**
      * The function that should handle the trigger's click event.  This method does nothing by default
      * until overridden by an implementing function.  See Ext.form.field.ComboBox and Ext.form.field.Date for
      * sample implementations.
@@ -400,14 +416,16 @@ Ext.define('Ext.form.field.Trigger', {
      */
     onTriggerClick: Ext.emptyFn
 
-    /**
+    /**
      * @cfg {Boolean} grow @hide
      */
-    /**
+    /**
      * @cfg {Number} growMin @hide
      */
-    /**
+    /**
      * @cfg {Number} growMax @hide
      */
 });
-
\ No newline at end of file +
+ +