Ext.data.JsonP.Ext_form_field_Trigger({"mixins":[],"code_type":"ext_define","inheritable":false,"component":true,"meta":{},"mixedInto":[],"uses":[],"aliases":{"widget":["triggerfield","trigger"]},"parentMixins":["Ext.form.Labelable","Ext.form.field.Field","Ext.util.Floating","Ext.util.Observable","Ext.util.Animate","Ext.util.ElementContainer","Ext.util.Renderable","Ext.state.Stateful"],"superclasses":["Ext.Base","Ext.AbstractComponent","Ext.Component","Ext.form.field.Base","Ext.form.field.Text"],"members":{"event":[{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"activate","id":"event-activate"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"added","id":"event-added"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"afterrender","id":"event-afterrender"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"event","name":"autosize","id":"event-autosize"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforeactivate","id":"event-beforeactivate"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforedeactivate","id":"event-beforedeactivate"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforedestroy","id":"event-beforedestroy"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforehide","id":"event-beforehide"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforerender","id":"event-beforerender"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"beforeshow","id":"event-beforeshow"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"event","name":"beforestaterestore","id":"event-beforestaterestore"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"event","name":"beforestatesave","id":"event-beforestatesave"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"blur","id":"event-blur"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"boxready","id":"event-boxready"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"event","name":"change","id":"event-change"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"deactivate","id":"event-deactivate"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"destroy","id":"event-destroy"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"event","name":"dirtychange","id":"event-dirtychange"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"disable","id":"event-disable"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"enable","id":"event-enable"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"event","name":"errorchange","id":"event-errorchange"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"focus","id":"event-focus"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"hide","id":"event-hide"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"event","name":"keydown","id":"event-keydown"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"event","name":"keypress","id":"event-keypress"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"event","name":"keyup","id":"event-keyup"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"move","id":"event-move"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"removed","id":"event-removed"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"render","id":"event-render"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"resize","id":"event-resize"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"event","name":"show","id":"event-show"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"event","name":"specialkey","id":"event-specialkey"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"event","name":"staterestore","id":"event-staterestore"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"event","name":"statesave","id":"event-statesave"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"event","name":"validitychange","id":"event-validitychange"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"event","name":"writeablechange","id":"event-writeablechange"}],"property":[{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"$className","id":"property-S-className"},{"meta":{"protected":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"_isLayoutRoot","id":"property-_isLayoutRoot"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"autoGenId","id":"property-autoGenId"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"property","name":"bodyEl","id":"property-bodyEl"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"componentLayoutCounter","id":"property-componentLayoutCounter"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"configMap","id":"property-configMap"},{"meta":{"readonly":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"draggable","id":"property-draggable"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"property","name":"errorEl","id":"property-errorEl"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"property","name":"eventsSuspended","id":"property-eventsSuspended"},{"meta":{"readonly":true},"owner":"Ext.Component","tagname":"property","name":"floatParent","id":"property-floatParent"},{"meta":{"readonly":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"frameSize","id":"property-frameSize"},{"meta":{"readonly":true},"owner":"Ext.util.Observable","tagname":"property","name":"hasListeners","id":"property-hasListeners"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"initConfigList","id":"property-initConfigList"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"initConfigMap","id":"property-initConfigMap"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"property","name":"inputCell","id":"property-inputCell"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"property","name":"inputEl","id":"property-inputEl"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"property","name":"isComponent","id":"property-isComponent"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"property","name":"isFieldLabelable","id":"property-isFieldLabelable"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"property","name":"isFormField","id":"property-isFormField"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"property","name":"isInstance","id":"property-isInstance"},{"meta":{},"owner":"Ext.util.Observable","tagname":"property","name":"isObservable","id":"property-isObservable"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"property","name":"labelCell","id":"property-labelCell"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"property","name":"labelEl","id":"property-labelEl"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"property","name":"maskOnDisable","id":"property-maskOnDisable"},{"meta":{"private":true},"owner":"Ext.form.Labelable","tagname":"property","name":"noWrap","id":"property-noWrap"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"property","name":"originalValue","id":"property-originalValue"},{"meta":{"readonly":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"ownerCt","id":"property-ownerCt"},{"meta":{"readonly":true},"owner":"Ext.AbstractComponent","tagname":"property","name":"rendered","id":"property-rendered"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"property","name":"self","id":"property-self"},{"meta":{"private":true},"owner":"Ext.form.field.Field","tagname":"property","name":"suspendCheckChange","id":"property-suspendCheckChange"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"property","name":"triggerEl","id":"property-triggerEl"},{"meta":{"private":true},"owner":"Ext.form.field.Trigger","tagname":"property","name":"triggerWidth","id":"property-triggerWidth"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"property","name":"triggerWrap","id":"property-triggerWrap"},{"meta":{"readonly":true},"owner":"Ext.Component","tagname":"property","name":"zIndexManager","id":"property-zIndexManager"},{"meta":{"readonly":true},"owner":"Ext.Component","tagname":"property","name":"zIndexParent","id":"property-zIndexParent"}],"css_var":[{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-error-icon-width","id":"css_var-S-form-error-icon-width"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-background-color","id":"css_var-S-form-field-background-color"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-background-image","id":"css_var-S-form-field-background-image"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-border-color","id":"css_var-S-form-field-border-color"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-border-width","id":"css_var-S-form-field-border-width"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-color","id":"css_var-S-form-field-color"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-empty-color","id":"css_var-S-form-field-empty-color"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-focus-border-color","id":"css_var-S-form-field-focus-border-color"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-font","id":"css_var-S-form-field-font"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-font-family","id":"css_var-S-form-field-font-family"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-font-size","id":"css_var-S-form-field-font-size"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-font-weight","id":"css_var-S-form-field-font-weight"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-height","id":"css_var-S-form-field-height"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-invalid-background-color","id":"css_var-S-form-field-invalid-background-color"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-invalid-background-image","id":"css_var-S-form-field-invalid-background-image"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-invalid-background-position","id":"css_var-S-form-field-invalid-background-position"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-invalid-background-repeat","id":"css_var-S-form-field-invalid-background-repeat"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-invalid-border-color","id":"css_var-S-form-field-invalid-border-color"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-field-padding","id":"css_var-S-form-field-padding"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_var","name":"$form-toolbar-field-height","id":"css_var-S-form-toolbar-field-height"}],"method":[{"meta":{},"owner":"Ext.Component","tagname":"method","name":"constructor","id":"method-constructor"},{"meta":{},"owner":"Ext.util.ElementContainer","tagname":"method","name":"addChildEls","id":"method-addChildEls"},{"meta":{"deprecated":{"text":"Use {@link #addCls} instead.","version":"4.1"}},"owner":"Ext.AbstractComponent","tagname":"method","name":"addClass","id":"method-addClass"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"addCls","id":"method-addCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"addClsWithUI","id":"method-addClsWithUI"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"addEvents","id":"method-addEvents"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"addFocusListener","id":"method-addFocusListener"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"addListener","id":"method-addListener"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"addManagedListener","id":"method-addManagedListener"},{"meta":{"protected":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"addPropertyToState","id":"method-addPropertyToState"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"addStateEvents","id":"method-addStateEvents"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"addUIClsToElement","id":"method-addUIClsToElement"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"addUIToElement","id":"method-addUIToElement"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"afterComponentLayout","id":"method-afterComponentLayout"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"afterHide","id":"method-afterHide"},{"meta":{"protected":true,"template":true},"owner":"Ext.util.Renderable","tagname":"method","name":"afterRender","id":"method-afterRender"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"afterSetPosition","id":"method-afterSetPosition"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"afterShow","id":"method-afterShow"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"alignTo","id":"method-alignTo"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"animate","id":"method-animate"},{"meta":{"private":true},"owner":"Ext.util.ElementContainer","tagname":"method","name":"applyChildEls","id":"method-applyChildEls"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"applyRenderSelectors","id":"method-applyRenderSelectors"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"applyState","id":"method-applyState"},{"meta":{"private":true},"owner":"Ext.form.field.Trigger","tagname":"method","name":"autoSize","id":"method-autoSize"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"method","name":"batchChanges","id":"method-batchChanges"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"beforeComponentLayout","id":"method-beforeComponentLayout"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"beforeDestroy","id":"method-beforeDestroy"},{"meta":{"protected":true},"owner":"Ext.form.field.Field","tagname":"method","name":"beforeReset","id":"method-beforeReset"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"beforeSetPosition","id":"method-beforeSetPosition"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"beforeShow","id":"method-beforeShow"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"bubble","id":"method-bubble"},{"meta":{"deprecated":{"text":"as of 4.1. Use {@link #callParent} instead."},"protected":true},"owner":"Ext.Base","tagname":"method","name":"callOverridden","id":"method-callOverridden"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"method","name":"callParent","id":"method-callParent"},{"meta":{"protected":true},"owner":"Ext.Component","tagname":"method","name":"cancelFocus","id":"method-cancelFocus"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"cancelLayout","id":"method-cancelLayout"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"center","id":"method-center"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"method","name":"checkChange","id":"method-checkChange"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"method","name":"checkDirty","id":"method-checkDirty"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"method","name":"clearInvalid","id":"method-clearInvalid"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"clearListeners","id":"method-clearListeners"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"clearManagedListeners","id":"method-clearManagedListeners"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"cloneConfig","id":"method-cloneConfig"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"configClass","id":"method-configClass"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"constructPlugins","id":"method-constructPlugins"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"method","name":"continueFireEvent","id":"method-continueFireEvent"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"convertPosition","id":"method-convertPosition"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"method","name":"createRelayer","id":"method-createRelayer"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"destroy","id":"method-destroy"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"disable","id":"method-disable"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"doApplyRenderTpl","id":"method-doApplyRenderTpl"},{"meta":{},"owner":"Ext.util.Renderable","tagname":"method","name":"doAutoRender","id":"method-doAutoRender"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"doComponentLayout","id":"method-doComponentLayout"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"doConstrain","id":"method-doConstrain"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"enable","id":"method-enable"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"enableBubble","id":"method-enableBubble"},{"meta":{},"owner":"Ext.util.Renderable","tagname":"method","name":"ensureAttachedToBody","id":"method-ensureAttachedToBody"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"method","name":"extractFileInput","id":"method-extractFileInput"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"findParentBy","id":"method-findParentBy"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"findParentByType","id":"method-findParentByType"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"finishRender","id":"method-finishRender"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"fireEvent","id":"method-fireEvent"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"focus","id":"method-focus"},{"meta":{"deprecated":{"text":"Use {@link #updateLayout} instead.","version":"4.1.0"}},"owner":"Ext.AbstractComponent","tagname":"method","name":"forceComponentLayout","id":"method-forceComponentLayout"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"getActiveAnimation","id":"method-getActiveAnimation"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"method","name":"getActiveError","id":"method-getActiveError"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"method","name":"getActiveErrors","id":"method-getActiveErrors"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"getAutoId","id":"method-getAutoId"},{"meta":{"private":true},"owner":"Ext.form.Labelable","tagname":"method","name":"getBodyColspan","id":"method-getBodyColspan"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"getBox","id":"method-getBox"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"method","name":"getBubbleParent","id":"method-getBubbleParent"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getBubbleTarget","id":"method-getBubbleTarget"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"getConfig","id":"method-getConfig"},{"meta":{"private":true},"owner":"Ext.util.Floating","tagname":"method","name":"getConstrainVector","id":"method-getConstrainVector"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getEl","id":"method-getEl"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"method","name":"getErrors","id":"method-getErrors"},{"meta":{"template":true},"owner":"Ext.form.Labelable","tagname":"method","name":"getFieldLabel","id":"method-getFieldLabel"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"getFocusEl","id":"method-getFocusEl"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"getFrameInfo","id":"method-getFrameInfo"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"getFrameTpl","id":"method-getFrameTpl"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getHeight","id":"method-getHeight"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getId","id":"method-getId"},{"meta":{},"owner":"Ext.Base","tagname":"method","name":"getInitialConfig","id":"method-getInitialConfig"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"method","name":"getInputId","id":"method-getInputId"},{"meta":{},"owner":"Ext.util.Renderable","tagname":"method","name":"getInsertPosition","id":"method-getInsertPosition"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getItemId","id":"method-getItemId"},{"meta":{"private":true},"owner":"Ext.form.Labelable","tagname":"method","name":"getLabelStyle","id":"method-getLabelStyle"},{"meta":{"protected":true},"owner":"Ext.form.Labelable","tagname":"method","name":"getLabelableRenderData","id":"method-getLabelableRenderData"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getLoader","id":"method-getLoader"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"method","name":"getModelData","id":"method-getModelData"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"method","name":"getName","id":"method-getName"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"getOverflowStyle","id":"method-getOverflowStyle"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getPlugin","id":"method-getPlugin"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"getPosition","id":"method-getPosition"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"method","name":"getRawValue","id":"method-getRawValue"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getSize","id":"method-getSize"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getSizeModel","id":"method-getSizeModel"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getState","id":"method-getState"},{"meta":{"private":true},"owner":"Ext.state.Stateful","tagname":"method","name":"getStateId","id":"method-getStateId"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"getStyleProxy","id":"method-getStyleProxy"},{"meta":{"template":true},"owner":"Ext.form.field.Base","tagname":"method","name":"getSubTplData","id":"method-getSubTplData"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"method","name":"getSubTplMarkup","id":"method-getSubTplMarkup"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"method","name":"getSubmitData","id":"method-getSubmitData"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"method","name":"getSubmitValue","id":"method-getSubmitValue"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"getTargetEl","id":"method-getTargetEl"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"getTpl","id":"method-getTpl"},{"meta":{"private":true},"owner":"Ext.form.field.Trigger","tagname":"method","name":"getTriggerStateFlags","id":"method-getTriggerStateFlags"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"method","name":"getTriggerWidth","id":"method-getTriggerWidth"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"method","name":"getValue","id":"method-getValue"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getWidth","id":"method-getWidth"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"getXType","id":"method-getXType"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"getXTypes","id":"method-getXTypes"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"method","name":"hasActiveError","id":"method-hasActiveError"},{"meta":{"deprecated":{"text":"Replaced by {@link #getActiveAnimation}","version":"4.0"}},"owner":"Ext.util.Animate","tagname":"method","name":"hasActiveFx","id":"method-hasActiveFx"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"hasCls","id":"method-hasCls"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"hasConfig","id":"method-hasConfig"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"hasListener","id":"method-hasListener"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"hasUICls","id":"method-hasUICls"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"method","name":"hasVisibleLabel","id":"method-hasVisibleLabel"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"hide","id":"method-hide"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"initComponent","id":"method-initComponent"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"method","name":"initConfig","id":"method-initConfig"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"method","name":"initField","id":"method-initField"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"initFrame","id":"method-initFrame"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"method","name":"initLabelable","id":"method-initLabelable"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"initRenderData","id":"method-initRenderData"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"initRenderTpl","id":"method-initRenderTpl"},{"meta":{"private":true},"owner":"Ext.state.Stateful","tagname":"method","name":"initState","id":"method-initState"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"initStyles","id":"method-initStyles"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"method","name":"initValue","id":"method-initValue"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"is","id":"method-is"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isDescendantOf","id":"method-isDescendantOf"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"method","name":"isDirty","id":"method-isDirty"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isDisabled","id":"method-isDisabled"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isDraggable","id":"method-isDraggable"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isDroppable","id":"method-isDroppable"},{"meta":{"private":true},"owner":"Ext.form.field.Text","tagname":"method","name":"isEqual","id":"method-isEqual"},{"meta":{"private":true},"owner":"Ext.form.field.Field","tagname":"method","name":"isEqualAsString","id":"method-isEqualAsString"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"method","name":"isFileUpload","id":"method-isFileUpload"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isFloating","id":"method-isFloating"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isHidden","id":"method-isHidden"},{"meta":{"protected":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"isLayoutRoot","id":"method-isLayoutRoot"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isLayoutSuspended","id":"method-isLayoutSuspended"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"method","name":"isValid","id":"method-isValid"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isVisible","id":"method-isVisible"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"isXType","id":"method-isXType"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"method","name":"markInvalid","id":"method-markInvalid"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"mon","id":"method-mon"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"mun","id":"method-mun"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"nextNode","id":"method-nextNode"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"nextSibling","id":"method-nextSibling"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"on","id":"method-on"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onAdded","id":"method-onAdded"},{"meta":{"private":true},"owner":"Ext.form.field.Trigger","tagname":"method","name":"onBlur","id":"method-onBlur"},{"meta":{"private":true},"owner":"Ext.form.field.Text","tagname":"method","name":"onChange","id":"method-onChange"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"onConfigUpdate","id":"method-onConfigUpdate"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"onDestroy","id":"method-onDestroy"},{"meta":{"private":true},"owner":"Ext.form.field.Base","tagname":"method","name":"onDirtyChange","id":"method-onDirtyChange"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onDisable","id":"method-onDisable"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onEnable","id":"method-onEnable"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"onHide","id":"method-onHide"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onPosition","id":"method-onPosition"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onRemoved","id":"method-onRemoved"},{"meta":{"protected":true,"template":true},"owner":"Ext.util.Renderable","tagname":"method","name":"onRender","id":"method-onRender"},{"meta":{"protected":true,"template":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"onResize","id":"method-onResize"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"onShow","id":"method-onShow"},{"meta":{"protected":true,"template":true},"owner":"Ext.Component","tagname":"method","name":"onShowComplete","id":"method-onShowComplete"},{"meta":{"private":true},"owner":"Ext.state.Stateful","tagname":"method","name":"onStateChange","id":"method-onStateChange"},{"meta":{"protected":true},"owner":"Ext.form.field.Trigger","tagname":"method","name":"onTriggerClick","id":"method-onTriggerClick"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"method","name":"prepareClass","id":"method-prepareClass"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"previousNode","id":"method-previousNode"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"previousSibling","id":"method-previousSibling"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"method","name":"processRawValue","id":"method-processRawValue"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"method","name":"rawToValue","id":"method-rawToValue"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"registerFloatingItem","id":"method-registerFloatingItem"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"relayEvents","id":"method-relayEvents"},{"meta":{},"owner":"Ext.util.ElementContainer","tagname":"method","name":"removeChildEls","id":"method-removeChildEls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"removeCls","id":"method-removeCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"removeClsWithUI","id":"method-removeClsWithUI"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"removeListener","id":"method-removeListener"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"removeManagedListener","id":"method-removeManagedListener"},{"meta":{"private":true},"owner":"Ext.util.Observable","tagname":"method","name":"removeManagedListenerItem","id":"method-removeManagedListenerItem"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"removeUIClsFromElement","id":"method-removeUIClsFromElement"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"removeUIFromElement","id":"method-removeUIFromElement"},{"meta":{},"owner":"Ext.util.Renderable","tagname":"method","name":"render","id":"method-render"},{"meta":{"private":true},"owner":"Ext.form.field.Base","tagname":"method","name":"renderActiveError","id":"method-renderActiveError"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"method","name":"reset","id":"method-reset"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"method","name":"resetOriginalValue","id":"method-resetOriginalValue"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"resumeEvents","id":"method-resumeEvents"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"savePropToState","id":"method-savePropToState"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"savePropsToState","id":"method-savePropsToState"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"method","name":"saveState","id":"method-saveState"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"scrollBy","id":"method-scrollBy"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"method","name":"selectText","id":"method-selectText"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"sequenceFx","id":"method-sequenceFx"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"setActive","id":"method-setActive"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"method","name":"setActiveError","id":"method-setActiveError"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"method","name":"setActiveErrors","id":"method-setActiveErrors"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"setAutoScroll","id":"method-setAutoScroll"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setBorder","id":"method-setBorder"},{"meta":{"private":true},"owner":"Ext.Base","tagname":"method","name":"setConfig","id":"method-setConfig"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setDisabled","id":"method-setDisabled"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setDocked","id":"method-setDocked"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"method","name":"setEditable","id":"method-setEditable"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"method","name":"setFieldDefaults","id":"method-setFieldDefaults"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"method","name":"setFieldLabel","id":"method-setFieldLabel"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"method","name":"setFieldStyle","id":"method-setFieldStyle"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setHeight","id":"method-setHeight"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"setLoading","id":"method-setLoading"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"setOverflowXY","id":"method-setOverflowXY"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"setPagePosition","id":"method-setPagePosition"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setPosition","id":"method-setPosition"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"method","name":"setRawValue","id":"method-setRawValue"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"method","name":"setReadOnly","id":"method-setReadOnly"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setSize","id":"method-setSize"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setUI","id":"method-setUI"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"method","name":"setValue","id":"method-setValue"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setVisible","id":"method-setVisible"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"setWidth","id":"method-setWidth"},{"meta":{"private":true},"owner":"Ext.util.Renderable","tagname":"method","name":"setupFramingTpl","id":"method-setupFramingTpl"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"show","id":"method-show"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"showAt","id":"method-showAt"},{"meta":{"protected":true},"owner":"Ext.Base","tagname":"method","name":"statics","id":"method-statics"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"stopAnimation","id":"method-stopAnimation"},{"meta":{"deprecated":{"text":"Replaced by {@link #stopAnimation}","version":"4.0"}},"owner":"Ext.util.Animate","tagname":"method","name":"stopFx","id":"method-stopFx"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"suspendEvents","id":"method-suspendEvents"},{"meta":{},"owner":"Ext.util.Animate","tagname":"method","name":"syncFx","id":"method-syncFx"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"toBack","id":"method-toBack"},{"meta":{},"owner":"Ext.util.Floating","tagname":"method","name":"toFront","id":"method-toFront"},{"meta":{"protected":true},"owner":"Ext.form.field.Field","tagname":"method","name":"transformOriginalValue","id":"method-transformOriginalValue"},{"meta":{"protected":true},"owner":"Ext.form.field.Base","tagname":"method","name":"transformRawValue","id":"method-transformRawValue"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"method","name":"trimLabelSeparator","id":"method-trimLabelSeparator"},{"meta":{},"owner":"Ext.util.Observable","tagname":"method","name":"un","id":"method-un"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"method","name":"unsetActiveError","id":"method-unsetActiveError"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"up","id":"method-up"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"update","id":"method-update"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"method","name":"updateAria","id":"method-updateAria"},{"meta":{},"owner":"Ext.Component","tagname":"method","name":"updateBox","id":"method-updateBox"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"method","name":"updateLayout","id":"method-updateLayout"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"method","name":"validate","id":"method-validate"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"method","name":"validateValue","id":"method-validateValue"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"method","name":"valueToRaw","id":"method-valueToRaw"}],"css_mixin":[{"meta":{},"owner":"Ext.form.field.Base","tagname":"css_mixin","name":"extjs-form-field","id":"css_mixin-extjs-form-field"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"css_mixin","name":"extjs-form-triggerfield","id":"css_mixin-extjs-form-triggerfield"}],"cfg":[{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"activeError","id":"cfg-activeError"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"activeErrorsTpl","id":"cfg-activeErrorsTpl"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"afterBodyEl","id":"cfg-afterBodyEl"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"afterLabelTextTpl","id":"cfg-afterLabelTextTpl"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"afterLabelTpl","id":"cfg-afterLabelTpl"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"afterSubTpl","id":"cfg-afterSubTpl"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"allowBlank","id":"cfg-allowBlank"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"autoEl","id":"cfg-autoEl"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"autoFitErrors","id":"cfg-autoFitErrors"},{"meta":{"deprecated":{"text":"Use {@link #loader} config instead.","version":"4.1.1"}},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"autoLoad","id":"cfg-autoLoad"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"autoRender","id":"cfg-autoRender"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"autoScroll","id":"cfg-autoScroll"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"autoShow","id":"cfg-autoShow"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"baseBodyCls","id":"cfg-baseBodyCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"baseCls","id":"cfg-baseCls"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"beforeBodyEl","id":"cfg-beforeBodyEl"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"beforeLabelTextTpl","id":"cfg-beforeLabelTextTpl"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"beforeLabelTpl","id":"cfg-beforeLabelTpl"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"beforeSubTpl","id":"cfg-beforeSubTpl"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"blankText","id":"cfg-blankText"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"border","id":"cfg-border"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"checkChangeBuffer","id":"cfg-checkChangeBuffer"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"checkChangeEvents","id":"cfg-checkChangeEvents"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"childEls","id":"cfg-childEls"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"clearCls","id":"cfg-clearCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"cls","id":"cfg-cls"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"columnWidth","id":"cfg-columnWidth"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"componentCls","id":"cfg-componentCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"componentLayout","id":"cfg-componentLayout"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"contentEl","id":"cfg-contentEl"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"data","id":"cfg-data"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"dirtyCls","id":"cfg-dirtyCls"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"disableKeyFilter","id":"cfg-disableKeyFilter"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"cfg","name":"disabled","id":"cfg-disabled"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"disabledCls","id":"cfg-disabledCls"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"draggable","id":"cfg-draggable"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"cfg","name":"editable","id":"cfg-editable"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"emptyCls","id":"cfg-emptyCls"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"emptyText","id":"cfg-emptyText"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"enableKeyEvents","id":"cfg-enableKeyEvents"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"enforceMaxLength","id":"cfg-enforceMaxLength"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"errorMsgCls","id":"cfg-errorMsgCls"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"fieldBodyCls","id":"cfg-fieldBodyCls"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"fieldCls","id":"cfg-fieldCls"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"fieldLabel","id":"cfg-fieldLabel"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"fieldStyle","id":"cfg-fieldStyle"},{"meta":{"private":true},"owner":"Ext.form.field.Base","tagname":"cfg","name":"fieldSubTpl","id":"cfg-fieldSubTpl"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"floating","id":"cfg-floating"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"focusCls","id":"cfg-focusCls"},{"meta":{},"owner":"Ext.util.Floating","tagname":"cfg","name":"focusOnToFront","id":"cfg-focusOnToFront"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"formBind","id":"cfg-formBind"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"formItemCls","id":"cfg-formItemCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"frame","id":"cfg-frame"},{"meta":{"private":true},"owner":"Ext.form.field.Trigger","tagname":"cfg","name":"grow","id":"cfg-grow"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"growAppend","id":"cfg-growAppend"},{"meta":{"private":true},"owner":"Ext.form.field.Trigger","tagname":"cfg","name":"growMax","id":"cfg-growMax"},{"meta":{"private":true},"owner":"Ext.form.field.Trigger","tagname":"cfg","name":"growMin","id":"cfg-growMin"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"height","id":"cfg-height"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"hidden","id":"cfg-hidden"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"hideEmptyLabel","id":"cfg-hideEmptyLabel"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"hideLabel","id":"cfg-hideLabel"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"hideMode","id":"cfg-hideMode"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"cfg","name":"hideTrigger","id":"cfg-hideTrigger"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"html","id":"cfg-html"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"id","id":"cfg-id"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"inputAttrTpl","id":"cfg-inputAttrTpl"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"inputId","id":"cfg-inputId"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"inputType","id":"cfg-inputType"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"invalidCls","id":"cfg-invalidCls"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"invalidText","id":"cfg-invalidText"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"itemId","id":"cfg-itemId"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"labelAlign","id":"cfg-labelAlign"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"labelAttrTpl","id":"cfg-labelAttrTpl"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"labelCls","id":"cfg-labelCls"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"labelClsExtra","id":"cfg-labelClsExtra"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"labelPad","id":"cfg-labelPad"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"labelSeparator","id":"cfg-labelSeparator"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"labelStyle","id":"cfg-labelStyle"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"labelWidth","id":"cfg-labelWidth"},{"meta":{"private":true},"owner":"Ext.form.Labelable","tagname":"cfg","name":"labelableRenderTpl","id":"cfg-labelableRenderTpl"},{"meta":{},"owner":"Ext.util.Observable","tagname":"cfg","name":"listeners","id":"cfg-listeners"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"loader","id":"cfg-loader"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"margin","id":"cfg-margin"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"maskRe","id":"cfg-maskRe"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"maxHeight","id":"cfg-maxHeight"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"maxLength","id":"cfg-maxLength"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"maxLengthText","id":"cfg-maxLengthText"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"maxWidth","id":"cfg-maxWidth"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"minHeight","id":"cfg-minHeight"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"minLength","id":"cfg-minLength"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"minLengthText","id":"cfg-minLengthText"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"minWidth","id":"cfg-minWidth"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"msgTarget","id":"cfg-msgTarget"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"name","id":"cfg-name"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"overCls","id":"cfg-overCls"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"overflowX","id":"cfg-overflowX"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"overflowY","id":"cfg-overflowY"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"padding","id":"cfg-padding"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"plugins","id":"cfg-plugins"},{"meta":{},"owner":"Ext.form.Labelable","tagname":"cfg","name":"preventMark","id":"cfg-preventMark"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"cfg","name":"readOnly","id":"cfg-readOnly"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"readOnlyCls","id":"cfg-readOnlyCls"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"regex","id":"cfg-regex"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"regexText","id":"cfg-regexText"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"region","id":"cfg-region"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"renderData","id":"cfg-renderData"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"renderSelectors","id":"cfg-renderSelectors"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"renderTo","id":"cfg-renderTo"},{"meta":{"protected":true},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"renderTpl","id":"cfg-renderTpl"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"cfg","name":"repeatTriggerClick","id":"cfg-repeatTriggerClick"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"requiredCls","id":"cfg-requiredCls"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"resizable","id":"cfg-resizable"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"resizeHandles","id":"cfg-resizeHandles"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"cfg","name":"saveDelay","id":"cfg-saveDelay"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"cfg","name":"selectOnFocus","id":"cfg-selectOnFocus"},{"meta":{},"owner":"Ext.util.Floating","tagname":"cfg","name":"shadow","id":"cfg-shadow"},{"meta":{},"owner":"Ext.util.Floating","tagname":"cfg","name":"shadowOffset","id":"cfg-shadowOffset"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"shrinkWrap","id":"cfg-shrinkWrap"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"size","id":"cfg-size"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"cfg","name":"stateEvents","id":"cfg-stateEvents"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"cfg","name":"stateId","id":"cfg-stateId"},{"meta":{},"owner":"Ext.state.Stateful","tagname":"cfg","name":"stateful","id":"cfg-stateful"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"stripCharsRe","id":"cfg-stripCharsRe"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"style","id":"cfg-style"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"styleHtmlCls","id":"cfg-styleHtmlCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"styleHtmlContent","id":"cfg-styleHtmlContent"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"cfg","name":"submitValue","id":"cfg-submitValue"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"tabIndex","id":"cfg-tabIndex"},{"meta":{},"owner":"Ext.Component","tagname":"cfg","name":"toFrontOnShow","id":"cfg-toFrontOnShow"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"tpl","id":"cfg-tpl"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"tplWriteMode","id":"cfg-tplWriteMode"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"cfg","name":"triggerBaseCls","id":"cfg-triggerBaseCls"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"cfg","name":"triggerCls","id":"cfg-triggerCls"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"cfg","name":"triggerNoEditCls","id":"cfg-triggerNoEditCls"},{"meta":{},"owner":"Ext.form.field.Trigger","tagname":"cfg","name":"triggerWrapCls","id":"cfg-triggerWrapCls"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"ui","id":"cfg-ui"},{"meta":{"private":true},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"uiCls","id":"cfg-uiCls"},{"meta":{},"owner":"Ext.form.field.Base","tagname":"cfg","name":"validateOnBlur","id":"cfg-validateOnBlur"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"cfg","name":"validateOnChange","id":"cfg-validateOnChange"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"validator","id":"cfg-validator"},{"meta":{},"owner":"Ext.form.field.Field","tagname":"cfg","name":"value","id":"cfg-value"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"vtype","id":"cfg-vtype"},{"meta":{},"owner":"Ext.form.field.Text","tagname":"cfg","name":"vtypeText","id":"cfg-vtypeText"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"width","id":"cfg-width"},{"meta":{},"owner":"Ext.AbstractComponent","tagname":"cfg","name":"xtype","id":"cfg-xtype"}]},"private":null,"tagname":"class","extends":"Ext.form.field.Text","html":"
Alternate names
Ext.form.TriggerExt.form.TriggerFieldExt.form.TwinTriggerFieldHierarchy
Ext.BaseExt.AbstractComponentExt.ComponentExt.form.field.BaseExt.form.field.TextExt.form.field.TriggerInherited mixins
Requires
Subclasses
Files
Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default).\nThe trigger has no default action, so you must assign a function to implement the trigger click handler by overriding\nonTriggerClick. You can create a Trigger field directly, as it renders exactly like a combobox for which you\ncan provide a custom implementation.
\n\nFor example:
\n\nExt.define('Ext.ux.CustomTrigger', {\n extend: 'Ext.form.field.Trigger',\n alias: 'widget.customtrigger',\n\n // override onTriggerClick\n onTriggerClick: function() {\n Ext.Msg.alert('Status', 'You clicked my trigger!');\n }\n});\n\nExt.create('Ext.form.FormPanel', {\n title: 'Form with TriggerField',\n bodyPadding: 5,\n width: 350,\n renderTo: Ext.getBody(),\n items:[{\n xtype: 'customtrigger',\n fieldLabel: 'Sample Trigger',\n emptyText: 'click the trigger'\n }]\n});\n
\n\nHowever, in general you will most likely want to use Trigger as the base class for a reusable component.\nExt.form.field.Date and Ext.form.field.ComboBox are perfect examples of this.
\nIf specified, then the component will be displayed with this value as its active error when first rendered. Use\nsetActiveError or unsetActiveError to change it after component creation.
\nThe template used to format the Array of error messages passed to setActiveErrors into a single HTML\nstring. By default this renders each message as an item in an unordered list.
\nDefaults to: ["<tpl if="errors && errors.length">", "<ul><tpl for="errors"><li>{.}</li></tpl></ul>", "</tpl>"]
An optional string or XTemplate
configuration to insert in the field markup\nat the end of the input containing element. If an XTemplate
is used, the component's render data\nserves as the context.
An optional string or XTemplate
configuration to insert in the field markup\nafter the label text. If an XTemplate
is used, the component's render data\nserves as the context.
An optional string or XTemplate
configuration to insert in the field markup\nafter the label element. If an XTemplate
is used, the component's render data\nserves as the context.
An optional string or XTemplate
configuration to insert in the field markup\nafter the subTpl markup. If an XTemplate
is used, the\ncomponent's render data serves as the context.
Specify false to validate that the value's length is > 0
\nDefaults to: true
A tag name or DomHelper spec used to create the Element which will\nencapsulate this Component.
\n\nYou do not normally need to specify this. For the base classes Ext.Component and\nExt.container.Container, this defaults to 'div'. The more complex Sencha classes use a more\ncomplex DOM structure specified by their own renderTpls.
\n\nThis is intended to allow the developer to create application-specific utility Components encapsulated by\ndifferent DOM elements. Example usage:
\n\n{\n xtype: 'component',\n autoEl: {\n tag: 'img',\n src: 'http://www.example.com/example.jpg'\n }\n}, {\n xtype: 'component',\n autoEl: {\n tag: 'blockquote',\n html: 'autoEl is cool!'\n }\n}, {\n xtype: 'container',\n autoEl: 'ul',\n cls: 'ux-unordered-list',\n items: {\n xtype: 'component',\n autoEl: 'li',\n html: 'First list item'\n }\n}\n
\nWhether to adjust the component's body area to make room for 'side' or 'under' error messages.
\nDefaults to: true
An alias for loader config which also allows to specify just a string which will be\nused as the url that's automatically loaded:
\n\nExt.create('Ext.Component', {\n autoLoad: 'content.html',\n renderTo: Ext.getBody()\n});\n
\n\nThe above is the same as:
\n\nExt.create('Ext.Component', {\n loader: {\n url: 'content.html',\n autoLoad: true\n },\n renderTo: Ext.getBody()\n});\n
\n\nDon't use it together with loader config.
\nThis cfg has been deprecated since 4.1.1
\nUse loader config instead.
\n\nThis config is intended mainly for non-floating Components which may or may not be shown. Instead of using\nrenderTo in the configuration, and rendering upon construction, this allows a Component to render itself\nupon first show. If floating is true, the value of this config is omited as if it is true
.
Specify as true
to have this Component render to the document body upon first show.
Specify as an element, or the ID of an element to have this Component render to a specific element upon first\nshow.
\nDefaults to: false
True to automatically show the component upon creation. This config option may only be used for\nfloating components or components that use autoRender. Defaults to false.
\nDefaults to: false
The CSS class to be applied to the body content element.
\nDefaults to: "x-form-item-body"
The base CSS class to apply to this components's element. This will also be prepended to elements within this\ncomponent like Panel's body will get a class x-panel-body. This means that if you create a subclass of Panel, and\nyou want it to get all the Panels styling for the element and the body, you leave the baseCls x-panel and use\ncomponentCls to add specific styling for this component.
\nDefaults to: "x-component"
An optional string or XTemplate
configuration to insert in the field markup\nat the beginning of the input containing element. If an XTemplate
is used, the component's render data\nserves as the context.
An optional string or XTemplate
configuration to insert in the field markup\nbefore the label text. If an XTemplate
is used, the component's render data\nserves as the context.
An optional string or XTemplate
configuration to insert in the field markup\nbefore the label element. If an XTemplate
is used, the component's render data\nserves as the context.
An optional string or XTemplate
configuration to insert in the field markup\nbefore the subTpl markup. If an XTemplate
is used, the\ncomponent's render data serves as the context.
The error text to display if the allowBlank validation fails
\nDefaults to: "This field is required"
Specifies the border size for this component. The border can be a single numeric value to apply to all sides or it can\nbe a CSS style specification for each style, for example: '10 5 3 10'.
\n\nFor components that have no border by default, setting this won't make the border appear by itself.\nYou also need to specify border color and style:
\n\nborder: 5,\nstyle: {\n borderColor: 'red',\n borderStyle: 'solid'\n}\n
\n\nTo turn off the border, use border: false
.
Defines a timeout in milliseconds for buffering checkChangeEvents that fire in rapid succession.\nDefaults to 50 milliseconds.
\nDefaults to: 50
A list of event names that will be listened for on the field's input element, which will cause\nthe field's value to be checked for changes. If a change is detected, the change event will be\nfired, followed by validation if the validateOnChange option is enabled.
\n\nDefaults to ['change', 'propertychange'] in Internet Explorer, and ['change', 'input', 'textInput', 'keyup',\n'dragdrop'] in other browsers. This catches all the ways that field values can be changed in most supported\nbrowsers; the only known exceptions at the time of writing are:
\n\nIf you need to guarantee on-the-fly change notifications including these edge cases, you can call the\ncheckChange method on a repeating interval, e.g. using Ext.TaskManager, or if the field is within\na Ext.form.Panel, you can use the FormPanel's Ext.form.Panel.pollForChanges configuration to set up\nsuch a task automatically.
\nAn array describing the child elements of the Component. Each member of the array\nis an object with these properties:
\n\nname
- The property name on the Component for the child element.itemId
- The id to combine with the Component's id that is the id of the child element.id
- The id of the child element.If the array member is a string, it is equivalent to { name: m, itemId: m }
.
For example, a Component which renders a title and body text:
\n\nExt.create('Ext.Component', {\n renderTo: Ext.getBody(),\n renderTpl: [\n '<h1 id=\"{id}-title\">{title}</h1>',\n '<p>{msg}</p>',\n ],\n renderData: {\n title: \"Error\",\n msg: \"Something went wrong\"\n },\n childEls: [\"title\"],\n listeners: {\n afterrender: function(cmp){\n // After rendering the component will have a title property\n cmp.title.setStyle({color: \"red\"});\n }\n }\n});\n
\n\nA more flexible, but somewhat slower, approach is renderSelectors.
\nThe CSS class to be applied to the special clearing div rendered directly after the field contents wrapper to\nprovide field clearing.
\nDefaults to: "x-clear"
An optional extra CSS class that will be added to this component's Element. This can be useful\nfor adding customized styles to the component or any of its children using standard CSS rules.
\nDefaults to: ""
Defines the column width inside column layout.
\n\nCan be specified as a number or as a percentage.
\nCSS Class to be added to a components root level element to give distinction to it via styling.
\nCSS Class to be added to a components root level element to give distinction to it via styling.
\nThe sizing and positioning of a Component's internal Elements is the responsibility of the Component's layout\nmanager which sizes a Component's internal structure in response to the Component being sized.
\n\nGenerally, developers will not use this configuration as all provided Components which need their internal\nelements sizing (Such as input fields) come with their own componentLayout managers.
\n\nThe default layout manager will be used on instances of the base Ext.Component\nclass which simply sizes the Component's encapsulating element to the height and width specified in the\nsetSize method.
\nSpecify an existing HTML element, or the id
of an existing HTML element to use as the content for this component.
This config option is used to take an existing HTML element and place it in the layout element of a new component\n(it simply moves the specified DOM element after the Component is rendered to use as the content.
\n\nNotes:
\n\nThe specified HTML element is appended to the layout element of the component after any configured\nHTML has been inserted, and so the document will not contain this element at the time\nthe render event is fired.
\n\nThe specified HTML element used will not participate in any layout
\nscheme that the Component may use. It is just HTML. Layouts operate on child\nitems
.
Add either the x-hidden
or the x-hide-display
CSS class to prevent a brief flicker of the content before it\nis rendered to the panel.
The CSS class to use when the field value is dirty.
\nDefaults to: "x-form-dirty"
Specify true to disable input keystroke filtering
\nDefaults to: false
True to disable the field. Disabled Fields will not be submitted.
\nDefaults to: false
Overrides: Ext.AbstractComponent.disabled
CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.
\nDefaults to: "x-item-disabled"
Specify as true to make a floating Component draggable using the Component's encapsulating element as\nthe drag handle.
\n\nThis may also be specified as a config object for the ComponentDragger which is\ninstantiated to perform dragging.
\n\nFor example to create a Component which may only be dragged around using a certain internal element as the drag\nhandle, use the delegate option:
\n\nnew Ext.Component({\n constrain: true,\n floating: true,\n style: {\n backgroundColor: '#fff',\n border: '1px solid black'\n },\n html: '<h1 style=\"cursor:move\">The title</h1><p>The content</p>',\n draggable: {\n delegate: 'h1'\n }\n}).show();\n
\nDefaults to: false
Overrides: Ext.AbstractComponent.draggable
false to prevent the user from typing text directly into the field; the field can only have its value set via an\naction invoked by the trigger.
\nDefaults to: true
The CSS class to apply to an empty field to style the emptyText.\nThis class is automatically added and removed as needed depending on the current field value.
\nDefaults to: "x-form-empty-field"
The default text to place into an empty field.
\n\nNote that normally this value will be submitted to the server if this field is enabled; to prevent this you can\nset the submitEmptyText option of Ext.form.Basic.submit to\nfalse.
\n\nAlso note that if you use inputType:'file', emptyText is not supported and should be\navoided.
\n\nNote that for browsers that support it, setting this property will use the HTML 5 placeholder attribute, and for\nolder browsers that don't support the HTML 5 placeholder attribute the value will be placed directly into the input\nelement itself as the raw value. This means that older browsers will obfuscate the emptyText value for\npassword input fields.
\ntrue to enable the proxying of key events for the HTML input field
\nDefaults to: false
True to set the maxLength property on the underlying input field. Defaults to false
\nThe CSS class to be applied to the error message element.
\nDefaults to: "x-form-error-msg"
An extra CSS class to be applied to the body content element in addition to baseBodyCls.
\nDefaults to: ""
The default CSS class for the field input
\nDefaults to: "x-form-field"
The label for the field. It gets appended with the labelSeparator, and its position and sizing is\ndetermined by the labelAlign, labelWidth, and labelPad configs.
\nOptional CSS style(s) to be applied to the field input element. Should be a valid argument to\nExt.Element.applyStyles. Defaults to undefined. See also the setFieldStyle method for changing\nthe style after initialization.
\nThe content of the field body is defined by this config option.
\nDefaults to: ["<input id="{id}" type="{type}" {inputAttrTpl}", " size="1"", "<tpl if="name"> name="{name}"</tpl>", "<tpl if="value"> value="{[Ext.util.Format.htmlEncode(values.value)]}"</tpl>", "<tpl if="placeholder"> placeholder="{placeholder}"</tpl>", "{%if (values.maxLength !== undefined){%} maxlength="{maxLength}"{%}%}", "<tpl if="readOnly"> readonly="readonly"</tpl>", "<tpl if="disabled"> disabled="disabled"</tpl>", "<tpl if="tabIdx"> tabIndex="{tabIdx}"</tpl>", "<tpl if="fieldStyle"> style="{fieldStyle}"</tpl>", " class="{fieldCls} {typeCls} {editableCls}" autocomplete="off"/>", {disableFormats: true}]
Specify as true to float the Component outside of the document flow using CSS absolute positioning.
\n\nComponents such as Windows and Menus are floating by default.
\n\nFloating Components that are programatically rendered will register\nthemselves with the global ZIndexManager
\n\nA floating Component may be used as a child item of a Container. This just allows the floating Component to seek\na ZIndexManager by examining the ownerCt chain.
\n\nWhen configured as floating, Components acquire, at render time, a ZIndexManager which\nmanages a stack of related floating Components. The ZIndexManager brings a single floating Component to the top\nof its stack when the Component's toFront method is called.
\n\nThe ZIndexManager is found by traversing up the ownerCt chain to find an ancestor which itself is\nfloating. This is so that descendant floating Components of floating Containers (Such as a ComboBox dropdown\nwithin a Window) can have its zIndex managed relative to any siblings, but always above that floating\nancestor Container.
\n\nIf no floating ancestor is found, a floating Component registers itself with the default ZIndexManager.
\n\nFloating components do not participate in the Container's layout. Because of this, they are not rendered until\nyou explicitly show them.
\n\nAfter rendering, the ownerCt reference is deleted, and the floatParent property is set to the found\nfloating ancestor Container. If no floating ancestor Container was found the floatParent property will\nnot be set.
\nDefaults to: false
Overrides: Ext.AbstractComponent.floating
The CSS class to use when the field receives focus
\nDefaults to: "x-form-focus"
Specifies whether the floated component should be automatically focused when\nit is brought to the front.
\nDefaults to: true
When inside FormPanel, any component configured with formBind: true
will\nbe enabled/disabled depending on the validity state of the form.\nSee Ext.form.Panel for more information and example.
Defaults to: false
A CSS class to be applied to the outermost element to denote that it is participating in the form field layout.
\nDefaults to: "x-form-item"
Specify as true
to have the Component inject framing elements within the Component at render time to provide a\ngraphical rounded frame around the Component content.
This is only necessary when running on outdated, or non standard-compliant browsers such as Microsoft's Internet\nExplorer prior to version 9 which do not support rounded corners natively.
\n\nThe extra space taken up by this framing is available from the read only property frameSize.
\nA string that will be appended to the field's current value for the purposes of calculating the target field\nsize. Only used when the grow config is true. Defaults to a single capital \"W\" (the widest character in\ncommon fonts) to leave enough space for the next typed character and avoid the field value shifting before the\nwidth is adjusted.
\nDefaults to: "W"
When set to true, the label element (fieldLabel and labelSeparator) will be automatically\nhidden if the fieldLabel is empty. Setting this to false will cause the empty label element to be\nrendered and space to be reserved for it; this is useful if you want a field without a label to line up with\nother labeled fields in the same form.
\n\nIf you wish to unconditionall hide the label even if a non-empty fieldLabel is configured, then set the\nhideLabel config to true.
\nDefaults to: true
Set to true to completely hide the label element (fieldLabel and labelSeparator). Also see\nhideEmptyLabel, which controls whether space will be reserved for an empty fieldLabel.
\nDefaults to: false
A String which specifies how this Component's encapsulating DOM element will be hidden. Values may be:
\n\n'display'
: The Component will be hidden using the display: none
style.'visibility'
: The Component will be hidden using the visibility: hidden
style.'offsets'
: The Component will be hidden by absolutely positioning it out of the visible area of the document.\nThis is useful when a hidden Component must maintain measurable dimensions. Hiding using display
results in a\nComponent having zero dimensions.Defaults to: "display"
true to hide the trigger element and display only the base text field
\nDefaults to: false
An HTML fragment, or a DomHelper specification to use as the layout element content.\nThe HTML content is added after the component is rendered, so the document will not contain this HTML at the time\nthe render event is fired. This content is inserted into the body before any configured contentEl\nis appended.
\nDefaults to: ""
The unique id of this component instance.
\n\nIt should not be necessary to use this configuration except for singleton objects in your application. Components\ncreated with an id may be accessed globally using Ext.getCmp.
\n\nInstead of using assigned ids, use the itemId config, and ComponentQuery\nwhich provides selector-based searching for Sencha Components analogous to DOM querying. The Container class contains shortcut methods to query\nits descendant Components by selector.
\n\nNote that this id will also be used as the element id for the containing HTML element that is rendered to the\npage for this component. This allows you to write id-based CSS rules to style the specific instance of this\ncomponent uniquely, and also to select sub-elements using this component's id as the parent.
\n\nNote: to avoid complications imposed by a unique id also see itemId
.
Note: to access the container of a Component see ownerCt
.
Defaults to an auto-assigned id.
\nAn optional string or XTemplate
configuration to insert in the field markup\ninside the input element (as attributes). If an XTemplate
is used, the component's\nsubTpl data serves as the context.
The id that will be given to the generated input DOM element. Defaults to an automatically generated id. If you\nconfigure this manually, you must make sure it is unique in the document.
\nThe type attribute for input fields -- e.g. radio, text, password, file. The extended types\nsupported by HTML5 inputs (url, email, etc.) may also be used, though using them will cause older browsers to\nfall back to 'text'.
\n\nThe type 'password' must be used to render that field type currently -- there is no separate Ext component for\nthat. You can use Ext.form.field.File which creates a custom-rendered file upload field, but if you want\na plain unstyled file input you can use a Base with inputType:'file'.
\nDefaults to: "text"
The CSS class to use when marking the component invalid.
\nDefaults to: "x-form-invalid"
The error text to use when marking a field invalid and no message is provided
\nDefaults to: "The value in this field is invalid"
An itemId can be used as an alternative way to get a reference to a component when no object reference is\navailable. Instead of using an id
with Ext.getCmp, use itemId
with\nExt.container.Container.getComponent which will retrieve\nitemId
's or id's. Since itemId
's are an index to the container's internal MixedCollection, the\nitemId
is scoped locally to the container -- avoiding potential conflicts with Ext.ComponentManager\nwhich requires a unique id
.
var c = new Ext.panel.Panel({ //\n height: 300,\n renderTo: document.body,\n layout: 'auto',\n items: [\n {\n itemId: 'p1',\n title: 'Panel 1',\n height: 150\n },\n {\n itemId: 'p2',\n title: 'Panel 2',\n height: 150\n }\n ]\n})\np1 = c.getComponent('p1'); // not the same as Ext.getCmp()\np2 = p1.ownerCt.getComponent('p2'); // reference via a sibling\n
\n\nAlso see id, Ext.container.Container.query
, Ext.container.Container.down
and\nExt.container.Container.child
.
Note: to access the container of an item see ownerCt.
\nControls the position and alignment of the fieldLabel. Valid values are:
\n\nDefaults to: "left"
An optional string or XTemplate
configuration to insert in the field markup\ninside the label element (as attributes). If an XTemplate
is used, the component's\nrender data serves as the context.
The CSS class to be applied to the label element. This (single) CSS class is used to formulate the renderSelector\nand drives the field layout where it is concatenated with a hyphen ('-') and labelAlign. To add\nadditional classes, use labelClsExtra.
\nDefaults to: "x-form-item-label"
An optional string of one or more additional CSS classes to add to the label element. Defaults to empty.
\nThe amount of space in pixels between the fieldLabel and the input field.
\nDefaults to: 5
Character(s) to be inserted at the end of the label text.
\n\nSet to empty string to hide the separator completely.
\nDefaults to: ":"
A CSS style specification string to apply directly to this field's label.
\nA CSS style specification string to apply directly to this field's label.
\nThe width of the fieldLabel in pixels. Only applicable if the labelAlign is set to \"left\" or\n\"right\".
\nDefaults to: 100
The rendering template for the field decorations. Component classes using this mixin\nshould include logic to use this as their renderTpl,\nand implement the getSubTplMarkup method to generate the field body content.
\n\nThe structure of a field is a table as follows:
\n\nIf labelAlign: 'left',
msgTarget: 'side'`
+----------------------+----------------------+-------------+\n | Label: | InputField | sideErrorEl |\n +----------------------+----------------------+-------------+\n
\n\nIf labelAlign: 'left',
msgTarget: 'under'`
+----------------------+------------------------------------+\n | Label: | InputField (colspan=2) |\n | | underErrorEl |\n +----------------------+------------------------------------+\n
\n\nIf labelAlign: 'top',
msgTarget: 'side'`
+---------------------------------------------+-------------+\n | label | |\n | InputField | sideErrorEl |\n +---------------------------------------------+-------------+\n
\n\nIf labelAlign: 'top',
msgTarget: 'under'`
+-----------------------------------------------------------+\n | label |\n | InputField (colspan=2) |\n | underErrorEl |\n +-----------------------------------------------------------+\n
\n\nThe total columns always the same for fields with each setting of labelAlign because when\nrendered into a Ext.layout.container.Form layout, just the TR
of the table\nwill be placed into the form's main TABLE
, and the columns of all the siblings\nmust match so that they all line up. In a Ext.layout.container.Form layout, different\nsettings of labelAlign are not supported because of the incompatible column structure.
When the triggerCell or side error cell are hidden or shown, the input cell's colspan\nis recalculated to maintain the correct 3 visible column count.
\nDefaults to: ["<tr id="{id}-inputRow" <tpl if="inFormLayout">id="{id}"</tpl>>", "<tpl if="labelOnLeft">", "<td id="{id}-labelCell" style="{labelCellStyle}" {labelCellAttrs}>", "{beforeLabelTpl}", "<label id="{id}-labelEl" {labelAttrTpl}<tpl if="inputId"> for="{inputId}"</tpl> class="{labelCls}"", "<tpl if="labelStyle"> style="{labelStyle}"</tpl>>", "{beforeLabelTextTpl}", "<tpl if="fieldLabel">{fieldLabel}{labelSeparator}</tpl>", "{afterLabelTextTpl}", "</label>", "{afterLabelTpl}", "</td>", "</tpl>", "<td class="{baseBodyCls} {fieldBodyCls}" id="{id}-bodyEl" colspan="{bodyColspan}" role="presentation">", "{beforeBodyEl}", "<tpl if="labelAlign==\\'top\\'">", "{beforeLabelTpl}", "<div id="{id}-labelCell" style="{labelCellStyle}">", "<label id="{id}-labelEl" {labelAttrTpl}<tpl if="inputId"> for="{inputId}"</tpl> class="{labelCls}"", "<tpl if="labelStyle"> style="{labelStyle}"</tpl>>", "{beforeLabelTextTpl}", "<tpl if="fieldLabel">{fieldLabel}{labelSeparator}</tpl>", "{afterLabelTextTpl}", "</label>", "</div>", "{afterLabelTpl}", "</tpl>", "{beforeSubTpl}", "{[values.$comp.getSubTplMarkup()]}", "{afterSubTpl}", "<tpl if="msgTarget===\\'side\\'">", "{afterBodyEl}", "</td>", "<td id="{id}-sideErrorCell" vAlign="{[values.labelAlign===\\'top\\' && !values.hideLabel ? \\'bottom\\' : \\'middle\\']}" style="{[values.autoFitErrors ? \\'display:none\\' : \\'\\']}" width="{errorIconWidth}">", "<div id="{id}-errorEl" class="{errorMsgCls}" style="display:none;width:{errorIconWidth}px"></div>", "</td>", "<tpl elseif="msgTarget==\\'under\\'">", "<div id="{id}-errorEl" class="{errorMsgClass}" colspan="2" style="display:none"></div>", "{afterBodyEl}", "</td>", "</tpl>", "</tr>", {disableFormats: true}]
A config object containing one or more event handlers to be added to this object during initialization. This\nshould be a valid listeners config object as specified in the addListener example for attaching multiple\nhandlers at once.
\n\nDOM events from Ext JS Components
\n\nWhile some Ext JS Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this is usually\nonly done when extra value can be added. For example the DataView's itemclick
event passing the node clicked on. To access DOM events directly from a\nchild element of a Component, we need to specify the element
option to identify the Component property to add a\nDOM listener to:
new Ext.panel.Panel({\n width: 400,\n height: 200,\n dockedItems: [{\n xtype: 'toolbar'\n }],\n listeners: {\n click: {\n element: 'el', //bind to the underlying el property on the panel\n fn: function(){ console.log('click el'); }\n },\n dblclick: {\n element: 'body', //bind to the underlying body property on the panel\n fn: function(){ console.log('dblclick body'); }\n }\n }\n});\n
\nA configuration object or an instance of a Ext.ComponentLoader to load remote content\nfor this Component.
\n\nExt.create('Ext.Component', {\n loader: {\n url: 'content.html',\n autoLoad: true\n },\n renderTo: Ext.getBody()\n});\n
\nSpecifies the margin for this component. The margin can be a single numeric value to apply to all sides or it can\nbe a CSS style specification for each style, for example: '10 5 3 10'.
\nAn input mask regular expression that will be used to filter keystrokes (character being\ntyped) that do not match.\nNote: It does not filter characters already in the input.
\nThe maximum value in pixels which this Component will set its height to.
\n\nWarning: This will override any size management applied by layout managers.
\nMaximum input field length allowed by validation. This behavior is intended to\nprovide instant feedback to the user by improving usability to allow pasting and editing or overtyping and back\ntracking. To restrict the maximum number of characters that can be entered into the field use the\nenforceMaxLength option.
\n\nDefaults to Number.MAX_VALUE.
\nError text to display if the maximum length validation fails
\nDefaults to: "The maximum length for this field is {0}"
The maximum value in pixels which this Component will set its width to.
\n\nWarning: This will override any size management applied by layout managers.
\nThe minimum value in pixels which this Component will set its height to.
\n\nWarning: This will override any size management applied by layout managers.
\nError text to display if the minimum length validation fails.
\nDefaults to: "The minimum length for this field is {0}"
The minimum value in pixels which this Component will set its width to.
\n\nWarning: This will override any size management applied by layout managers.
\nThe location where the error message text should display. Must be one of the following values:
\n\nqtip
Display a quick tip containing the message when the user hovers over the field.\nThis is the default.
Ext.tip.QuickTipManager.init must have been called for this setting to work.
title
Display the message in a default browser title attribute popup.
under
Add a block div beneath the field containing the error message.side
Add an error icon to the right of the field, displaying the message in a popup on hover.none
Don't display any error message. This might be useful if you are implementing custom error display.[element id]
Add the error message directly to the innerHTML of the specified element.Defaults to: "qtip"
The name of the field. This is used as the parameter name when including the field value\nin a form submit(). If no name is configured, it falls back to the inputId.\nTo prevent the field from being included in the form submit, set submitValue to false.
\nOverrides: Ext.form.field.Field.name
An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element,\nand removed when the mouse moves out. This can be useful for adding customized 'active' or 'hover' styles to the\ncomponent or any of its children using standard CSS rules.
\nDefaults to: ""
Possible values are:\n * 'auto'
to enable automatic horizontal scrollbar (overflow-x: 'auto').\n * 'scroll'
to always enable horizontal scrollbar (overflow-x: 'scroll').\nThe default is overflow-x: 'hidden'. This should not be combined with autoScroll.
Possible values are:\n * 'auto'
to enable automatic vertical scrollbar (overflow-y: 'auto').\n * 'scroll'
to always enable vertical scrollbar (overflow-y: 'scroll').\nThe default is overflow-y: 'hidden'. This should not be combined with autoScroll.
Specifies the padding for this component. The padding can be a single numeric value to apply to all sides or it\ncan be a CSS style specification for each style, for example: '10 5 3 10'.
\nAn object or array of objects that will provide custom functionality for this component. The only requirement for\na valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component\nis created, if any plugins are available, the component will call the init method on each plugin, passing a\nreference to itself. Each plugin can then call methods or respond to events on the component as needed to provide\nits functionality.
\ntrue to disable displaying any error message set on this object.
\nDefaults to: false
true to prevent the user from changing the field, and hides the trigger. Supercedes the editable and hideTrigger\noptions if the value is true.
\nDefaults to: false
Overrides: Ext.form.field.Base.readOnly
The CSS class applied to the component's main element when it is readOnly.
\nDefaults to: "x-form-readonly"
A JavaScript RegExp object to be tested against the field value during validation.\nIf the test fails, the field will be marked invalid using\neither regexText or invalidText.
\nThe error text to display if regex is used and the test fails during validation
\nDefaults to: ""
Defines the region inside border layout.
\n\nPossible values:
\n\nThe data used by renderTpl in addition to the following property values of the component:
\n\nSee renderSelectors and childEls for usage examples.
\nAn object containing properties specifying DomQuery selectors which identify child elements\ncreated by the render process.
\n\nAfter the Component's internal structure is rendered according to the renderTpl, this object is iterated through,\nand the found Elements are added as properties to the Component using the renderSelector
property name.
For example, a Component which renderes a title and description into its element:
\n\nExt.create('Ext.Component', {\n renderTo: Ext.getBody(),\n renderTpl: [\n '<h1 class=\"title\">{title}</h1>',\n '<p>{desc}</p>'\n ],\n renderData: {\n title: \"Error\",\n desc: \"Something went wrong\"\n },\n renderSelectors: {\n titleEl: 'h1.title',\n descEl: 'p'\n },\n listeners: {\n afterrender: function(cmp){\n // After rendering the component will have a titleEl and descEl properties\n cmp.titleEl.setStyle({color: \"red\"});\n }\n }\n});\n
\n\nFor a faster, but less flexible, alternative that achieves the same end result (properties for child elements on the\nComponent after render), see childEls and addChildEls.
\nSpecify the id of the element, a DOM element or an existing Element that this component will be rendered into.
\n\nNotes:
\n\nDo not use this option if the Component is to be a child item of a Container.\nIt is the responsibility of the Container's\nlayout manager to render and manage its child items.
\n\nWhen using this config, a call to render() is not required.
\n\nSee also: render.
\nAn XTemplate used to create the internal structure inside this Component's encapsulating\nElement.
\n\nYou do not normally need to specify this. For the base classes Ext.Component and\nExt.container.Container, this defaults to null
which means that they will be initially rendered\nwith no internal structure; they render their Element empty. The more specialized ExtJS and Touch\nclasses which use a more complex DOM structure, provide their own template definitions.
This is intended to allow the developer to create application-specific utility Components with customized\ninternal structure.
\n\nUpon rendering, any created child elements may be automatically imported into object properties using the\nrenderSelectors and childEls options.
\nDefaults to: "{%this.renderContent(out,values)%}"
true to attach a click repeater to the trigger.
\nDefaults to: false
The CSS class to apply to a required field, i.e. a field where allowBlank is false.
\nDefaults to: "x-form-required-field"
Specify as true
to apply a Resizer to this Component after rendering.
May also be specified as a config object to be passed to the constructor of Resizer\nto override any defaults. By default the Component passes its minimum and maximum size, and uses\nExt.resizer.Resizer.dynamic: false
A valid Ext.resizer.Resizer handles config string. Only applies when resizable = true.
\nDefaults to: "all"
A buffer to be applied if many state events are fired within a short period.
\nDefaults to: 100
true to select any existing text in the field immediately on focus. Only applies when\neditable = true
\nDefaults to: false
Overrides: Ext.form.field.Text.selectOnFocus
Specifies whether the floating component should be given a shadow. Set to true to automatically create an\nExt.Shadow, or a string indicating the shadow's display Ext.Shadow.mode. Set to false to\ndisable the shadow.
\nDefaults to: "sides"
If this property is a number, it is interpreted as follows:
\n\nfalse
.true
.In CSS terms, shrink-wrap width is analogous to an inline-block element as opposed\nto a block-level element. Some container layouts always shrink-wrap their children,\neffectively ignoring this property (e.g., Ext.layout.container.HBox,\nExt.layout.container.VBox, Ext.layout.component.Dock).
\nDefaults to: 2
An initial value for the 'size' attribute on the text input element. This is only used if the field has no\nconfigured width and is not given a width by its container's layout. Defaults to 20.
\nDefaults to: 20
An array of events that, when fired, should trigger this object to\nsave its state. Defaults to none. stateEvents
may be any type\nof event supported by this object, including browser or custom events\n(e.g., ['click', 'customerchange']).
See stateful
for an explanation of saving and\nrestoring object state.
The unique id for this object to use for state management purposes.
\n\nSee stateful for an explanation of saving and restoring state.
\n\nA flag which causes the object to attempt to restore the state of\ninternal properties from a saved state on startup. The object must have\na stateId for state to be managed.
\n\nAuto-generated ids are not guaranteed to be stable across page loads and\ncannot be relied upon to save and restore the same state for a object.
\n\nFor state saving to work, the state manager's provider must have been\nset to an implementation of Ext.state.Provider which overrides the\nset and get\nmethods to save and recall name/value pairs. A built-in implementation,\nExt.state.CookieProvider is available.
\n\nTo set the state provider for the current page:
\n\nExt.state.Manager.setProvider(new Ext.state.CookieProvider({
\n\n expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now\n
\n\n}));
\n\nA stateful object attempts to save state when one of the events\nlisted in the stateEvents configuration fires.
\n\nTo save state, a stateful object first serializes its state by\ncalling getState.
\n\nThe Component base class implements getState to save its width and height within the state\nonly if they were initially configured, and have changed from the configured value.
\n\nThe Panel class saves its collapsed state in addition to that.
\n\nThe Grid class saves its column state in addition to its superclass state.
\n\nIf there is more application state to be save, the developer must provide an implementation which\nfirst calls the superclass method to inherit the above behaviour, and then injects new properties\ninto the returned object.
\n\nThe value yielded by getState is passed to Ext.state.Manager.set\nwhich uses the configured Ext.state.Provider to save the object\nkeyed by the stateId.
\n\nDuring construction, a stateful object attempts to restore its state by calling\nExt.state.Manager.get passing the stateId
\n\nThe resulting object is passed to applyState*. The default implementation of\napplyState simply copies properties into the object, but a developer may\noverride this to support restoration of more complex application state.
\n\nYou can perform extra processing on state save and restore by attaching\nhandlers to the beforestaterestore, staterestore,\nbeforestatesave and statesave events.
\nDefaults to: false
A JavaScript RegExp object used to strip unwanted content from the value\nduring input. If stripCharsRe
is specified,\nevery character sequence matching stripCharsRe
will be removed.
A custom style specification to be applied to this component's Element. Should be a valid argument to\nExt.Element.applyStyles.
\n\nnew Ext.panel.Panel({\n title: 'Some Title',\n renderTo: Ext.getBody(),\n width: 400, height: 300,\n layout: 'form',\n items: [{\n xtype: 'textarea',\n style: {\n width: '95%',\n marginBottom: '10px'\n }\n },\n new Ext.button.Button({\n text: 'Send',\n minWidth: '100',\n style: {\n marginBottom: '10px'\n }\n })\n ]\n});\n
\nThe class that is added to the content target when you set styleHtmlContent to true.
\nDefaults to: "x-html"
True to automatically style the html inside the content target of this component (body for panels).
\nDefaults to: false
Setting this to false will prevent the field from being submitted even when it is\nnot disabled.
\nDefaults to: true
The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via\napplyTo
\nAn Ext.Template, Ext.XTemplate or an array of strings to form an Ext.XTemplate. Used in\nconjunction with the data
and tplWriteMode
configurations.
The Ext.(X)Template method to use when updating the content area of the Component.\nSee Ext.XTemplate.overwrite
for information on default mode.
Defaults to: "overwrite"
The base CSS class that is always added to the trigger button. The triggerCls will be appended in\naddition to this class.
\nDefaults to: "x-form-trigger"
An additional CSS class used to style the trigger button. The trigger will always get the triggerBaseCls\nby default and triggerCls will be appended if specified.
\nThe CSS class that is added to the text field when component is read-only or not editable.
\nDefaults to: "x-trigger-noedit"
The CSS class that is added to the div wrapping the trigger button(s).
\nDefaults to: "x-form-trigger-wrap"
An array of of classNames which are currently applied to this component
\nDefaults to: []
Whether the field should validate when it loses focus. This will cause fields to be validated\nas the user steps through the fields in the form regardless of whether they are making changes to those fields\nalong the way. See also validateOnChange.
\nDefaults to: true
Specifies whether this field should be validated immediately whenever a change in its value is detected.\nIf the validation results in a change in the field's validity, a validitychange event will be\nfired. This allows the field to show feedback about the validity of its contents immediately as the user is\ntyping.
\n\nWhen set to false, feedback will not be immediate. However the form will still be validated before submitting if\nthe clientValidation option to Ext.form.Basic.doAction is enabled, or if the field or form are validated\nmanually.
\n\nSee also Ext.form.field.Base.checkChangeEvents for controlling how changes to the field's value are\ndetected.
\nDefaults to: true
A custom validation function to be called during field validation (getErrors).\nIf specified, this function will be called first, allowing the developer to override the default validation\nprocess.
\n\nThis function will be passed the following parameters:
\nThe current field value
\nA validation type name as defined in Ext.form.field.VTypes
\nA validation type name as defined in Ext.form.field.VTypes
\nThis property provides a shorter alternative to creating objects than using a full\nclass name. Using xtype
is the most common way to define component instances,\nespecially in a container. For example, the items in a form containing text fields\ncould be created explicitly like so:
items: [\n Ext.create('Ext.form.field.Text', {\n fieldLabel: 'Foo'\n }),\n Ext.create('Ext.form.field.Text', {\n fieldLabel: 'Bar'\n }),\n Ext.create('Ext.form.field.Number', {\n fieldLabel: 'Num'\n })\n ]\n
\n\nBut by using xtype
, the above becomes:
items: [\n {\n xtype: 'textfield',\n fieldLabel: 'Foo'\n },\n {\n xtype: 'textfield',\n fieldLabel: 'Bar'\n },\n {\n xtype: 'numberfield',\n fieldLabel: 'Num'\n }\n ]\n
\n\nWhen the xtype
is common to many items, Ext.container.AbstractContainer.defaultType\nis another way to specify the xtype
for all items that don't have an explicit xtype
:
defaultType: 'textfield',\n items: [\n { fieldLabel: 'Foo' },\n { fieldLabel: 'Bar' },\n { fieldLabel: 'Num', xtype: 'numberfield' }\n ]\n
\n\nEach member of the items
array is now just a \"configuration object\". These objects\nare used to create and configure component instances. A configuration object can be\nmanually used to instantiate a component using Ext.widget:
var text1 = Ext.create('Ext.form.field.Text', {\n fieldLabel: 'Foo'\n });\n\n // or alternatively:\n\n var text1 = Ext.widget({\n xtype: 'textfield',\n fieldLabel: 'Foo'\n });\n
\n\nThis conversion of configuration objects into instantiated components is done when\na container is created as part of its {Ext.container.AbstractContainer.initComponent}\nprocess. As part of the same process, the items
array is converted from its raw\narray form into a Ext.util.MixedCollection instance.
You can define your own xtype
on a custom component by specifying\nthe xtype
property in Ext.define. For example:
Ext.define('MyApp.PressMeButton', {\n extend: 'Ext.button.Button',\n xtype: 'pressmebutton',\n text: 'Press Me'\n});\n
\n\nCare should be taken when naming an xtype
in a custom component because there is\na single, shared scope for all xtypes. Third part components should consider using\na prefix to avoid collisions.
Ext.define('Foo.form.CoolButton', {\n extend: 'Ext.button.Button',\n xtype: 'ux-coolbutton',\n text: 'Cool!'\n});\n
\nSetting this property to true
causes the isLayoutRoot method to return\ntrue
and stop the search for the top-most component for a layout.
Defaults to: false
true
indicates an id was auto-generated rather than provided by configuration.
Defaults to: false
The div Element wrapping the component's contents. Only available after the component has been rendered.
\nThe number of component layout calls made on this object.
\nDefaults to: 0
Indicates whether or not the component can be dragged.
\nDefaults to: false
The div Element that will contain the component's error message(s). Note that depending on the configured\nmsgTarget, this element may be hidden in favor of some other form of presentation, but will always\nbe present in the DOM for use by assistive technologies.
\nInitial suspended call count. Incremented when suspendEvents is called, decremented when resumeEvents is called.
\nDefaults to: 0
Only present for floating Components which were inserted as child items of Containers.
\n\nFloating Components that are programatically rendered will not have a floatParent
\nproperty.
For floating Components which are child items of a Container, the floatParent will be the owning Container.
\n\nFor example, the dropdown BoundList of a ComboBox which is in a Window will have the\nWindow as its floatParent
See floating and zIndexManager
\nIndicates the width of any framing elements which were added within the encapsulating element\nto provide graphical, rounded borders. See the frame config.
\n\nThis is an object containing the frame width in pixels for all four sides of the Component containing the\nfollowing properties:
\nDefaults to: {left: 0, top: 0, right: 0, bottom: 0, width: 0, height: 0}
The width of the top framing element in pixels.
\nDefaults to: 0
The width of the right framing element in pixels.
\nDefaults to: 0
The width of the bottom framing element in pixels.
\nDefaults to: 0
The width of the left framing element in pixels.
\nDefaults to: 0
The total width of the left and right framing elements in pixels.
\nDefaults to: 0
The total height of the top and right bottom elements in pixels.
\nDefaults to: 0
This object holds a key for any event that has a listener. The listener may be set\ndirectly on the instance, or on its class or a super class (via observe) or\non the MVC EventBus. The values of this object are truthy\n(a non-zero number) and falsy (0 or undefined). They do not represent an exact count\nof listeners. The value for an event is truthy if the event must be fired and is\nfalsy if there is no need to fire the event.
\n\nThe intended use of this property is to avoid the expense of fireEvent calls when\nthere are no listeners. This can be particularly helpful when one would otherwise\nhave to call fireEvent hundreds or thousands of times. It is used like this:
\n\n if (this.hasListeners.foo) {\n this.fireEvent('foo', this, arg1);\n }\n
\nA reference to the TD
element wrapping the input element. Only set after the field has been rendered.
The input Element for this Field. Only available after the field has been rendered.
\ntrue
in this class to identify an object as an instantiated Component, or subclass thereof.
Defaults to: true
Flag denoting that this object is labelable as a field. Always true.
\nDefaults to: true
Flag denoting that this component is a Field. Always true.
\nDefaults to: true
true
in this class to identify an object as an instantiated Observable, or subclass thereof.
Defaults to: true
The <TD>
Element which contains the label Element for this component. Only available after the component has been rendered.
The label Element for this component. Only available after the component has been rendered.
\nThis is an internal flag that you use when creating custom components. By default this is set to true which means\nthat every component gets a mask when it's disabled. Components like FieldContainer, FieldSet, Field, Button, Tab\noverride this property to false since they want to implement custom disable logic.
\nDefaults to: true
Tells the layout system that the height can be measured immediately because the width does not need setting.
\nDefaults to: true
The original value of the field as configured in the value configuration, or as loaded by the last\nform load operation if the form's trackResetOnLoad setting is true
.
Indicates whether or not the component has been rendered.
\nDefaults to: false
Get the reference to the current class from which this object was instantiated. Unlike statics,\nthis.self
is scope-dependent and it's meant to be used for dynamic inheritance. See statics\nfor a detailed comparison
Ext.define('My.Cat', {\n statics: {\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n alert(this.self.speciesName); // dependent on 'this'\n },\n\n clone: function() {\n return new this.self();\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat'\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\n
\nA composite of all the trigger button elements. Only set after the field has been rendered.
\nWidth of the trigger element. Unless set explicitly, it will be\nautomatically calculated through creating a temporary element\non page. (That will be done just once per app run.)
\nA reference to the TABLE
element which encapsulates the input field and all trigger button(s). Only set after the field has been rendered.
Only present for floating Components after they have been rendered.
\n\nA reference to the ZIndexManager which is managing this Component's z-index.
\n\nThe ZIndexManager maintains a stack of floating Component z-indices, and also provides\na single modal mask which is insert just beneath the topmost visible modal floating Component.
\n\nFloating Components may be brought to the front or sent to the back of the\nz-index stack.
\n\nThis defaults to the global ZIndexManager for floating Components that are\nprogramatically rendered.
\n\nFor floating Components which are added to a Container, the ZIndexManager is acquired from the first\nancestor Container found which is floating. If no floating ancestor is found, the global ZIndexManager is\nused.
\n\nSee floating and zIndexParent
\nOnly present for floating Components which were inserted as child items of Containers, and which have a floating\nContainer in their containment ancestry.
\n\nFor floating Components which are child items of a Container, the zIndexParent will be a floating\nancestor Container which is responsible for the base z-index value of all its floating descendants. It provides\na ZIndexManager which provides z-indexing services for all its descendant floating\nComponents.
\n\nFloating Components that are programatically rendered will not have a zIndexParent
\nproperty.
For example, the dropdown BoundList of a ComboBox which is in a Window will have the\nWindow as its zIndexParent
, and will always show above that Window, wherever the Window is placed in the z-index stack.
See floating and zIndexManager
\nCreates new Component.
\nThe configuration options may be specified as either:
\n\nOverrides: Ext.AbstractComponent.constructor
Adds each argument passed to this method to the childEls array.
\nAdds a CSS class to the top level element representing this component.
\nThis method has been deprecated since 4.1
\nUse addCls instead.
\n\nReturns the Component to allow method chaining.
\n\nAdds a CSS class to the top level element representing this component.
\nReturns the Component to allow method chaining.
\n\nAdds a cls to the uiCls array, which will also call addUIClsToElement and adds to all elements of this\ncomponent.
\nAdds the specified events to the list of events which this Observable may fire.
\nEither an object with event names as properties with\na value of true
. For example:
this.addEvents({\n storeloaded: true,\n storecleared: true\n});\n
\n\nOr any number of event names as separate parameters. For example:
\n\nthis.addEvents('storeloaded', 'storecleared');\n
\nSets up the focus listener on this Component's focusEl if it has one.
\n\n\nForm Components which must implicitly participate in tabbing order usually have a naturally focusable\nelement as their focusEl, and it is the DOM event of that recieving focus which drives\nthe Component's onFocus handling, and the DOM event of it being blurred which drives the onBlur handling.
\n\n\nIf the focusEl is not naturally focusable, then the listeners are only added\nif the FocusManager is enabled.
\n\nAppends an event handler to this object. For example:
\n\nmyGridPanel.on(\"mouseover\", this.onMouseOver, this);\n
\n\nThe method also allows for a single argument to be passed which is a config object\ncontaining properties which specify multiple events. For example:
\n\nmyGridPanel.on({\n cellClick: this.onCellClick,\n mouseover: this.onMouseOver,\n mouseout: this.onMouseOut,\n scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n
\n\nOne can also specify options for each event handler separately:
\n\nmyGridPanel.on({\n cellClick: {fn: this.onCellClick, scope: this, single: true},\n mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n
\n\nNames of methods in a specified scope may also be used. Note that\nscope
MUST be specified to use this option:
myGridPanel.on({\n cellClick: {fn: 'onCellClick', scope: this, single: true},\n mouseover: {fn: 'onMouseOver', scope: panel}\n});\n
\nThe name of the event to listen for.\nMay also be an object who's property names are event names.
\n\nThe method the event invokes, or if scope
is specified, the name* of the method within\nthe specified scope
. Will be called with arguments\ngiven to fireEvent plus the options
parameter described below.
The scope (this
reference) in which the handler function is\nexecuted. If omitted, defaults to the object which fired the event.
An object containing handler configuration.
\n\n\n\n\nNote: Unlike in ExtJS 3.x, the options object will also be passed as the last\nargument to every event handler.
\n\n\n\n\nThis object may contain any of the following properties:
\n\nThe scope (this
reference) in which the handler function is executed. If omitted,\n defaults to the object which fired the event.
The number of milliseconds to delay the invocation of the handler after the event fires.
\n\nTrue to add a handler to handle just the next firing of the event, and then remove itself.
\n\nCauses the handler to be scheduled to run in an Ext.util.DelayedTask delayed\n by the specified number of milliseconds. If the event fires again within that time,\n the original handler is not invoked, but the new handler is scheduled in its place.
\n\nOnly call the handler if the event was fired on the target Observable, not if the event\n was bubbled up from a child Observable.
\n\nThis option is only valid for listeners bound to Components.\n The name of a Component property which references an element to add a listener to.
\n\n\n\n\nThis option is useful during Component construction to add DOM event listeners to elements of\n Components which will exist only after the Component is rendered.\n For example, to add a click listener to a Panel's body:
\n\n\n\n\n new Ext.panel.Panel({\n title: 'The title',\n listeners: {\n click: this.handlePanelClick,\n element: 'body'\n }\n });\n
\n\n\n\n\nCombining Options
\n\n\n\n\nUsing the options argument, it is possible to combine different types of listeners:
\n\n\n\n\nA delayed, one-time listener.
\n\n\n\n\nmyPanel.on('hide', this.handleClick, this, {\n single: true,\n delay: 100\n});\n
\n\nAdds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestroyed.
\nThe item to which to add a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
If the ename
parameter was an event name, this is the\naddListener options.
Save a property to the given state object if it is not its default or configured\nvalue.
\nThe state object
\nThe name of the property on this object to save.
\nThe value of the state property (defaults to this[propName]
).
The state object or a new object if state was null and the property\nwas saved.
\nAdd events that will trigger the state to be saved. If the first argument is an\narray, each element of that array is the name of a state event. Otherwise, each\nargument passed to this method is the name of a state event.
\nMethod which adds a specified UI + uiCls to the components element. Can be overridden to remove the UI from more\nthan just the components element.
\nThe UI to remove from the element
\nMethod which adds a specified UI to the components element.
\nCalled by the layout system after the Component has been layed out.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nInvoked after the Component has been hidden.
\n\nGets passed the same callback
and scope
parameters that onHide received.
This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nAllows addition of behavior after rendering is complete. At this stage the Component’s Element\nwill have been styled according to the configuration, will have had any configured CSS class\nnames added, and will be in the configured visibility and the configured enable state.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nTemplate method called after a Component has been positioned.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nInvoked after the Component is shown (after onShow is called).
\n\nGets passed the same parameters as show.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nAligns this floating Component to the specified element
\nThe element or Ext.Component to align to. If passing a component, it must be a\ncomponent instance. If a string id is passed, it will be used as an element id.
\nThe position to align to\n(see Ext.Element.alignTo for more details).
\nDefaults to: "tl-bl?"
Offset the positioning by [x, y]
\nthis
\nPerforms custom animation on this object.
\n\nThis method is applicable to both the Component class and the Sprite\nclass. It performs animated transitions of certain properties of this object over a specified timeline.
\n\nWhen animating a Component, the following properties may be specified in from
, to
, and keyframe
objects:
x
- The Component's page X position in pixels.
y
- The Component's page Y position in pixels
left
- The Component's left
value in pixels.
top
- The Component's top
value in pixels.
width
- The Component's width
value in pixels.
width
- The Component's width
value in pixels.
dynamic
- Specify as true to update the Component's layout (if it is a Container) at every frame of the animation.\nUse sparingly as laying out on every intermediate size change is an expensive operation.
For example, to animate a Window to a new size, ensuring that its internal layout and any shadow is correct:
\n\nmyWindow = Ext.create('Ext.window.Window', {\n title: 'Test Component animation',\n width: 500,\n height: 300,\n layout: {\n type: 'hbox',\n align: 'stretch'\n },\n items: [{\n title: 'Left: 33%',\n margins: '5 0 5 5',\n flex: 1\n }, {\n title: 'Left: 66%',\n margins: '5 5 5 5',\n flex: 2\n }]\n});\nmyWindow.show();\nmyWindow.header.el.on('click', function() {\n myWindow.animate({\n to: {\n width: (myWindow.getWidth() == 500) ? 700 : 500,\n height: (myWindow.getHeight() == 300) ? 400 : 300\n }\n });\n});\n
\n\nFor performance reasons, by default, the internal layout is only updated when the Window reaches its final \"to\"
\nsize. If dynamic updating of the Window's child Components is required, then configure the animation with\ndynamic: true
and the two child items will maintain their proportions during the animation.
Configuration for Ext.fx.Anim.\nNote that the to config is required.
\nthis
\nSets references to elements inside the component. This applies renderSelectors\nas well as childEls.
\nApplies the state to the object. This should be overridden in subclasses to do\nmore complex state operations. By default it applies the state properties onto\nthe current object.
\nThe state
\nA utility for grouping a set of modifications which may trigger value changes into a single transaction, to\nprevent excessive firing of change events. This is useful for instance if the field has sub-fields which\nare being updated as a group; you don't want the container field to check its own changed state for each subfield\nchange.
\nA function containing the transaction code
\nOccurs before componentLayout is run. Returning false from this method will prevent the componentLayout from\nbeing executed.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nInvoked before the Component is destroyed.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nTemplate method before a field is reset.
\nInvoked before the Component is shown.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nBubbles up the component/container heirarchy, calling the specified function with each component. The scope\n(this) of function call will be the scope provided or the current component. The arguments to the function will\nbe the args provided or the current component. If the function returns false at any point, the bubble is stopped.
\nThe function to call
\nThe scope of the function. Defaults to current node.
\nThe args to call the function with. Defaults to passing the current component.
\nthis
\nCall the original method that was previously overridden with override
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n // alerts \"I'm a cat!\"\n // alerts \"Meeeeoooowwww\"\n
\n This method has been deprecated
\nas of 4.1. Use callParent instead.
\n\nThe arguments, either an array or the arguments
object\nfrom the current method, for example: this.callOverridden(arguments)
Returns the result of calling the overridden method
\nCall the \"parent\" method of the current method. That is the method previously\noverridden by derivation or by an override (see Ext.define).
\n\n Ext.define('My.Base', {\n constructor: function (x) {\n this.x = x;\n },\n\n statics: {\n method: function (x) {\n return x;\n }\n }\n });\n\n Ext.define('My.Derived', {\n extend: 'My.Base',\n\n constructor: function () {\n this.callParent([21]);\n }\n });\n\n var obj = new My.Derived();\n\n alert(obj.x); // alerts 21\n
\n\nThis can be used with an override as follows:
\n\n Ext.define('My.DerivedOverride', {\n override: 'My.Derived',\n\n constructor: function (x) {\n this.callParent([x*2]); // calls original My.Derived constructor\n }\n });\n\n var obj = new My.Derived();\n\n alert(obj.x); // now alerts 42\n
\n\nThis also works with static methods.
\n\n Ext.define('My.Derived2', {\n extend: 'My.Base',\n\n statics: {\n method: function (x) {\n return this.callParent([x*2]); // calls My.Base.method\n }\n }\n });\n\n alert(My.Base.method(10); // alerts 10\n alert(My.Derived2.method(10); // alerts 20\n
\n\nLastly, it also works with overridden static methods.
\n\n Ext.define('My.Derived2Override', {\n override: 'My.Derived2',\n\n statics: {\n method: function (x) {\n return this.callParent([x*2]); // calls My.Derived2.method\n }\n }\n });\n\n alert(My.Derived2.method(10); // now alerts 40\n
\nThe arguments, either an array or the arguments
object\nfrom the current method, for example: this.callParent(arguments)
Returns the result of calling the parent method
\nCancel any deferred focus on this component
\nChecks whether the value of the field has changed since the last time it was checked.\nIf the value has changed, it:
\n\nChecks the isDirty state of the field and if it has changed since the last time it was checked,\nfires the dirtychange event.
\nClear any invalid styles/messages for this field.
\n\nNote: this method does not cause the Field's validate or isValid methods to return true
\nif the value does not pass validation. So simply clearing a field's errors will not necessarily allow\nsubmission of forms submitted with the Ext.form.action.Submit.clientValidation option set.
Overrides: Ext.form.field.Field.clearInvalid
Removes all listeners for this object including the managed listeners
\nClone the current component using the original config values passed into this instance by default.
\nA new config containing any properties to override in the cloned version.\nAn id property can be passed on this object, otherwise one will be generated to avoid duplicates.
\nclone The cloned copy of this component
\nReturns an array of fully constructed plugin instances. This converts any configs into their\nappropriate instances.
\n\nIt does not mutate the plugins array. It creates a new array.
\n\nThis is borrowed by Lockable which clones and distributes Plugins\nto both child grids of a locking grid, so must keep to that contract.
\nDisable the component.
\nPassing true will supress the 'disable' event from being fired.
\nDefaults to: false
Called from the selected frame generation template to insert this Component's inner structure inside the framing structure.
\n\nWhen framing is used, a selected frame generation template is used as the primary template of the #getElConfig instead\nof the configured renderTpl. The renderTpl is invoked by this method which is injected into the framing template.
\nHandles autoRender.\nFloating Components may have an ownerCt. If they are asking to be constrained, constrain them within that\nownerCt, and have their z-index managed locally. Floating Components are always rendered to document.body
\nThis method needs to be called whenever you change something on this component that requires the Component's\nlayout to be recalculated.
\nthis
\nMoves this floating Component into a constrain region.
\n\nBy default, this Component is constrained to be within the container it was added to, or the element it was\nrendered to.
\n\nAn alternative constraint may be passed.
\nThe Element or Region\ninto which this Component is to be constrained. Defaults to the element into which this floating Component\nwas rendered.
\nEnable the component
\nPassing true will supress the 'enable' event from being fired.
\nDefaults to: false
Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget()
if\npresent. There is no implementation in the Observable base class.
This is commonly used by Ext.Components to bubble events to owner Containers.\nSee Ext.Component.getBubbleTarget. The default implementation in Ext.Component returns the\nComponent's immediate owner. But if a known target is required, this can be overridden to access the\nrequired target more quickly.
\n\nExample:
\n\nExt.override(Ext.form.field.Base, {\n // Add functionality to Field's initComponent to enable the change event to bubble\n initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {\n this.enableBubble('change');\n }),\n\n // We know that we want Field's events to bubble directly to the FormPanel.\n getBubbleTarget : function() {\n if (!this.formPanel) {\n this.formPanel = this.findParentByType('form');\n }\n return this.formPanel;\n }\n});\n\nvar myForm = new Ext.formPanel({\n title: 'User Details',\n items: [{\n ...\n }],\n listeners: {\n change: function() {\n // Title goes red if form has been modified.\n myForm.header.setStyle('color', 'red');\n }\n }\n});\n
\nEnsures that this component is attached to document.body
. If the component was\nrendered to Ext.getDetachedBody, then it will be appended to document.body
.\nAny configured position is also restored.
True to run the component's layout.
\nDefaults to: false
Only relevant if the instance's isFileUpload method returns true. Returns a reference to the file input\nDOM element holding the user's selected file. The input will be appended into the submission form and will not be\nreturned, so this method should also create a replacement.
\nFind a container above this component at any level by a custom function. If the passed function returns true, the\ncontainer will be returned.
\n\nSee also the up method.
\nThe custom function to call with the arguments (container, this component).
\nThe first Container for which the custom function returns true
\nFind a container above this component at any level by xtype or class
\n\nSee also the up method.
\nThe first Container which matches the given xtype or class
\nFires the specified event with the passed parameters (minus the event name, plus the options
object passed\nto addListener).
An event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget) by\ncalling enableBubble.
\nThe name of the event to fire.
\nVariable number of parameters are passed to handlers.
\nreturns false if any of the handlers return false otherwise it returns true.
\nTry to focus this component.
\nIf applicable, true to also select the text in this component
\nDelay the focus this number of milliseconds (true for 10 milliseconds).
\nThe focused Component. Usually this
Component. Some Containers may\ndelegate focus to a descendant Component (Windows can do this through their\ndefaultFocus config option.
Forces this component to redo its componentLayout.
\nThis method has been deprecated since 4.1.0
\nUse updateLayout instead.
\n\nReturns the current animation if this object has any effects actively running or queued, else returns false.
\nAnim if element has active effects, else false
\n\nGets the active error message for this component, if any. This does not trigger validation on its own, it merely\nreturns any message that the component may already hold.
\nThe active error message on the component; if there is no error, an empty string is returned.
\nGets an Array of any active error messages currently applied to the field. This does not trigger validation on\nits own, it merely returns any messages that the component may already hold.
\nThe active error messages on the component; if there are no errors, an empty Array is\nreturned.
\nCalculates the colspan value for the body cell - the cell which contains the input field.
\n\nThe field table structure contains 4 columns:
\nGets the bubbling parent for an Observable
\nThe bubble parent. null is returned if no bubble target exists
\nProvides the link for Observable's fireEvent method to bubble up the ownership hierarchy.
\nthe Container which owns this Component.
\nGets the x/y offsets to constrain this float
\nThe Element or Region\ninto which this Component is to be constrained.
\nThe x/y constraints
\nValidates a value according to the field's validation rules and returns an array of errors\nfor any failing validations. Validation rules are processed in the following order:
\n\nField specific validator
\n\n A validator offers a way to customize and reuse a validation specification.\n If a field is configured with a validator
\n function, it will be passed the current field value. The validator
\n function is expected to return either:
true
if the value is valid (validation continues).Basic Validation
\n\n If the validator
has not halted validation,\n basic validation proceeds as follows:
allowBlank
: (Invalid message = blankText
)
Depending on the configuration of allowBlank
, a\n blank field will cause validation to halt at this step and return\n Boolean true or false accordingly.
minLength
: (Invalid message = minLengthText
)
If the passed value does not satisfy the minLength
\n specified, validation halts.
maxLength
: (Invalid message = maxLengthText
)
If the passed value does not satisfy the maxLength
\n specified, validation halts.
Preconfigured Validation Types (VTypes)
\n\n If none of the prior validation steps halts validation, a field\n configured with a vtype
will utilize the\n corresponding VTypes validation function.\n If invalid, either the field's vtypeText
or\n the VTypes vtype Text property will be used for the invalid message.\n Keystrokes on the field will be filtered according to the VTypes\n vtype Mask property.
Field specific regex test
\n\n If none of the prior validation steps halts validation, a field's\n configured regex
test will be processed.\n The invalid message for this test is configured with regexText
The value to validate. The processed raw value will be used if nothing is passed.
\nArray of any validation errors
\nOverrides: Ext.form.field.Field.getErrors
Returns the label for the field. Defaults to simply returning the fieldLabel config. Can be overridden\nto provide a custom generated label.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nThe configured field label, or empty string if not defined
\nReturns the focus holder element associated with this Component. At the Component base class level, this function returns undefined
.
Subclasses which use embedded focusable elements (such as Window, Field and Button) should override this for use by the focus method.
\n\n\nContainers which need to participate in the FocusManager's navigation and Container focusing scheme also\nneed to return a focusEl, although focus is only listened for in this case if the FocusManager is enabled.
\n\nOn render, reads an encoded style attribute, \"background-position\" from the style of this Component's element.\nThis information is memoized based upon the CSS class name of this Component's element.\nBecause child Components are rendered as textual HTML as part of the topmost Container, a dummy div is inserted\ninto the document to receive the document element's CSS class name, and therefore style attributes.
\nRetrieves the id of this component. Will autogenerate an id if one has not already been set.
\nReturns the input id for this field. If none was specified via the inputId config, then an id will be\nautomatically generated.
\nOverrides: Ext.form.Labelable.getInputId
This function takes the position argument passed to onRender and returns a\nDOM element that you can use in the insertBefore.
\nIndex, element id or element you want\nto put this component before.
\nDOM element that you can use in the insertBefore
\nGenerates the arguments for the field decorations rendering template.
\nThe template arguments
\nGets the Ext.ComponentLoader for this Component.
\nThe loader instance, null if it doesn't exist.
\nReturns the value(s) that should be saved to the Ext.data.Model instance for this field, when Ext.form.Basic.updateRecord is called. Typically this will be an object with a single name-value pair, the name\nbeing this field's name and the value being its current data value. More advanced field\nimplementations may return more than one name-value pair. The returned values will be saved to the corresponding\nfield names in the Model.
\n\nNote that the values returned from this method are not guaranteed to have been successfully validated.
\nA mapping of submit parameter names to values; each value should be a string, or an array of\nstrings if that particular name has multiple values. It can also return null if there are no parameters to be\nsubmitted.
\nReturns the name attribute of the field. This is used as the parameter name\nwhen including the field value in a form submit().
\nReturns the CSS style object which will set the Component's scroll styles. This must be applied\nto the target element.
\nRetrieves a plugin by its pluginId which has been bound to this component.
\nplugin instance.
\nReturns the raw String value of the field, without performing any normalization, conversion, or validation. Gets\nthe current value of the input element if the field has been rendered, ignoring the value if it is the\nemptyText. To get a normalized and converted value see getValue.
\nThe raw String value of the field
\nOverrides: Ext.form.field.Base.getRawValue
Gets the current size of the component's underlying element.
\nAn object containing the element's size {width: (element width), height: (element height)}
\nReturns an object that describes how this component's width and height are managed.\nAll of these objects are shared and should not be modified.
\nThe size model for this component.
\nThe size model\nfor the width.
\nThe size model\nfor the height.
\nThe supplied default state gathering method for the AbstractComponent class.
\n\nThis method returns dimension settings such as flex
, anchor
, width
and height
along with collapsed
\nstate.
Subclasses which implement more complex state should call the superclass's implementation, and apply their state\nto the result if this basic state is to be saved.
\n\nNote that Component state will only be saved if the Component has a stateId and there as a StateProvider\nconfigured for the document.
\nOverrides: Ext.state.Stateful.getState
Gets the state id for this object.
\nThe 'stateId' or the implicit 'id' specified by component configuration.
\nReturns an offscreen div with the same class name as the element this is being rendered.\nThis is because child item rendering takes place in a detached div which, being not part of the document, has no styling.
\nCreates and returns the data object to be used when rendering the fieldSubTpl.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nThe template data
\nGets the markup to be inserted into the outer template's bodyEl. For fields this is the actual input element.
\nOverrides: Ext.form.Labelable.getSubTplMarkup
Returns the parameter(s) that would be included in a standard form submit for this field. Typically this will be\nan object with a single name-value pair, the name being this field's name and the value being\nits current stringified value. More advanced field implementations may return more than one name-value pair.
\n\nNote that the values returned from this method are not guaranteed to have been successfully validated.
\nA mapping of submit parameter names to values; each value should be a string, or an array of\nstrings if that particular name has multiple values. It can also return null if there are no parameters to be\nsubmitted.
\nReturns the value that would be included in a standard form submit for this field. This will be combined with the\nfield's name to form a name=value pair in the submitted parameters. If an empty string is\nreturned then just the name= will be submitted; if null is returned then nothing will be submitted.
\n\nNote that the value returned will have been processed but may or may not have been\nsuccessfully validated.
\nThe value to be submitted, or null.
\nThis is used to determine where to insert the 'html', 'contentEl' and 'items' in this component.
\nReturns a set of flags that describe the trigger state. These are just used to easily\ndetermine if the DOM is out-of-sync with the component's properties.
\nReturns the current data value of the field. The type of value returned is particular to the type of the\nparticular field (e.g. a Date object for Ext.form.field.Date), as the result of calling rawToValue on\nthe field's processed String value. To return the raw String value, see getRawValue.
\nvalue The field value
\nOverrides: Ext.form.field.Field.getValue
Gets the xtype for this component as registered with Ext.ComponentManager. For a list of all available\nxtypes, see the Ext.Component header. Example usage:
\n\nvar t = new Ext.form.field.Text();\nalert(t.getXType()); // alerts 'textfield'\n
\nThe xtype
\nReturns this Component's xtype hierarchy as a slash-delimited string. For a list of all available xtypes, see the\nExt.Component header.
\n\nIf using your own subclasses, be aware that a Component must register its own xtype to participate in\ndetermination of inherited xtypes.
\n\nExample usage:
\n\nvar t = new Ext.form.field.Text();\nalert(t.getXTypes()); // alerts 'component/field/textfield'\n
\nThe xtype hierarchy string
\nTells whether the field currently has an active error message. This does not trigger validation on its own, it\nmerely looks for any message that the component may already hold.
\nReturns the current animation if this object has any effects actively running or queued, else returns false.
\nThis method has been deprecated since 4.0
\nReplaced by getActiveAnimation
\n\nAnim if element has active effects, else false
\n\nChecks to see if this object has any listeners for a specified event, or whether the event bubbles. The answer\nindicates whether the event needs firing or not.
\nThe name of the event to check for
\ntrue
if the event is being listened for or bubbles, else false
Hides this Component, setting it to invisible using the configured hideMode.
\nA callback function to call after the Component is hidden.
\nThe scope (this
reference) in which the callback is executed.\nDefaults to this Component.
this
\nThe initComponent template method is an important initialization step for a Component. It is intended to be\nimplemented by each subclass of Ext.Component to provide any needed constructor logic. The\ninitComponent method of the class being created is called first, with each initComponent method\nup the hierarchy to Ext.Component being called thereafter. This makes it easy to implement and,\nif needed, override the constructor logic of the Component at any step in the hierarchy.
\n\nThe initComponent method must contain a call to callParent in order\nto ensure that the parent class' initComponent method is also called.
\n\nAll config options passed to the constructor are applied to this
before initComponent is called,\nso you can simply access them with this.someOption
.
The following example demonstrates using a dynamic string for the text of a button at the time of\ninstantiation of the class.
\n\nExt.define('DynamicButtonText', {\n extend: 'Ext.button.Button',\n\n initComponent: function() {\n this.text = new Date();\n this.renderTo = Ext.getBody();\n this.callParent();\n }\n});\n\nExt.onReady(function() {\n Ext.create('DynamicButtonText');\n});\n
\n This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nInitialize configuration for this class. a typical example:
\n\nExt.define('My.awesome.Class', {\n // The default config\n config: {\n name: 'Awesome',\n isAwesome: true\n },\n\n constructor: function(config) {\n this.initConfig(config);\n }\n});\n\nvar awesome = new My.awesome.Class({\n name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n
\nthis
\nInitializes this Field mixin on the current instance. Components using this mixin should call this method during\ntheir own initialization process.
\nPerforms initialization of this mixin. Component classes using this mixin should call this method during their\nown initialization.
\nInitialized the renderData to be used when rendering the renderTpl.
\nObject with keys and values that are going to be applied to the renderTpl
\nInitializes the state of the object upon construction.
\nInitializes the field's value based on the initial config.
\nDetermines whether this component is the descendant of a particular container.
\nTrue if it is.
\nReturns true if the value of this Field has been changed from its originalValue.\nWill always return false if the field is disabled.
\n\nNote that if the owning form was configured with\ntrackResetOnLoad then the originalValue is updated when\nthe values are loaded by Ext.form.Basic.setValues.
\nTrue if this field has been changed from its original value (and is not disabled),\nfalse otherwise.
\nMethod to determine whether this Component is currently disabled.
\nthe disabled state of this Component.
\nMethod to determine whether this Component is draggable.
\nthe draggable state of this component.
\nMethod to determine whether this Component is droppable.
\nthe droppable state of this component.
\nOverride. Treat undefined and null values as equal to an empty string value.
\nOverrides: Ext.form.field.Field.isEqual
Returns whether this Field is a file upload field; if it returns true, forms will use special techniques for\nsubmitting the form via AJAX. See Ext.form.Basic.hasUpload for details. If\nthis returns true, the extractFileInput method must also be implemented to return the corresponding file\ninput element.
\nMethod to determine whether this Component is floating.
\nthe floating state of this component.
\nMethod to determine whether this Component is currently set to hidden.
\nthe hidden state of this Component.
\nDetermines whether this Component is the root of a layout. This returns true
if\nthis component can run its layout without assistance from or impact on its owner.\nIf this component cannot run its layout given these restrictions, false
is returned\nand its owner will be considered as the next candidate for the layout root.
Setting the _isLayoutRoot property to true
causes this method to always\nreturn true
. This may be useful when updating a layout of a Container which shrink\nwraps content, and you know that it will not change size, and so can safely be the\ntopmost participant in the layout run.
Returns true if layout is suspended for this component. This can come from direct\nsuspension of this component's layout activity (Ext.Container.suspendLayout) or if one\nof this component's containers is suspended.
\nTrue layout of this component is suspended.
\nReturns whether or not the field value is currently valid by validating the\nprocessed raw value of the field. Note: disabled fields are\nalways treated as valid.
\nTrue if the value is valid, else false
\nOverrides: Ext.form.field.Field.isValid
Returns true if this component is visible.
\nPass true
to interrogate the visibility status of all parent Containers to\ndetermine whether this Component is truly visible to the user.
Generally, to determine whether a Component is hidden, the no argument form is needed. For example when creating\ndynamically laid out UIs in a hidden Container before showing them.
\nDefaults to: false
True if this component is visible, false otherwise.
\nTests whether or not this Component is of a specific xtype. This can test whether this Component is descended\nfrom the xtype (default) or whether it is directly of the xtype specified (shallow = true).
\n\nIf using your own subclasses, be aware that a Component must register its own xtype to participate in\ndetermination of inherited xtypes.
\n\nFor a list of all available xtypes, see the Ext.Component header.
\n\nExample usage:
\n\nvar t = new Ext.form.field.Text();\nvar isText = t.isXType('textfield'); // true\nvar isBoxSubclass = t.isXType('field'); // true, descended from Ext.form.field.Base\nvar isBoxInstance = t.isXType('field', true); // false, not a direct Ext.form.field.Base instance\n
\nThe xtype to check for this Component
\nTrue to check whether this Component is directly of the specified xtype, false to\ncheck whether this Component is descended from the xtype.
\nDefaults to: false
True if this component descends from the specified xtype, false otherwise.
\nDisplay one or more error messages associated with this field, using msgTarget to determine how to\ndisplay the messages and applying invalidCls to the field's UI element.
\n\nNote: this method does not cause the Field's validate or isValid methods to return false
\nif the value does pass validation. So simply marking a Field as invalid will not prevent submission of forms\nsubmitted with the Ext.form.action.Submit.clientValidation option set.
Overrides: Ext.form.field.Field.markInvalid
Shorthand for addManagedListener.
\n\nAdds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestroyed.
\nThe item to which to add a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
If the ename
parameter was an event name, this is the\naddListener options.
Shorthand for removeManagedListener.
\n\nRemoves listeners that were added by the mon method.
\nThe item from which to remove a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
Returns the next node in the Component tree in tree traversal order.
\n\nNote that this is not limited to siblings, and if invoked upon a node with no matching siblings, will walk the\ntree to attempt to find a match. Contrast with nextSibling.
\nA ComponentQuery selector to filter the following nodes.
\nThe next node (or the next node which matches the selector).\nReturns null if there is no matching node.
\nReturns the next sibling of this Component.
\n\nOptionally selects the next sibling which matches the passed ComponentQuery selector.
\n\nMay also be refered to as next()
Note that this is limited to siblings, and if no siblings of the item match, null
is returned. Contrast with\nnextNode
A ComponentQuery selector to filter the following items.
\nThe next sibling (or the next sibling which matches the selector).\nReturns null if there is no matching sibling.
\nShorthand for addListener.
\n\nAppends an event handler to this object. For example:
\n\nmyGridPanel.on(\"mouseover\", this.onMouseOver, this);\n
\n\nThe method also allows for a single argument to be passed which is a config object\ncontaining properties which specify multiple events. For example:
\n\nmyGridPanel.on({\n cellClick: this.onCellClick,\n mouseover: this.onMouseOver,\n mouseout: this.onMouseOut,\n scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n
\n\nOne can also specify options for each event handler separately:
\n\nmyGridPanel.on({\n cellClick: {fn: this.onCellClick, scope: this, single: true},\n mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n
\n\nNames of methods in a specified scope may also be used. Note that\nscope
MUST be specified to use this option:
myGridPanel.on({\n cellClick: {fn: 'onCellClick', scope: this, single: true},\n mouseover: {fn: 'onMouseOver', scope: panel}\n});\n
\nThe name of the event to listen for.\nMay also be an object who's property names are event names.
\n\nThe method the event invokes, or if scope
is specified, the name* of the method within\nthe specified scope
. Will be called with arguments\ngiven to fireEvent plus the options
parameter described below.
The scope (this
reference) in which the handler function is\nexecuted. If omitted, defaults to the object which fired the event.
An object containing handler configuration.
\n\n\n\n\nNote: Unlike in ExtJS 3.x, the options object will also be passed as the last\nargument to every event handler.
\n\n\n\n\nThis object may contain any of the following properties:
\n\nThe scope (this
reference) in which the handler function is executed. If omitted,\n defaults to the object which fired the event.
The number of milliseconds to delay the invocation of the handler after the event fires.
\n\nTrue to add a handler to handle just the next firing of the event, and then remove itself.
\n\nCauses the handler to be scheduled to run in an Ext.util.DelayedTask delayed\n by the specified number of milliseconds. If the event fires again within that time,\n the original handler is not invoked, but the new handler is scheduled in its place.
\n\nOnly call the handler if the event was fired on the target Observable, not if the event\n was bubbled up from a child Observable.
\n\nThis option is only valid for listeners bound to Components.\n The name of a Component property which references an element to add a listener to.
\n\n\n\n\nThis option is useful during Component construction to add DOM event listeners to elements of\n Components which will exist only after the Component is rendered.\n For example, to add a click listener to a Panel's body:
\n\n\n\n\n new Ext.panel.Panel({\n title: 'The title',\n listeners: {\n click: this.handlePanelClick,\n element: 'body'\n }\n });\n
\n\n\n\n\nCombining Options
\n\n\n\n\nUsing the options argument, it is possible to combine different types of listeners:
\n\n\n\n\nA delayed, one-time listener.
\n\n\n\n\nmyPanel.on('hide', this.handleClick, this, {\n single: true,\n delay: 100\n});\n
\n\nMethod to manage awareness of when components are added to their\nrespective Container, firing an added event. References are\nestablished at add time rather than at render time.
\n\nAllows addition of behavior when a Component is added to a\nContainer. At this stage, the Component is in the parent\nContainer's collection of child items. After calling the\nsuperclass's onAdded, the ownerCt reference will be present,\nand if configured with a ref, the refOwner will be set.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nContainer which holds the component
\nPosition at which the component was added
\nThe default blur handling must not occur for a TriggerField, implementing this template method as emptyFn disables that.\nInstead the tab key is monitored, and the superclass's onBlur is called when tab is detected
\nIf grow=true, invoke the autoSize method when the field's value is changed.
\nOverrides: Ext.form.field.Field.onChange
Allows addition of behavior to the destroy operation.\nAfter calling the superclass’s onDestroy, the Component will be destroyed.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nCalled when the field's dirty state changes. Adds/removes the dirtyCls on the main element.
\nOverrides: Ext.form.field.Field.onDirtyChange
Allows addition of behavior to the disable operation.\nAfter calling the superclass’s onDisable, the Component will be disabled.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nAllows addition of behavior to the enable operation.\nAfter calling the superclass’s onEnable, the Component will be enabled.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nPossibly animates down to a target element.
\n\nAllows addition of behavior to the hide operation. After\ncalling the superclass’s onHide, the Component will be hidden.
\n\nGets passed the same parameters as hide.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nCalled after the component is moved, this method is empty by default but can be implemented by any\nsubclass that needs to perform custom logic after a move occurs.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nMethod to manage awareness of when components are removed from their\nrespective Container, firing a removed event. References are properly\ncleaned up after removing a component from its owning container.
\n\nAllows addition of behavior when a Component is removed from\nits parent Container. At this stage, the Component has been\nremoved from its parent Container's collection of child items,\nbut has not been destroyed (It will be destroyed if the parent\nContainer's autoDestroy is true, or if the remove call was\npassed a truthy second parameter). After calling the\nsuperclass's onRemoved, the ownerCt and the refOwner will not\nbe present.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nWill be passed as true if the Container performing the remove operation will delete this\nComponent upon remove.
\nTemplate method called when this Component's DOM structure is created.
\n\nAt this point, this Component's (and all descendants') DOM structure exists but it has not\nbeen layed out (positioned and sized).
\n\nSubclasses which override this to gain access to the structure at render time should\ncall the parent class's method before attempting to access any child elements of the Component.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nThe parent Element in which this Component's encapsulating element is contained.
\nThe index within the parent Container's child collection of this Component.
\nAllows addition of behavior to the resize operation.
\n\nCalled when Ext.resizer.Resizer#drag event is fired.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nAllows addition of behavior to the show operation. After\ncalling the superclass's onShow, the Component will be visible.
\n\nOverride in subclasses where more complex behaviour is needed.
\n\nGets passed the same parameters as show.
\nThis is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nInvoked after the afterShow method is complete.
\n\nGets passed the same callback
and scope
parameters that afterShow received.
This is a template method.\n a hook into the functionality of this class.\n Feel free to override it in child classes.
\nThis method is called when any of the stateEvents are fired.
\nThe function that should handle the trigger's click event. This method does nothing by default until overridden\nby an implementing function. See Ext.form.field.ComboBox and Ext.form.field.Date for sample implementations.
\nPrepares a given class for observable instances. This method is called when a\nclass derives from this class or uses this class as a mixin.
\nThe class constructor to prepare.
\nReturns the previous node in the Component tree in tree traversal order.
\n\nNote that this is not limited to siblings, and if invoked upon a node with no matching siblings, will walk the\ntree in reverse order to attempt to find a match. Contrast with previousSibling.
\nA ComponentQuery selector to filter the preceding nodes.
\nThe previous node (or the previous node which matches the selector).\nReturns null if there is no matching node.
\nReturns the previous sibling of this Component.
\n\nOptionally selects the previous sibling which matches the passed ComponentQuery\nselector.
\n\nMay also be refered to as prev()
Note that this is limited to siblings, and if no siblings of the item match, null
is returned. Contrast with\npreviousNode
A ComponentQuery selector to filter the preceding items.
\nThe previous sibling (or the previous sibling which matches the selector).\nReturns null if there is no matching sibling.
\nPerforms any necessary manipulation of a raw String value to prepare it for conversion and/or\nvalidation. For text fields this applies the configured stripCharsRe\nto the raw value.
\nThe unprocessed string value
\nThe processed string value
\nOverrides: Ext.form.field.Base.processRawValue
Converts a raw input field value into a mixed-type value that is suitable for this particular field type. This\nallows controlling the normalization and conversion of user-entered values into field-type-appropriate values,\ne.g. a Date object for Ext.form.field.Date, and is invoked by getValue.
\n\nIt is up to individual implementations to decide how to handle raw values that cannot be successfully converted\nto the desired object type.
\n\nSee valueToRaw for the opposite conversion.
\n\nThe base implementation does no conversion, returning the raw value untouched.
\nThe converted value.
\nCalled by Component#doAutoRender
\n\nRegister a Container configured floating: true
with this Component's ZIndexManager.
Components added in ths way will not participate in any layout, but will be rendered\nupon first show in the way that Windows are.
\nRelays selected events from the specified Observable as if the events were fired by this
.
For example if you are extending Grid, you might decide to forward some events from store.\nSo you can do this inside your initComponent:
\n\nthis.relayEvents(this.getStore(), ['load']);\n
\n\nThe grid instance will then have an observable 'load' event which will be passed the\nparameters of the store's load event and any function fired with the grid's load event\nwould have access to the grid using the this
keyword.
The Observable whose events this object is to relay.
\nArray of event names to relay.
\nA common prefix to prepend to the event names. For example:
\n\nthis.relayEvents(this.getStore(), ['load', 'clear'], 'store');\n
\n\nNow the grid will forward 'load' and 'clear' events of store as 'storeload' and 'storeclear'.
\nRemoves items in the childEls array based on the return value of a supplied test\nfunction. The function is called with a entry in childEls and if the test function\nreturn true, that entry is removed. If false, that entry is kept.
\nThe test function.
\nRemoves a CSS class from the top level element representing this component.
\nReturns the Component to allow method chaining.
\nRemoves a cls to the uiCls array, which will also call removeUIClsFromElement and removes it from all\nelements of this component.
\nRemoves an event handler.
\nThe type of event the handler was associated with.
\n\nThe handler to remove. This must be a reference to the function passed into the\naddListener call.
\n\nThe scope originally specified for the handler. It must be the same as the\nscope argument specified in the original call to addListener or the listener will not be removed.
\n\nRemoves listeners that were added by the mon method.
\nThe item from which to remove a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
Method which removes a specified UI + uiCls from the components element. The cls which is added to the element\nwill be: this.baseCls + '-' + ui
The UI to add to the element
\nMethod which removes a specified UI from the components element.
\nRenders the Component into the passed HTML element.
\n\nIf you are using a Container object to house this\nComponent, then do not use the render method.
\n\nA Container's child Components are rendered by that Container's\nlayout manager when the Container is first rendered.
\n\nIf the Container is already rendered when a new child Component is added, you may need to call\nthe Container's doLayout to refresh the view which\ncauses any unrendered child Components to be rendered. This is required so that you can add\nmultiple child components if needed while only refreshing the layout once.
\n\nWhen creating complex UIs, it is important to remember that sizing and positioning\nof child items is the responsibility of the Container's layout\nmanager. If you expect child items to be sized in response to user interactions, you must\nconfigure the Container with a layout manager which creates and manages the type of layout you\nhave in mind.
\n\nOmitting the Container's layout config means that a basic\nlayout manager is used which does nothing but render child components sequentially into the\nContainer. No sizing or positioning will be performed in this situation.
\nThe element this Component should be\nrendered into. If it is being created from existing markup, this should be omitted.
\nThe element ID or DOM node index within the container before\nwhich this component will be inserted (defaults to appending to the end of the container)
\nOverrides the method from the Ext.form.Labelable mixin to also add the invalidCls to the inputEl,\nas that is required for proper styling in IE with nested fields (due to lack of child selector)
\nOverrides: Ext.form.Labelable.renderActiveError
Resets the current field value to the originally-loaded value and clears any validation messages.\nAlso adds emptyText and emptyCls if the original value was blank.
\nOverrides: Ext.form.field.Field.reset
Resets the field's originalValue property so it matches the current value. This is\ncalled by Ext.form.Basic.setValues if the form's\ntrackResetOnLoad property is set to true.
\nResumes firing events (see suspendEvents).
\n\nIf events were suspended using the queueSuspended
parameter, then all events fired\nduring event suspension will be sent to any listeners now.
Conditionally saves a single property from this object to the given state object.\nThe idea is to only save state which has changed from the initial state so that\ncurrent software settings do not override future software settings. Only those\nvalues that are user-changed state should be saved.
\nThe name of the property to save.
\nThe state object in to which to save the property.
\nThe name to use for the property in state.
\nTrue if the property was saved, false if not.
\nSaves the state of the object to the persistence store.
\nScrolls this Component's target element by the passed delta values, optionally animating.
\n\nAll of the following are equivalent:
\n\n comp.scrollBy(10, 10, true);\n comp.scrollBy([10, 10], true);\n comp.scrollBy({ x: 10, y: 10 }, true);\n
\nEither the x delta, an Array specifying x and y deltas or\nan object with \"x\" and \"y\" properties.
\nEither the y delta, or an animate flag or config object.
\nAnimate flag/config object if the delta values were passed separately.
\nThis method is called internally by Ext.ZIndexManager to signal that a floating Component has either been\nmoved to the top of its zIndex stack, or pushed from the top of its zIndex stack.
\n\nIf a Window is superceded by another Window, deactivating it hides its shadow.
\n\nThis method also fires the activate or\ndeactivate event depending on which action occurred.
\nTrue to activate the Component, false to deactivate it.
\nDefaults to: false
The newly active Component which is taking over topmost zIndex position.
\nSets the active error message to the given string. This replaces the entire error message contents with the given\nstring. Also see setActiveErrors which accepts an Array of messages and formats them according to the\nactiveErrorsTpl. Note that this only updates the error message element's text and attributes, you'll\nhave to call doComponentLayout to actually update the field's layout to match. If the field extends Ext.form.field.Base you should call markInvalid instead.
\nThe error message
\nSet the active error message to an Array of error messages. The messages are formatted into a single message\nstring using the activeErrorsTpl. Also see setActiveError which allows setting the entire error\ncontents with a single string. Note that this only updates the error message element's text and attributes,\nyou'll have to call doComponentLayout to actually update the field's layout to match. If the field extends\nExt.form.field.Base you should call markInvalid instead.
\nThe error messages
\nSets the overflow on the content element of the component.
\nTrue to allow the Component to auto scroll.
\nthis
\nSets the dock position of this component in its parent panel. Note that this only has effect if this item is part\nof the dockedItems collection of a parent that has a DockLayout (note that any Panel has a DockLayout by default)
\nThe dock position.
\nTrue to re-layout parent.
\nDefaults to: false
this
\nSets the editable state of this field. This method is the runtime equivalent of setting the 'editable' config\noption at config time.
\nTrue to allow the user to directly edit the field text. If false is passed, the user\nwill only be able to modify the field using the trigger. Will also add a click event to the text field which\nwill call the trigger.
\nApplies a set of default configuration values to this Labelable instance. For each of the properties in the given\nobject, check if this component hasOwnProperty that config; if not then it's inheriting a default value from its\nprototype and we should apply the default value.
\nThe defaults to apply to the object.
\nSet the label of this field.
\nThe new label. The labelSeparator will be automatically appended to the label\nstring.
\nSet the CSS style of the field input element.
\nThe style(s) to apply. Should be a valid argument to Ext.Element.applyStyles.
\nSets the height of the component. This method fires the resize event.
\nThe new height to set. This may be one of:
\n\nthis
\nThis method allows you to show or hide a LoadMask on top of this component.
\nTrue to show the default LoadMask, a config object that will be passed to the\nLoadMask constructor, or a message String to show. False to hide the current LoadMask.
\nTrue to mask the targetEl of this Component instead of the this.el
. For example,\nsetting this to true on a Panel will cause only the body to be masked.
Defaults to: false
The LoadMask instance that has just been shown.
\nSets the overflow x/y on the content element of the component. The x/y overflow\nvalues can be any valid CSS overflow (e.g., 'auto' or 'scroll'). By default, the\nvalue is 'hidden'. Passing null for one of the values will erase the inline style.\nPassing undefined
will preserve the current value.
this
\nSets the page XY position of the component. To set the left and top instead, use setPosition.\nThis method fires the move event.
\nThe new x position
\nThe new y position
\nTrue to animate the Component into its new position. You may also pass an\nanimation configuration.
\nthis
\nSets the left and top of the component. To set the page XY position instead, use setPagePosition. This\nmethod fires the move event.
\nThe new left
\nThe new top
\nIf true, the Component is animated into its new position. You may also pass an\nanimation configuration.
\nthis
\nSets the field's raw value directly, bypassing value conversion, change detection, and\nvalidation. To set the value with these additional inspections see setValue.
\nThe value to set
\nvalue The field value that is set
\nSets the read-only state of this field. This method is the runtime equivalent of setting the 'readOnly' config\noption at config time.
\nTrue to prevent the user changing the field and explicitly hide the trigger. Setting\nthis to true will supercede settings editable and hideTrigger. Setting this to false will defer back to editable\nand hideTrigger.
\nOverrides: Ext.form.field.Base.setReadOnly
Sets the width and height of this Component. This method fires the resize event. This method can accept\neither width and height as separate arguments, or you can pass a size object like {width:10, height:20}
.
The new width to set. This may be one of:
\n\n{width: widthValue, height: heightValue}
.undefined
to leave the width unchanged.The new height to set (not required if a size object is passed as the first arg).\nThis may be one of:
\n\nundefined
to leave the height unchanged.this
\nSets the UI for the component. This will remove any existing UIs on the component. It will also loop through any\nuiCls set on the component and rename them so they include the new UI
\nThe new UI for the component
\nSets a data value into the field and runs the change detection and validation. Also applies any configured\nemptyText for text fields. To set the value directly without these inspections see setRawValue.
\nThe value to set
\nthis
\nOverrides: Ext.form.field.Base.setValue
Convenience function to hide or show this component by boolean.
\nTrue to show, false to hide
\nthis
\nSets the width of the component. This method fires the resize event.
\nThe new width to setThis may be one of:
\n\nthis
\nInject a reference to the function which applies the render template into the framing template. The framing template\nwraps the content.
\nShows this Component, rendering it first if autoRender or floating are true
.
After being shown, a floating Component (such as a Ext.window.Window), is activated it and\nbrought to the front of its z-index stack.
\nA callback function to call after the Component is displayed.\nOnly necessary if animation was specified.
\nThe scope (this
reference) in which the callback is executed.\nDefaults to this Component.
this
\nDisplays component at specific xy position.\nA floating component (like a menu) is positioned relative to its ownerCt if any.\nUseful for popping up a context menu:
\n\nlisteners: {\n itemcontextmenu: function(view, record, item, index, event, options) {\n Ext.create('Ext.menu.Menu', {\n width: 100,\n height: 100,\n margin: '0 0 10 0',\n items: [{\n text: 'regular item 1'\n },{\n text: 'regular item 2'\n },{\n text: 'regular item 3'\n }]\n }).showAt(event.getXY());\n }\n}\n
\nGet the reference to the class from which this object was instantiated. Note that unlike self,\nthis.statics()
is scope-independent and it always returns the class from which it was called, regardless of what\nthis
points to during run-time
Ext.define('My.Cat', {\n statics: {\n totalCreated: 0,\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n var statics = this.statics();\n\n alert(statics.speciesName); // always equals to 'Cat' no matter what 'this' refers to\n // equivalent to: My.Cat.speciesName\n\n alert(this.self.speciesName); // dependent on 'this'\n\n statics.totalCreated++;\n },\n\n clone: function() {\n var cloned = new this.self; // dependent on 'this'\n\n cloned.groupName = this.statics().speciesName; // equivalent to: My.Cat.speciesName\n\n return cloned;\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n },\n\n constructor: function() {\n this.callParent();\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat', then alerts 'Cat'\n\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Cat', then alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\nalert(clone.groupName); // alerts 'Cat'\n\nalert(My.Cat.totalCreated); // alerts 3\n
\nStops any running effects and clears this object's internal effects queue if it contains any additional effects\nthat haven't started yet.
\nThe Element
\nStops any running effects and clears this object's internal effects queue if it contains any additional effects\nthat haven't started yet.
\nThis method has been deprecated since 4.0
\nReplaced by stopAnimation
\n\nThe Element
\nSuspends the firing of all events. (see resumeEvents)
\nPass as true to queue up suspended events to be fired\nafter the resumeEvents call instead of discarding all suspended events.
\nEnsures that all effects queued after syncFx is called on this object are run concurrently. This is the opposite\nof sequenceFx.
\nthis
\nSends this Component to the back of (lower z-index than) any other visible windows
\nthis
\nBrings this floating Component to the front of any other visible, floating Components managed by the same\nZIndexManager
\n\nIf this Component is modal, inserts the modal mask just below this Component in the z-index stack.
\nSpecify true
to prevent the Component from being focused.
Defaults to: false
this
\nReturns the trimmed label by slicing off the label separator character. Can be overridden.
\nThe trimmed field label, or empty string if not defined
\nShorthand for removeListener.
\n\nRemoves an event handler.
\nThe type of event the handler was associated with.
\n\nThe handler to remove. This must be a reference to the function passed into the\naddListener call.
\n\nThe scope originally specified for the handler. It must be the same as the\nscope argument specified in the original call to addListener or the listener will not be removed.
\n\nClears the active error message(s). Note that this only clears the error message element's text and attributes,\nyou'll have to call doComponentLayout to actually update the field's layout to match. If the field extends Ext.form.field.Base you should call clearInvalid instead.
\nWalks up the ownerCt
axis looking for an ancestor Container which matches the passed simple selector.
Example:
\n\nvar owningTabPanel = grid.up('tabpanel');\n
\nThe simple selector to test.
\nThe matching ancestor Container (or undefined
if no match was found).
Update the content area of a component.
\nIf this component has been configured with a template via the tpl config then\nit will use this argument as data to populate the template. If this component was not configured with a template,\nthe components content area will be updated via Ext.Element update
\nOnly legitimate when using the html configuration.
\nDefaults to: false
Only legitimate when using the html configuration. Callback to execute when\nscripts have finished loading
\nInjected as an override by Ext.Aria.initialize
\nSets the current box measurements of the component's underlying element.
\nAn object in the format {x, y, width, height}
\nthis
\nReturns whether or not the field value is currently valid by validating the field's current\nvalue, and fires the validitychange event if the field's validity has changed since the last validation.\nNote: disabled fields are always treated as valid.
\n\nCustom implementations of this method are allowed to have side-effects such as triggering error message display.\nTo validate without side-effects, use isValid.
\nTrue if the value is valid, else false
\nUses getErrors to build an array of validation errors. If any errors are found, they are passed to\nmarkInvalid and false is returned, otherwise true is returned.
\n\nPreviously, subclasses were invited to provide an implementation of this to process validations - from 3.2\nonwards getErrors should be overridden instead.
\nThe value to validate
\nTrue if all validations passed, false if one or more failed
\nConverts a mixed-type value to a raw representation suitable for displaying in the field. This allows controlling\nhow value objects passed to setValue are shown to the user, including localization. For instance, for a\nExt.form.field.Date, this would control how a Date object passed to setValue would be converted\nto a String for display in the field.
\n\nSee rawToValue for the opposite conversion.
\n\nThe base implementation simply does a standard toString conversion, and converts empty values\nto an empty string.
\nThe mixed-type value to convert to the raw representation.
\nThe converted raw value.
\nAdd methods / properties to the prototype of this class.
\n\nExt.define('My.awesome.Cat', {\n constructor: function() {\n ...\n }\n});\n\n My.awesome.Cat.addMembers({\n meow: function() {\n alert('Meowww...');\n }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n
\nAdd / override static properties of this class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.addStatics({\n someProperty: 'someValue', // My.cool.Class.someProperty = 'someValue'\n method1: function() { ... }, // My.cool.Class.method1 = function() { ... };\n method2: function() { ... } // My.cool.Class.method2 = function() { ... };\n});\n
\nthis
\nBorrow another class' members to the prototype of this class.
\n\nExt.define('Bank', {\n money: '$$$',\n printMoney: function() {\n alert('$$$$$$$');\n }\n});\n\nExt.define('Thief', {\n ...\n});\n\nThief.borrow(Bank, ['money', 'printMoney']);\n\nvar steve = new Thief();\n\nalert(steve.money); // alerts '$$$'\nsteve.printMoney(); // alerts '$$$$$$$'\n
\nThe class to borrow members from
\nThe names of the members to borrow
\nthis
\nCreate a new instance of this Class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfig: true\n});\n
\n\nAll parameters are passed to the constructor of the class.
\nthe created instance.
\nCreate aliases for existing prototype methods. Example:
\n\nExt.define('My.cool.Class', {\n method1: function() { ... },\n method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n method3: 'method1',\n method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -> test.method1()\n
\nThe new method name, or an object to set multiple aliases. See\nflexSetter
\nThe original method name
\nGet the current class' name in string format.
\n\nExt.define('My.cool.Class', {\n constructor: function() {\n alert(this.self.getName()); // alerts 'My.cool.Class'\n }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n
\nclassName
\nAdds members to class.
\nThis method has been deprecated since 4.1
\nUse addMembers instead.
\n\nOverride members of this class. Overridden methods can be invoked via\ncallParent.
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n this.callParent(arguments);\n\n alert(\"Meeeeoooowwww\");\n }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n // alerts \"I'm a cat!\"\n // alerts \"Meeeeoooowwww\"\n
\n\nAs of 4.1, direct use of this method is deprecated. Use Ext.define\ninstead:
\n\nExt.define('My.CatOverride', {\n override: 'My.Cat',\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n this.callParent(arguments);\n\n alert(\"Meeeeoooowwww\");\n }\n});\n
\n\nThe above accomplishes the same result but can be managed by the Ext.Loader\nwhich can properly order the override and its target class and the build process\ncan determine whether the override is needed based on the required state of the\ntarget class (My.Cat).
\nThis method has been deprecated since 4.1.0
\nUse Ext.define instead
\n\nThe properties to add to this class. This should be\nspecified as an object literal containing one or more properties.
\nthis class
\nFires after a Component has been visually activated.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after a Component had been added to a Container.
\nParent Container
\nposition of Component
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component rendering is finished.
\n\nThe afterrender event is fired after this Component has been rendered, been postprocesed by any\nafterRender method defined for the Component.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the autoSize function is triggered and the field is resized according to the\ngrow/growMin/growMax configs as a result. This event provides a hook for the\ndeveloper to apply additional logic at runtime to resize the field if needed.
\nThis text field
\nThe new field width
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before a Component has been visually activated. Returning false from an event listener can prevent\nthe activate from occurring.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before a Component has been visually deactivated. Returning false from an event listener can\nprevent the deactivate from occurring.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the component is destroyed. Return false from an event handler to stop the\ndestroy.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the component is hidden when calling the hide method. Return false from an event\nhandler to stop the hide.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the component is rendered. Return false from an event handler to stop the\nrender.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the component is shown when calling the show method. Return false from an event\nhandler to stop the show.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the state of the object is restored. Return false from an event handler to stop the restore.
\nThe hash of state values returned from the StateProvider. If this\nevent is not vetoed, then the state object is passed to applyState. By default,\nthat simply copies property values into this object. The method maybe overriden to\nprovide custom state restoration.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the state of the object is saved to the configured state provider. Return false to stop the save.
\nThe hash of state values. This is determined by calling\ngetState() on the object. This method must be provided by the\ndeveloper to return whetever representation of state is required, by default, Ext.state.Stateful\nhas a null implementation.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when this Component loses focus.
\nblur event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires one time - after the component has been layed out for the first time at its initial size.
\nThe initial width
\nThe initial height
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the value of a field is changed via the setValue method.
\nThe new value
\nThe original value
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after a Component has been visually deactivated.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is destroyed.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a change in the field's isDirty state is detected.
\nWhether or not the field is now dirty
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is disabled.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is enabled.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the active error message is changed via setActiveError.
\nThe active error message
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when this Component receives focus.
\nfocus event.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is hidden. Fires after the component is hidden when calling the hide\nmethod.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nKeydown input field event. This event only fires if enableKeyEvents is set to true.
\nThis text field
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nKeypress input field event. This event only fires if enableKeyEvents is set to true.
\nThis text field
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nKeyup input field event. This event only fires if enableKeyEvents is set to true.
\nThis text field
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is moved.
\nThe new x position
\nThe new y position
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a component is removed from an Ext.container.Container
\nContainer which holds the component
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component markup is rendered.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is resized. Note that this does not fire when the component is first layed out at its initial\nsize. To hook that point in the lifecycle, use the boxready event.
\nThe new width that was set
\nThe new height that was set
\nThe previous width
\nThe previous height
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is shown when calling the show method.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. To handle other keys\nsee Ext.util.KeyMap. You can check Ext.EventObject.getKey to determine which key was\npressed. For example:
\n\nvar form = new Ext.form.Panel({\n ...\n items: [{\n fieldLabel: 'Field 1',\n name: 'field1',\n allowBlank: false\n },{\n fieldLabel: 'Field 2',\n name: 'field2',\n listeners: {\n specialkey: function(field, e){\n // e.HOME, e.END, e.PAGE_UP, e.PAGE_DOWN,\n // e.TAB, e.ESC, arrow keys: e.LEFT, e.RIGHT, e.UP, e.DOWN\n if (e.getKey() == e.ENTER) {\n var form = field.up('form').getForm();\n form.submit();\n }\n }\n }\n }\n ],\n ...\n});\n
\nThe event object
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the state of the object is restored.
\nThe hash of state values returned from the StateProvider. This is passed\nto applyState. By default, that simply copies property values into this\nobject. The method maybe overriden to provide custom state restoration.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the state of the object is saved to the configured state provider.
\nThe hash of state values. This is determined by calling\ngetState() on the object. This method must be provided by the\ndeveloper to return whetever representation of state is required, by default, Ext.state.Stateful\nhas a null implementation.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a change in the field's validity is detected.
\nWhether or not the field is now valid
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when this field changes its read-only status.
\nonly flag
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nBackground color for form fields.
\nBackground color for form fields.
\nBackground image for form fields.
\nBackground image for form fields.
\nBorder width for form fields.
\nBorder width for form fields.
\nText color for empty form fields.
\nText color for empty form fields.
\nBorder color for focused form fields.
\nBorder color for focused form fields.
\nBackground image for invalid form fields.
\nBackground image for invalid form fields.
\nBackground position for invalid form fields.
\nBackground position for invalid form fields.
\nBackground repeat for invalid form fields.
\nBackground repeat for invalid form fields.
\nBorder color for invalid form fields.
\nBorder color for invalid form fields.
\nHeight for form fields in toolbar.
\nHeight for form fields in toolbar.
\n