X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/output/Ext.form.TriggerField.html?ds=inline diff --git a/docs/output/Ext.form.TriggerField.html b/docs/output/Ext.form.TriggerField.html deleted file mode 100644 index 1ff3cf11..00000000 --- a/docs/output/Ext.form.TriggerField.html +++ /dev/null @@ -1,2623 +0,0 @@ -
-
- Properties - Methods - Events - Config Options - Direct Link -
-
-
Observable
-  Component
-    BoxComponent
-      Field
-        TextField
-          TriggerField
-

Class Ext.form.TriggerField

- - - - - - -
Package:Ext.form
Defined In:TriggerField.js
Class:TriggerField
Subclasses:ComboBox, DateField
Extends:TextField
-
- * -Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default). -The trigger has no default action, so you must assign a function to implement the trigger click handler by -overriding onTriggerClick. You can create a TriggerField directly, as it renders exactly like a combobox -for which you can provide a custom implementation. For example: -
var trigger = new Ext.form.TriggerField();
-trigger.onTriggerClick = myTriggerFn;
-trigger.applyToMarkup('my-field');
-However, in general you will most likely want to use TriggerField as the base class for a reusable component. -Ext.form.DateField and Ext.form.ComboBox are perfect examples of this.
- -
- -

Config Options

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Config OptionsDefined By
  - - allowBlank : Boolean
- False to validate that the value length > 0 (defaults to true)
-
TextField
  - - allowDomMove : Boolean
- Whether the component can move the Dom node when rendering (defaults to true).
-
Component
  - - blankText : String
- Error text to display if the allow blank validation fails (defaults to "This field is required")
-
TextField
  - - disableKeyFilter : Boolean
- True to disable input keystroke filtering (defaults to false)
-
TextField
  - - disabled : Boolean
- Render this component disabled (default is false).
-
Component
  - - disabledClass : String
- CSS class added to the component when it is disabled (defaults to "x-item-disabled").
-
Component
  - - fieldClass : String
- The default CSS class for the field (defaults to "x-form-field")
-
Field
  - - focusClass : String
- The CSS class to use when the field receives focus (defaults to "x-form-focus")
-
Field
  - - height : Number
- The height of this component in pixels (defaults to auto).
-
BoxComponent
  - - hidden : Boolean
- Render this component hidden (default is false).
-
Component
  - - hideTrigger : Boolean
- True to hide the trigger element and display only the base text field (defaults to false)
-
TriggerField
  - - invalidClass : String
- The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
-
Field
  - - maskRe : RegExp
- An input mask regular expression that will be used to filter keystrokes that don't match (defaults to null)
-
TextField
  - - maxLength : Number
- Maximum input field length allowed (defaults to Number.MAX_VALUE)
-
TextField
  - - minLength : Number
- Minimum input field length required (defaults to 0)
-
TextField
  - - msgFx : String
- Experimental The effect used when displaying a validation message under the field (defaults to 'normal').
-
Field
  - - name : String
- The field's HTML name attribute (defaults to "").
-
Field
  - - pageX : Number
- The page level x coordinate for this component if contained within a positioning container.
-
BoxComponent
  - - pageY : Number
- The page level y coordinate for this component if contained within a positioning container.
-
BoxComponent
  - - regexText : String
- The error text to display if regex is used and the test fails during validation (defaults to "")
-
TextField
  - - selectOnFocus : Boolean
- True to automatically select any existing field text when the field receives input focus (defaults to false)
-
TextField
  - - stripCharsRe : RegExp
- A JavaScript RegExp object used to strip unwanted content from the value before validation (defaults to null).
-
TextField
  - - triggerClass : String
- A CSS class to apply to the trigger
-
TriggerField
  - - validateOnBlur : Boolean
- Whether the field should validate when it loses focus (defaults to true).
-
Field
  - - validationDelay : Number
- The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
-
Field
  - - validationEvent : String/Boolean
- The event that should initiate field validation. Set to false to disable automatic validation (defaults to "keyup").
-
Field
  - - value : Mixed
- A value to initialize this field with (defaults to undefined).
-
Field
  - - vtype : String
- A validation type name as defined in Ext.form.VTypes (defaults to null)
-
TextField
  - - width : Number
- The width of this component in pixels (defaults to auto).
-
BoxComponent
  - - x : Number
- The local x (left) coordinate for this component if contained within a positioning container.
-
BoxComponent
  - - y : Number
- The local y (top) coordinate for this component if contained within a positioning container.
-
BoxComponent
- -

Public Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDefined By
  - - disabled : Boolean
- True if this component is disabled. Read-only.
-
Component
  - - hidden : Boolean
- -True if this component is hidden. Read-only.
-
Component
  - - initialConfig : Object
- This Component's initial configuration specification. Read-only.
-
Component
  - - rendered : Boolean
- True if this component has been rendered. Read-only.
-
Component
- -

Public Methods

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MethodDefined By
- -

Public Events

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
EventDefined By
- -
\ No newline at end of file