Ext.data.JsonP.Ext_form_field_File({"alternateClassNames":["Ext.form.File","Ext.form.FileUploadField","Ext.ux.form.FileUploadField"],"aliases":{"widget":["filefield","fileuploadfield"]},"enum":null,"parentMixins":["Ext.form.Labelable","Ext.form.field.Field","Ext.state.Stateful","Ext.util.Animate","Ext.util.ElementContainer","Ext.util.Floating","Ext.util.Observable","Ext.util.Positionable","Ext.util.Renderable"],"tagname":"class","subclasses":[],"extends":"Ext.form.field.Trigger","uses":[],"html":"

Alternate names

Ext.form.File
Ext.form.FileUploadField
Ext.ux.form.FileUploadField

Hierarchy

Inherited mixins

Requires

Files

A file upload field which has custom styling and allows control over the button text and other\nfeatures of text fields like empty text.\nIt uses a hidden file input element behind the scenes to allow user selection of a file and to\nperform the actual upload during form submit.

\n\n

Because there is no secure cross-browser way to programmatically set the value of a file input,\nthe standard Field setValue method is not implemented. The getValue method will return\na value that is browser-dependent; some have just the file name, some have a full path, some use\na fake path.

\n\n

IMPORTANT: File uploads are not performed using normal 'Ajax' techniques; see the description for\nExt.form.Basic.hasUpload for details.

\n\n

Example Usage

\n\n
Ext.create('Ext.form.Panel', {\n    title: 'Upload a Photo',\n    width: 400,\n    bodyPadding: 10,\n    frame: true,\n    renderTo: Ext.getBody(),\n    items: [{\n        xtype: 'filefield',\n        name: 'photo',\n        fieldLabel: 'Photo',\n        labelWidth: 50,\n        msgTarget: 'side',\n        allowBlank: false,\n        anchor: '100%',\n        buttonText: 'Select Photo...'\n    }],\n\n    buttons: [{\n        text: 'Upload',\n        handler: function() {\n            var form = this.up('form').getForm();\n            if(form.isValid()){\n                form.submit({\n                    url: 'photo-upload.php',\n                    waitMsg: 'Uploading your photo...',\n                    success: function(fp, o) {\n                        Ext.Msg.alert('Success', 'Your photo \"' + o.result.file + '\" has been uploaded.');\n                    }\n                });\n            }\n        }\n    }]\n});\n
\n
Defined By

Config options

If specified, then the component will be displayed with this value as its active error when first rendered. ...

If 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.

\n
The template used to format the Array of error messages passed to setActiveErrors into a single HTML\nstring. ...

The template used to format the Array of error messages passed to setActiveErrors into a single HTML\nstring. if the msgTarget is title, it defaults to a list separated by new lines. Otherwise, it\nrenders each message as an item in an unordered list.

\n
An optional string or XTemplate configuration to insert in the field markup\nat the end of the input containing element. ...

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.

\n
An optional string or XTemplate configuration to insert in the field markup\nafter the label text. ...

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.

\n
An optional string or XTemplate configuration to insert in the field markup\nafter the label element. ...

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.

\n
An optional string or XTemplate configuration to insert in the field markup\nafter the subTpl markup. ...

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.

\n
Specify false to validate that the value's length must be > 0. ...

Specify false to validate that the value's length must be > 0. If true, then a blank value is always taken to be valid regardless of any vtype\nvalidation that may be applied.

\n\n

If vtype validation must still be applied to blank values, configure validateBlank as true;

\n

Defaults to: true

Specify false to automatically trim the value before validating\nthe whether the value is blank. ...

Specify false to automatically trim the value before validating\nthe whether the value is blank. Setting this to false automatically\nsets allowBlank to false.

\n

Defaults to: true

A tag name or DomHelper spec used to create the Element which will\nencapsulate this Component. ...

A tag name or DomHelper spec used to create the Element which will\nencapsulate this Component.

\n\n

You 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\n

This 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
\n

Available since: 2.3.0

\n
Whether to adjust the component's body area to make room for 'side' or 'under' error messages. ...

Whether to adjust the component's body area to make room for 'side' or 'under' error messages.

\n

Defaults to: true

An alias for loader config which also allows to specify just a string which will be\nused as the url that's automatica...

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\n
Ext.create('Ext.Component', {\n    autoLoad: 'content.html',\n    renderTo: Ext.getBody()\n});\n
\n\n

The above is the same as:

\n\n
Ext.create('Ext.Component', {\n    loader: {\n        url: 'content.html',\n        autoLoad: true\n    },\n    renderTo: Ext.getBody()\n});\n
\n\n

Don't use it together with loader config.

\n
\n

This cfg has been deprecated since 4.1.1

\n

Use loader config instead.

\n\n
\n
This config is intended mainly for non-floating Components which may or may not be shown. ...

This 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 omitted as if it is true.

\n\n

Specify as true to have this Component render to the document body upon first show.

\n\n

Specify as an element, or the ID of an element to have this Component render to a specific element upon first\nshow.

\n

Defaults to: false

true to use overflow:'auto' on the components layout element and show scroll bars automatically when necessary,\nfalse...

true to use overflow:'auto' on the components layout element and show scroll bars automatically when necessary,\nfalse to clip any overflowing content.\nThis should not be combined with overflowX or overflowY.

\n

Defaults to: false

true to automatically show the component upon creation. ...

true to automatically show the component upon creation. This config option may only be used for\nfloating components or components that use autoRender.

\n

Defaults to: false

Available since: 2.3.0

\n
The CSS class to be applied to the body content element. ...

The CSS class to be applied to the body content element.

\n

Defaults to: Ext.baseCSSPrefix + 'form-item-body'

The base CSS class to apply to this component's element. ...

The base CSS class to apply to this component'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.

\n

Defaults to: Ext.baseCSSPrefix + 'field'

Overrides: Ext.AbstractComponent.baseCls

An optional string or XTemplate configuration to insert in the field markup\nat the beginning of the input containing ...

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.

\n
An optional string or XTemplate configuration to insert in the field markup\nbefore the label text. ...

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.

\n
An optional string or XTemplate configuration to insert in the field markup\nbefore the label element. ...

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.

\n
An optional string or XTemplate configuration to insert in the field markup\nbefore the subTpl markup. ...

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.

\n
The error text to display if the allowBlank validation fails ...

The error text to display if the allowBlank validation fails

\n

Defaults to: 'This field is required'

Specifies the border size for this component. ...

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' (top, right, bottom, left).

\n\n

For 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\n
border: 5,\nstyle: {\n    borderColor: 'red',\n    borderStyle: 'solid'\n}\n
\n\n

To turn off the border, use border: false.

\n
Ext.form.field.File
view source
buttonConfig : Object

A standard Ext.button.Button config object.

\n

A standard Ext.button.Button config object.

\n
Ext.form.field.File
view source
: Number
The number of pixels of space reserved between the button and the text field. ...

The number of pixels of space reserved between the button and the text field. Note that this only\napplies if buttonOnly = false.

\n

Defaults to: 3

Ext.form.field.File
view source
: Boolean
True to display the file upload field as a button with no visible text field. ...

True to display the file upload field as a button with no visible text field. If true, all\ninherited Text members will still be available.

\n

Defaults to: false

Ext.form.field.File
view source
: String
The button text to display on the upload button. ...

The button text to display on the upload button. Note that if you supply a value for\nbuttonConfig, the buttonConfig.text value will be used instead if available.

\n

Defaults to: 'Browse...'

Defines a timeout in milliseconds for buffering checkChangeEvents that fire in rapid succession. ...

Defines a timeout in milliseconds for buffering checkChangeEvents that fire in rapid succession.\nDefaults to 50 milliseconds.

\n

Defaults 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 b...

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\n

Defaults to ['change', 'propertychange', 'keyup'] 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\n
    \n
  • Safari 3.2 and older: cut/paste in textareas via the context menu, and dragging text into textareas
  • \n
  • Opera 10 and 11: dragging text into text fields and textareas, and cut via the context menu in text fields\nand textareas
  • \n
  • Opera 9: Same as Opera 10 and 11, plus paste from context menu in text fields and textareas
  • \n
\n\n\n

If 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.

\n
An array describing the child elements of the Component. ...

An array describing the child elements of the Component. Each member of the array\nis an object with these properties:

\n\n
    \n
  • name - The property name on the Component for the child element.
  • \n
  • itemId - The id to combine with the Component's id that is the id of the child element.
  • \n
  • id - The id of the child element.
  • \n
\n\n\n

If the array member is a string, it is equivalent to { name: m, itemId: m }.

\n\n

For example, a Component which renders a title and body text:

\n\n
Ext.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\n

A more flexible, but somewhat slower, approach is renderSelectors.

\n
The CSS class to be applied to the special clearing div rendered directly after the field contents wrapper to\nprovide...

The CSS class to be applied to the special clearing div rendered directly after the field contents wrapper to\nprovide field clearing.

\n

Defaults to: Ext.baseCSSPrefix + 'clear'

Ext.form.field.File
view source
: Boolean
True to clear the selected file value when the form this field belongs to\nis submitted to the server. ...

True to clear the selected file value when the form this field belongs to\nis submitted to the server.

\n

Defaults to: true

An optional extra CSS class that will be added to this component's Element. ...

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.

\n

Defaults to: ''

Available since: 1.1.0

\n
Defines the column width inside column layout. ...

Defines the column width inside column layout.

\n\n

Can be specified as a number or as a percentage.

\n

CSS Class to be added to a components root level element to give distinction to it via styling.

\n

CSS Class to be added to a components root level element to give distinction to it via styling.

\n
private\n\nThe sizing and positioning of a Component's internal Elements is the responsibility of the Component's layou...

private

\n\n

The 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\n

Generally, 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\n

The 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.

\n

Defaults to: 'triggerfield'

Overrides: Ext.form.field.Trigger.componentLayout

True to constrain this Components within its containing element, false to allow it to fall outside of its containing\n...

True to constrain this Components within its containing element, false to allow it to fall outside of its containing\nelement. By default this Component will be rendered to document.body. To render and constrain this Component within\nanother element specify renderTo.

\n

Defaults to: false

A Region (or an element from which a Region measurement will be read) which is used\nto constrain the component. ...

A Region (or an element from which a Region measurement will be read) which is used\nto constrain the component. Only applies when the component is floating.

\n
An object or a string (in TRBL order) specifying insets from the configured constrain region\nwithin which this compon...

An object or a string (in TRBL order) specifying insets from the configured constrain region\nwithin which this component must be constrained when positioning or sizing.\nexample:

\n\n

constraintInsets: '10 10 10 10' // Constrain with 10px insets from parent

\n
Specify an existing HTML element, or the id of an existing HTML element to use as the content for this component. ...

Specify an existing HTML element, or the id of an existing HTML element to use as the content for this component.

\n\n

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\n

Notes:

\n\n

The 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\n

The 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.

\n\n

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.

\n

Available since: 3.4.0

\n

The initial set of data to apply to the tpl to update the content area of the Component.

\n

The initial set of data to apply to the tpl to update the content area of the Component.

\n

Available since: 3.4.0

\n
The default Ext.Element#getAlignToXY anchor position value for this menu\nrelative to its element of origin. ...

The default Ext.Element#getAlignToXY anchor position value for this menu\nrelative to its element of origin. Used in conjunction with showBy.

\n

Defaults to: "tl-bl?"

The CSS class to use when the field value is dirty. ...

The CSS class to use when the field value is dirty.

\n

Defaults to: Ext.baseCSSPrefix + 'form-dirty'

Specify true to disable input keystroke filtering ...

Specify true to disable input keystroke filtering

\n

Defaults to: false

True to disable the field. ...

True to disable the field. Disabled Fields will not be submitted.

\n

Defaults to: false

Overrides: Ext.AbstractComponent.disabled

CSS class to add when the Component is disabled. ...

CSS class to add when the Component is disabled.

\n

Defaults to: 'x-item-disabled'

Specify as true to make a floating Component draggable using the Component's encapsulating element as\nthe drag handle. ...

Specify as true to make a floating Component draggable using the Component's encapsulating element as\nthe drag handle.

\n\n

This may also be specified as a config object for the ComponentDragger which is\ninstantiated to perform dragging.

\n\n

For 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\n
new 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
\n

Defaults 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\nacti...

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.

\n

Defaults to: true

The CSS class to apply to an empty field to style the emptyText. ...

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.

\n

Defaults to: 'x-form-empty-field'

The default text to place into an empty field. ...

The default text to place into an empty field.

\n\n

Note 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\n

Also note that if you use inputType:'file', emptyText is not supported and should be\navoided.

\n\n

Note 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.

\n
true to enable the proxying of key events for the HTML input field ...

true to enable the proxying of key events for the HTML input field

\n

Defaults to: false

True to set the maxLength property on the underlying input field. ...

True to set the maxLength property on the underlying input field. Defaults to false

\n
The CSS class to be applied to the error message element. ...

The CSS class to be applied to the error message element.

\n

Defaults to: Ext.baseCSSPrefix + 'form-error-msg'

An extra CSS class to be applied to the body content element in addition to baseBodyCls. ...

An extra CSS class to be applied to the body content element in addition to baseBodyCls.

\n

Defaults to: ''

The default CSS class for the field input ...

The default CSS class for the field input

\n

Defaults to: 'x-form-field'

The label for the 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.

\n
Optional CSS style(s) to be applied to the field input element. ...

Optional 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.

\n
The content of the field body is defined by this config option. ...

The content of the field body is defined by this config option.

\n

Defaults 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} {inputCls}" autocomplete="off"/>', {disableFormats: true}]

Configure as true to have this Component fixed at its X, Y coordinates in the browser viewport, immune\nto scrolling t...

Configure as true to have this Component fixed at its X, Y coordinates in the browser viewport, immune\nto scrolling the document.

\n\n

Only in browsers that support position:fixed

\n\n

IE6 and IE7, 8 and 9 quirks do not support position: fixed

\n

Defaults to: false

Specify as true to float the Component outside of the document flow using CSS absolute positioning. ...

Specify as true to float the Component outside of the document flow using CSS absolute positioning.

\n\n

Components such as Windows and Menus are floating by default.

\n\n

Floating Components that are programatically rendered will register\nthemselves with the global ZIndexManager

\n\n

Floating Components as child items of a Container

\n\n

A 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\n

When 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\n

The 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\n

If no floating ancestor is found, a floating Component registers itself with the default ZIndexManager.

\n\n

Floating components do not participate in the Container's layout. Because of this, they are not rendered until\nyou explicitly show them.

\n\n

After 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.

\n

Defaults to: false

Overrides: Ext.AbstractComponent.floating

The CSS class to use when the field receives focus ...

The CSS class to use when the field receives focus

\n

Defaults to: 'x-form-focus'

Specifies whether the floated component should be automatically focused when\nit is brought to the front. ...

Specifies whether the floated component should be automatically focused when\nit is brought to the front.

\n

Defaults to: true

When inside FormPanel, any component configured with formBind: true will\nbe enabled/disabled depending on the validit...

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.

\n

Defaults to: false

A CSS class to be applied to the outermost element to denote that it is participating in the form field layout. ...

A CSS class to be applied to the outermost element to denote that it is participating in the form field layout.

\n

Defaults to: Ext.baseCSSPrefix + 'form-item'

Specify as true to have the Component inject framing elements within the Component at render time to provide a\ngraphi...

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.

\n\n

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\n

The extra space taken up by this framing is available from the read only property frameSize.

\n
A string that will be appended to the field's current value for the purposes of calculating the target field\nsize. ...

A 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.

\n

Defaults to: 'W'

The height of this component in pixels.

\n

The height of this component in pixels.

\n
true to hide the component. ...

true to hide the component.

\n

Defaults to: false

Available since: 2.3.0

\n
When set to true, the label element (fieldLabel and labelSeparator) will be automatically\nhidden if the fieldLabel is...

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\n

If you wish to unconditionall hide the label even if a non-empty fieldLabel is configured, then set the\nhideLabel config to true.

\n

Defaults to: true

Set to true to completely hide the label element (fieldLabel and labelSeparator). ...

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.

\n

Defaults to: false

A String which specifies how this Component's encapsulating DOM element will be hidden. ...

A String which specifies how this Component's encapsulating DOM element will be hidden. Values may be:

\n\n
    \n
  • 'display' : The Component will be hidden using the display: none style.
  • \n
  • 'visibility' : The Component will be hidden using the visibility: hidden style.
  • \n
  • '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.
  • \n
\n\n

Defaults to: 'display'

Available since: 1.1.0

\n
true to hide the trigger element and display only the base text field ...

true to hide the trigger element and display only the base text field

\n

Defaults to: false

An HTML fragment, or a DomHelper specification to use as the layout element content. ...

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.

\n

Defaults to: ''

Available since: 3.4.0

\n
The unique id of this component instance. ...

The unique id of this component instance.

\n\n

It 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\n

Instead 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\n

Note 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\n

Note: To avoid complications imposed by a unique id also see itemId.

\n\n

Note: To access the container of a Component see ownerCt.

\n\n

Defaults to an auto-assigned id.

\n

Available since: 1.1.0

\n
An optional string or XTemplate configuration to insert in the field markup\ninside the input element (as attributes). ...

An 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.

\n
The id that will be given to the generated input DOM element. ...

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.

\n
The type attribute for input fields -- e.g. ...

The 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\n

The 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'.

\n

Defaults to: 'text'

The CSS class to use when marking the component invalid. ...

The CSS class to use when marking the component invalid.

\n

Defaults to: Ext.baseCSSPrefix + 'form-invalid'

The error text to use when marking a field invalid and no message is provided ...

The error text to use when marking a field invalid and no message is provided

\n

Defaults 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. ...

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.

\n\n
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\n

Also see id, Ext.container.Container.query, Ext.container.Container.down and\nExt.container.Container.child.

\n\n

Note: to access the container of an item see ownerCt.

\n

Available since: 3.4.0

\n
Controls the position and alignment of the fieldLabel. ...

Controls the position and alignment of the fieldLabel. Valid values are:

\n\n
    \n
  • \"left\" (the default) - The label is positioned to the left of the field, with its text aligned to the left.\nIts width is determined by the labelWidth config.
  • \n
  • \"top\" - The label is positioned above the field.
  • \n
  • \"right\" - The label is positioned to the left of the field, with its text aligned to the right.\nIts width is determined by the labelWidth config.
  • \n
\n\n

Defaults to: 'left'

An optional string or XTemplate configuration to insert in the field markup\ninside the label element (as attributes). ...

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.

\n
The CSS class to be applied to the label element. ...

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.

\n

Defaults to: Ext.baseCSSPrefix + 'form-item-label'

An optional string of one or more additional CSS classes to add to the label element. ...

An optional string of one or more additional CSS classes to add to the label element. Defaults to empty.

\n
The amount of space in pixels between the fieldLabel and the input field. ...

The amount of space in pixels between the fieldLabel and the input field.

\n

Defaults to: 5

Character(s) to be inserted at the end of the label text. ...

Character(s) to be inserted at the end of the label text.

\n\n

Set to empty string to hide the separator completely.

\n

Defaults to: ':'

A CSS style specification string to apply directly to this field's label.

\n

A CSS style specification string to apply directly to this field's label.

\n
The width of the fieldLabel in pixels. ...

The width of the fieldLabel in pixels. Only applicable if the labelAlign is set to \"left\" or\n\"right\".

\n

Defaults to: 100

The rendering template for the field decorations. ...

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\n

The structure of a field is a table as follows:

\n\n

If labelAlign: 'left',msgTarget: 'side'`

\n\n
 +----------------------+----------------------+-------------+\n | Label:               | InputField           | sideErrorEl |\n +----------------------+----------------------+-------------+\n
\n\n

If labelAlign: 'left',msgTarget: 'under'`

\n\n
 +----------------------+------------------------------------+\n | Label:               | InputField      (colspan=2)        |\n |                      | underErrorEl                       |\n +----------------------+------------------------------------+\n
\n\n

If labelAlign: 'top',msgTarget: 'side'`

\n\n
 +---------------------------------------------+-------------+\n | label                                       |             |\n | InputField                                  | sideErrorEl |\n +---------------------------------------------+-------------+\n
\n\n

If labelAlign: 'top',msgTarget: 'under'`

\n\n
 +-----------------------------------------------------------+\n | label                                                     |\n | InputField                      (colspan=2)               |\n | underErrorEl                                              |\n +-----------------------------------------------------------+\n
\n\n

The 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.

\n\n

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.

\n

Defaults to: ['<tr role="presentation" id="{id}-inputRow" <tpl if="inFormLayout">id="{id}"</tpl> class="{inputRowCls}">', '<tpl if="labelOnLeft">', '<td role="presentation" 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>', ' unselectable="on"', '>', '{beforeLabelTextTpl}', '<tpl if="fieldLabel">{fieldLabel}{labelSeparator}</tpl>', '{afterLabelTextTpl}', '</label>', '{afterLabelTpl}', '</td>', '</tpl>', '<td role="presentation" class="{baseBodyCls} {fieldBodyCls} {extraFieldBodyCls}" id="{id}-bodyEl" colspan="{bodyColspan}" role="presentation">', '{beforeBodyEl}', '<tpl if="labelAlign==\\'top\\'">', '{beforeLabelTpl}', '<div role="presentation" id="{id}-labelCell" style="{labelCellStyle}">', '<label id="{id}-labelEl" {labelAttrTpl}<tpl if="inputId"> for="{inputId}"</tpl> class="{labelCls}"', '<tpl if="labelStyle"> style="{labelStyle}"</tpl>', ' unselectable="on"', '>', '{beforeLabelTextTpl}', '<tpl if="fieldLabel">{fieldLabel}{labelSeparator}</tpl>', '{afterLabelTextTpl}', '</label>', '</div>', '{afterLabelTpl}', '</tpl>', '{beforeSubTpl}', '{[values.$comp.getSubTplMarkup(values)]}', '{afterSubTpl}', '<tpl if="msgTarget===\\'side\\'">', '{afterBodyEl}', '</td>', '<td role="presentation" id="{id}-sideErrorCell" vAlign="{[values.labelAlign===\\'top\\' && !values.hideLabel ? \\'bottom\\' : \\'middle\\']}" style="{[values.autoFitErrors ? \\'display:none\\' : \\'\\']}" width="{errorIconWidth}">', '<div role="presentation" id="{id}-errorEl" class="{errorMsgCls}" style="display:none"></div>', '</td>', '<tpl elseif="msgTarget==\\'under\\'">', '<div role="presentation" 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. ...

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\n

DOM events from Ext JS Components

\n\n

While 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:

\n\n
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
\n
A configuration object or an instance of a Ext.ComponentLoader to load remote content\nfor this Component. ...

A configuration object or an instance of a Ext.ComponentLoader to load remote content\nfor this Component.

\n\n
Ext.create('Ext.Component', {\n    loader: {\n        url: 'content.html',\n        autoLoad: true\n    },\n    renderTo: Ext.getBody()\n});\n
\n
Specifies the margin for this component. ...

Specifies 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' (top, right, bottom, left).

\n
An input mask regular expression that will be used to filter keystrokes (character being\ntyped) that do not match. ...

An 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.

\n
The maximum value in pixels which this Component will set its height to. ...

The maximum value in pixels which this Component will set its height to.

\n\n

Warning: This will override any size management applied by layout managers.

\n
Maximum input field length allowed by validation. ...

Maximum 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\n

Defaults to Number.MAX_VALUE.

\n
Error text to display if the maximum length validation fails ...

Error text to display if the maximum length validation fails

\n

Defaults to: 'The maximum length for this field is {0}'

The maximum value in pixels which this Component will set its width to. ...

The maximum value in pixels which this Component will set its width to.

\n\n

Warning: This will override any size management applied by layout managers.

\n
The minimum value in pixels which this Component will set its height to. ...

The minimum value in pixels which this Component will set its height to.

\n\n

Warning: This will override any size management applied by layout managers.

\n
Minimum input field length required ...

Minimum input field length required

\n

Defaults to: 0

Error text to display if the minimum length validation fails. ...

Error text to display if the minimum length validation fails.

\n

Defaults to: 'The minimum length for this field is {0}'

The minimum value in pixels which this Component will set its width to. ...

The minimum value in pixels which this Component will set its width to.

\n\n

Warning: This will override any size management applied by layout managers.

\n
The location where the error message text should display. ...

The location where the error message text should display. Must be one of the following values:

\n\n
    \n
  • qtip Display a quick tip containing the message when the user hovers over the field.\nThis is the default.

    \n\n

    Ext.tip.QuickTipManager.init must have been called for this setting to work.

  • \n
  • title Display the message in a default browser title attribute popup.

  • \n
  • under Add a block div beneath the field containing the error message.
  • \n
  • side Add an error icon to the right of the field, displaying the message in a popup on hover.
  • \n
  • none Don't display any error message. This might be useful if you are implementing custom error display.
  • \n
  • [element id] Add the error message directly to the innerHTML of the specified element.
  • \n
\n\n

Defaults to: 'qtip'

The name of the field. ...

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.

\n

Overrides: 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...

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.

\n

Defaults to: ''

Available since: 2.3.0

\n
Possible values are:\n * 'auto' to enable automatic horizontal scrollbar (overflow-x: 'auto'). ...

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.

\n
Possible values are:\n * 'auto' to enable automatic vertical scrollbar (overflow-y: 'auto'). ...

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.

\n
Specifies the padding for this component. ...

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' (top, right, bottom, left).

\n
An array of plugins to be added to this component. ...

An array of plugins to be added to this component. Can also be just a single plugin instead of array.

\n\n

Plugins provide custom functionality for a 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.

\n\n

Plugins can be added to component by either directly referencing the plugin instance:

\n\n
plugins: [Ext.create('Ext.grid.plugin.CellEditing', {clicksToEdit: 1})],\n
\n\n

By using config object with ptype:

\n\n
plugins: [{ptype: 'cellediting', clicksToEdit: 1}],\n
\n\n

Or with just a ptype:

\n\n
plugins: ['cellediting', 'gridviewdragdrop'],\n
\n\n

See Ext.enums.Plugin for list of all ptypes.

\n

Available since: 2.3.0

\n
true to disable displaying any error message set on this object. ...

true to disable displaying any error message set on this object.

\n

Defaults to: false

Ext.form.field.File
view source
: Boolean
Unlike with other form fields, the readOnly config defaults to true in File field. ...

Unlike with other form fields, the readOnly config defaults to true in File field.

\n

Defaults to: true

Overrides: Ext.form.field.Trigger.readOnly

The CSS class applied to the component's main element when it is readOnly. ...

The CSS class applied to the component's main element when it is readOnly.

\n

Defaults to: Ext.baseCSSPrefix + 'form-readonly'

A JavaScript RegExp object to be tested against the field value during validation. ...

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.

\n
The error text to display if regex is used and the test fails during validation ...

The error text to display if regex is used and the test fails during validation

\n

Defaults to: ''

: \"north\"/\"south\"/\"east\"/\"west\"/\"center\"
Defines the region inside border layout. ...

Defines the region inside border layout.

\n\n

Possible values:

\n\n
    \n
  • north - Positions component at top.
  • \n
  • south - Positions component at bottom.
  • \n
  • east - Positions component at right.
  • \n
  • west - Positions component at left.
  • \n
  • center - Positions component at the remaining space.\nThere must be a component with region: \"center\" in every border layout.
  • \n
\n\n
The data used by renderTpl in addition to the following property values of the component:\n\n\nid\nui\nuiCls\nbaseCls\ncompo...

The data used by renderTpl in addition to the following property values of the component:

\n\n
    \n
  • id
  • \n
  • ui
  • \n
  • uiCls
  • \n
  • baseCls
  • \n
  • componentCls
  • \n
  • frame
  • \n
\n\n\n

See renderSelectors and childEls for usage examples.

\n
An object containing properties specifying DomQuery selectors which identify child elements\ncreated by the render pro...

An object containing properties specifying DomQuery selectors which identify child elements\ncreated by the render process.

\n\n

After 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.

\n\n

For example, a Component which renders a title and description into its element:

\n\n
Ext.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\n

For 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.

\n
Specify the id of the element, a DOM element or an existing Element that this component will be rendered into. ...

Specify the id of the element, a DOM element or an existing Element that this component will be rendered into.

\n\n

Notes:

\n\n

Do 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\n

When using this config, a call to render() is not required.

\n\n

See also: render.

\n

Available since: 2.3.0

\n
An XTemplate used to create the internal structure inside this Component's encapsulating\nElement. ...

An XTemplate used to create the internal structure inside this Component's encapsulating\nElement.

\n\n

You 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 Ext JS and Sencha Touch\nclasses which use a more complex DOM structure, provide their own template definitions.

\n\n

This is intended to allow the developer to create application-specific utility Components with customized\ninternal structure.

\n\n

Upon rendering, any created child elements may be automatically imported into object properties using the\nrenderSelectors and childEls options.

\n

Defaults to: '{%this.renderContent(out,values)%}'

true to attach a click repeater to the trigger. ...

true to attach a click repeater to the trigger.

\n

Defaults to: false

The CSS class to apply to a required field, i.e. ...

The CSS class to apply to a required field, i.e. a field where allowBlank is false.

\n

Defaults to: 'x-form-required-field'

Specify as true to apply a Resizer to this Component after rendering. ...

Specify as true to apply a Resizer to this Component after rendering.

\n\n

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

\n
A valid Ext.resizer.Resizer handles config string. ...

A valid Ext.resizer.Resizer handles config string. Only applies when resizable = true.

\n

Defaults to: 'all'

True to layout this component and its descendants in \"rtl\" (right-to-left) mode. ...

True to layout this component and its descendants in \"rtl\" (right-to-left) mode.\nCan be explicitly set to false to override a true value inherited from an ancestor.

\n\n

Defined in override Ext.rtl.AbstractComponent.

\n
A buffer to be applied if many state events are fired within a short period. ...

A buffer to be applied if many state events are fired within a short period.

\n

Defaults to: 100

true to select any existing text in the field immediately on focus. ...

true to select any existing text in the field immediately on focus. Only applies when\neditable = true

\n

Defaults to: false

Overrides: Ext.form.field.Text.selectOnFocus

Specifies whether the floating component should be given a shadow. ...

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.

\n

Defaults to: 'sides'

Number of pixels to offset the shadow.

\n

Number of pixels to offset the shadow.

\n
If this property is a number, it is interpreted as follows:\n\n\n0: Neither width nor height depend on content. ...

If this property is a number, it is interpreted as follows:

\n\n
    \n
  • 0: Neither width nor height depend on content. This is equivalent to false.
  • \n
  • 1: Width depends on content (shrink wraps), but height does not.
  • \n
  • 2: Height depends on content (shrink wraps), but width does not. The default.
  • \n
  • 3: Both width and height depend on content (shrink wrap). This is equivalent to true.
  • \n
\n\n\n

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).

\n

Defaults to: 2

An initial value for the 'size' attribute on the text input element. ...

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.

\n

Defaults to: 20

An array of events that, when fired, should trigger this object to\nsave its state. ...

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']).

\n\n\n

See stateful for an explanation of saving and\nrestoring object state.

\n\n
The unique id for this object to use for state management purposes. ...

The unique id for this object to use for state management purposes.

\n\n

See stateful for an explanation of saving and restoring state.

\n\n
A flag which causes the object to attempt to restore the state of\ninternal properties from a saved state on startup. ...

A 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\n

Auto-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\n

For 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\n

To set the state provider for the current page:

\n\n

Ext.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\n

A stateful object attempts to save state when one of the events\nlisted in the stateEvents configuration fires.

\n\n

To save state, a stateful object first serializes its state by\ncalling getState.

\n\n

The 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\n

The Panel class saves its collapsed state in addition to that.

\n\n

The Grid class saves its column state in addition to its superclass state.

\n\n

If 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\n

The 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\n

During construction, a stateful object attempts to restore its state by calling\nExt.state.Manager.get passing the stateId

\n\n

The 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\n

You can perform extra processing on state save and restore by attaching\nhandlers to the beforestaterestore, staterestore,\nbeforestatesave and statesave events.

\n

Defaults to: false

A JavaScript RegExp object used to strip unwanted content from the value\nduring input. ...

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.

\n
A custom style specification to be applied to this component's Element. ...

A custom style specification to be applied to this component's Element. Should be a valid argument to\nExt.Element.applyStyles.

\n\n
new 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
\n

Available since: 1.1.0

\n
Setting this to false will prevent the field from being submitted even when it is\nnot disabled. ...

Setting this to false will prevent the field from being submitted even when it is\nnot disabled.

\n

Defaults to: true

The tabIndex for this field. ...

The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via\napplyTo

\n
True to automatically call toFront when the show method is called on an already visible,\nfloating component. ...

True to automatically call toFront when the show method is called on an already visible,\nfloating component.

\n

Defaults to: true

An Ext.Template, Ext.XTemplate or an array of strings to form an Ext.XTemplate. ...

An Ext.Template, Ext.XTemplate or an array of strings to form an Ext.XTemplate. Used in\nconjunction with the data and tplWriteMode configurations.

\n

Available since: 3.4.0

\n
The Ext.(X)Template method to use when updating the content area of the Component. ...

The Ext.(X)Template method to use when updating the content area of the Component.\nSee Ext.XTemplate.overwrite for information on default mode.

\n

Defaults to: 'overwrite'

Available since: 3.4.0

\n
The base CSS class that is always added to the trigger button. ...

The base CSS class that is always added to the trigger button. The triggerCls will be appended in\naddition to this class.

\n

Defaults to: Ext.baseCSSPrefix + 'form-trigger'

An additional CSS class used to style the trigger button. ...

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.

\n
The CSS class that is added to the text field when component is read-only or not editable. ...

The CSS class that is added to the text field when component is read-only or not editable.

\n

Defaults to: Ext.baseCSSPrefix + 'trigger-noedit'

The CSS class that is added to the div wrapping the trigger button(s). ...

The CSS class that is added to the div wrapping the trigger button(s).

\n

Defaults to: Ext.baseCSSPrefix + 'form-trigger-wrap'

A UI style for a component. ...

A UI style for a component.

\n

Defaults to: 'default'

An array of of classNames which are currently applied to this component. ...

An array of of classNames which are currently applied to this component.

\n

Defaults to: []

Specify as true to modify the behaviour of allowBlank so that blank values are not passed as valid, but are subject t...

Specify as true to modify the behaviour of allowBlank so that blank values are not passed as valid, but are subject to any configure vtype validation.

\n

Defaults to: false

Whether the field should validate when it loses focus. ...

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.

\n

Defaults to: true

Specifies whether this field should be validated immediately whenever a change in its value is detected. ...

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\n

When 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\n

See also Ext.form.field.Base.checkChangeEvents for controlling how changes to the field's value are\ndetected.

\n

Defaults to: true

A custom validation function to be called during field validation (getErrors). ...

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\n

This function will be passed the following parameters:

\n

Parameters

  • value : Object

    The current field value

    \n

Returns

  • Boolean/String
      \n
    • True if the value is valid
    • \n
    • An error message if the value is invalid
    • \n
    \n\n

A value to initialize this field with.

\n

A value to initialize this field with.

\n

A validation type name as defined in Ext.form.field.VTypes

\n

A validation type name as defined in Ext.form.field.VTypes

\n
A custom error message to display in place of the default message provided for the vtype currently\nset for this field. ...

A custom error message to display in place of the default message provided for the vtype currently\nset for this field. Note: only applies if vtype is set, else ignored.

\n

The width of this component in pixels.

\n

The width of this component in pixels.

\n
This property provides a shorter alternative to creating objects than using a full\nclass name. ...

This 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:

\n\n
 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\n

But by using xtype, the above becomes:

\n\n
 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\n

When 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:

\n\n
 defaultType: 'textfield',\n items: [\n     { fieldLabel: 'Foo' },\n     { fieldLabel: 'Bar' },\n     { fieldLabel: 'Num', xtype: 'numberfield' }\n ]\n
\n\n

Each 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:

\n\n
 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\n

This 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.

\n\n

You can define your own xtype on a custom component by specifying\nthe xtype property in Ext.define. For example:

\n\n
Ext.define('MyApp.PressMeButton', {\n    extend: 'Ext.button.Button',\n    xtype: 'pressmebutton',\n    text: 'Press Me'\n});\n
\n\n

Care 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.

\n\n
Ext.define('Foo.form.CoolButton', {\n    extend: 'Ext.button.Button',\n    xtype: 'ux-coolbutton',\n    text: 'Cool!'\n});\n
\n\n

See Ext.enums.Widget for list of all available xtypes.

\n

Available since: 2.3.0

\n

Properties

Defined By

Instance Properties

...
\n

Defaults to: 'Ext.Base'

...
\n

Defaults to: /^([a-z]+)-([a-z]+)(\\?)?$/

Setting this property to true causes the isLayoutRoot method to return\ntrue and stop the search for the top-most comp...

Setting this property to true causes the isLayoutRoot method to return\ntrue and stop the search for the top-most component for a layout.

\n

Defaults to: false

...
\n

Defaults to: ['position', 'top', 'left']

...
\n

Defaults to: {tag: 'table', cellpadding: 0}

true indicates an id was auto-generated rather than provided by configuration. ...

true indicates an id was auto-generated rather than provided by configuration.

\n

Defaults to: false

The div Element wrapping the component's contents. ...

The div Element wrapping the component's contents. Only available after the component has been rendered.

\n
private ...

private

\n

Defaults to: Ext.baseCSSPrefix + 'border-box'

...
\n

Defaults to: []

A reference to the trigger Button component created for this upload field. ...

A reference to the trigger Button component created for this upload field. Only populated after this component is\nrendered.

\n
Ext.form.field.File
view source
: Arrayprivate
private. ...

private. Extract the file element, button outer element, and button active element.

\n

Defaults to: ['browseButtonWrap']

Overrides: Ext.form.field.Trigger.childEls

The number of component layout calls made on this object. ...

The number of component layout calls made on this object.

\n

Defaults to: 0

...
\n

Defaults to: {}

The name of the padding property that is used by the layout to manage\npadding. ...

The name of the padding property that is used by the layout to manage\npadding. See managePadding

\n

Defaults to: 'padding'

By default this method does nothing but return the position spec passed to it. ...

By default this method does nothing but return the position spec passed to it. In\nrtl mode it is overridden to convert \"l\" to \"r\" and vice versa when required.

\n
...
\n

Defaults to: 'autocomponent'

Indicates whether or not the component can be dragged. ...

Indicates whether or not the component can be dragged.

\n

Defaults to: false

The div Element that will contain the component's error message(s). ...

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.

\n
Initial suspended call count. ...

Initial suspended call count. Incremented when suspendEvents is called, decremented when resumeEvents is called.

\n

Defaults to: 0

Ext.form.field.File
view source
: Stringprivate
private ...

private

\n

Defaults to: Ext.baseCSSPrefix + 'form-file-wrap'

Ext.form.field.File
view source
: Ext.Element
A reference to the invisible file input element created for this upload field. ...

A reference to the invisible file input element created for this upload field. Only populated after this\ncomponent is rendered.

\n
Only present for floating Components which were inserted as child items of Containers. ...

Only present for floating Components which were inserted as child items of Containers.

\n\n

There are other similar relationships such as the button which activates a menu, or the\nmenu item which activated a submenu, or the\ncolumn header which activated the column menu.

\n\n

These differences are abstracted away by the up method.

\n\n

Floating Components that are programatically rendered will not have a floatParent\nproperty.

\n\n

See floating and zIndexManager

\n
...
\n

Defaults to: Ext.baseCSSPrefix + 'frame'

...
\n

Defaults to: ['TL', 'TC', 'TR', 'ML', 'MC', 'MR', 'BL', 'BC', 'BR']

...
\n

Defaults to: ['tl', 'tc', 'tr', 'ml', 'mc', 'mr', 'bl', 'bc', 'br']

...
\n

Defaults to: /[\\-]frame\\d+[TMB][LCR]$/

Cache the frame information object so as not to cause style recalculations ...

Cache the frame information object so as not to cause style recalculations

\n

Defaults to: {}

Indicates the width of any framing elements which were added within the encapsulating\nelement to provide graphical, r...

Indicates the width of any framing elements which were added within the encapsulating\nelement to provide graphical, rounded borders. See the frame config. This\nproperty is null if the component is not framed.

\n\n

This is an object containing the frame width in pixels for all four sides of the\nComponent containing the following properties:

\n
  • top : Number (optional)

    The width of the top framing element in pixels.

    \n

    Defaults to: 0

  • right : Number (optional)

    The width of the right framing element in pixels.

    \n

    Defaults to: 0

  • bottom : Number (optional)

    The width of the bottom framing element in pixels.

    \n

    Defaults to: 0

  • left : Number (optional)

    The width of the left framing element in pixels.

    \n

    Defaults to: 0

  • width : Number (optional)

    The total width of the left and right framing elements in pixels.

    \n

    Defaults to: 0

  • height : Number (optional)

    The total height of the top and right bottom elements in pixels.

    \n

    Defaults to: 0

...
\n

Defaults to: ['{%this.renderDockedItems(out,values,0);%}', '<tpl if="top">', '<tpl if="left"><div id="{fgid}TL" class="{frameCls}-tl {baseCls}-tl {baseCls}-{ui}-tl<tpl for="uiCls"> {parent.baseCls}-{parent.ui}-{.}-tl</tpl>{frameElCls}" role="presentation"></tpl>', '<tpl if="right"><div id="{fgid}TR" class="{frameCls}-tr {baseCls}-tr {baseCls}-{ui}-tr<tpl for="uiCls"> {parent.baseCls}-{parent.ui}-{.}-tr</tpl>{frameElCls}" role="presentation"></tpl>', '<div id="{fgid}TC" class="{frameCls}-tc {baseCls}-tc {baseCls}-{ui}-tc<tpl for="uiCls"> {parent.baseCls}-{parent.ui}-{.}-tc</tpl>{frameElCls}" role="presentation"></div>', '<tpl if="right"></div></tpl>', '<tpl if="left"></div></tpl>', '</tpl>', '<tpl if="left"><div id="{fgid}ML" class="{frameCls}-ml {baseCls}-ml {baseCls}-{ui}-ml<tpl for="uiCls"> {parent.baseCls}-{parent.ui}-{.}-ml</tpl>{frameElCls}" role="presentation"></tpl>', '<tpl if="right"><div id="{fgid}MR" class="{frameCls}-mr {baseCls}-mr {baseCls}-{ui}-mr<tpl for="uiCls"> {parent.baseCls}-{parent.ui}-{.}-mr</tpl>{frameElCls}" role="presentation"></tpl>', '<div id="{fgid}MC" class="{frameCls}-mc {baseCls}-mc {baseCls}-{ui}-mc<tpl for="uiCls"> {parent.baseCls}-{parent.ui}-{.}-mc</tpl>{frameElCls}" role="presentation">', '{%this.applyRenderTpl(out, values)%}', '</div>', '<tpl if="right"></div></tpl>', '<tpl if="left"></div></tpl>', '<tpl if="bottom">', '<tpl if="left"><div id="{fgid}BL" class="{frameCls}-bl {baseCls}-bl {baseCls}-{ui}-bl<tpl for="uiCls"> {parent.baseCls}-{parent.ui}-{.}-bl</tpl>{frameElCls}" role="presentation"></tpl>', '<tpl if="right"><div id="{fgid}BR" class="{frameCls}-br {baseCls}-br {baseCls}-{ui}-br<tpl for="uiCls"> {parent.baseCls}-{parent.ui}-{.}-br</tpl>{frameElCls}" role="presentation"></tpl>', '<div id="{fgid}BC" class="{frameCls}-bc {baseCls}-bc {baseCls}-{ui}-bc<tpl for="uiCls"> {parent.baseCls}-{parent.ui}-{.}-bc</tpl>{frameElCls}" role="presentation"></div>', '<tpl if="right"></div></tpl>', '<tpl if="left"></div></tpl>', '</tpl>', '{%this.renderDockedItems(out,values,1);%}']

private ...

private

\n

Defaults to: false

This object holds a key for any event that has a listener. ...

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\n

The 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
\n
...
\n

Defaults to: ['<tpl if="errors && errors.length">', '<ul class="{listCls}"><tpl for="errors"><li role="alert">{.}</li></tpl></ul>', '</tpl>']

...
\n

Defaults to: []

...
\n

Defaults to: {}

A reference to the TD element wrapping the input element. ...

A reference to the TD element wrapping the input element. Only set after the field has been rendered.

\n
The input Element for this Field. ...

The input Element for this Field. Only available after the field has been rendered.

\n
private ...

private

\n

Defaults to: Ext.baseCSSPrefix + 'form-item-input-row'

...
\n

Defaults to: true

true in this class to identify an object as an instantiated Component, or subclass thereof. ...

true in this class to identify an object as an instantiated Component, or subclass thereof.

\n

Defaults to: true

Flag denoting that this object is labelable as a field. ...

Flag denoting that this object is labelable as a field. Always true.

\n

Defaults to: true

Flag denoting that this component is a Field. ...

Flag denoting that this component is a Field. Always true.

\n

Defaults to: true

...
\n

Defaults to: true

true in this class to identify an object as an instantiated Observable, or subclass thereof. ...

true in this class to identify an object as an instantiated Observable, or subclass thereof.

\n

Defaults to: true

The <TD> Element which contains the label Element for this component. ...

The <TD> Element which contains the label Element for this component. Only available after the component has been rendered.

\n
The label Element for this component. ...

The label Element for this component. Only available after the component has been rendered.

\n
...
\n

Defaults to: ['beforeBodyEl', 'afterBodyEl', 'beforeLabelTpl', 'afterLabelTpl', 'beforeSubTpl', 'afterSubTpl', 'beforeLabelTextTpl', 'afterLabelTextTpl', 'labelAttrTpl']

This is an array to avoid a split on every call to Ext.copyTo ...

This is an array to avoid a split on every call to Ext.copyTo

\n

Defaults to: ['allowBlank', 'id', 'labelAlign', 'fieldBodyCls', 'extraFieldBodyCls', 'baseBodyCls', 'clearCls', 'labelSeparator', 'msgTarget', 'inputRowCls']

This is an internal flag that you use when creating custom components. ...

This 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.

\n

Defaults to: false

Overrides: Ext.AbstractComponent.maskOnDisable

...
\n

Defaults to: false

Tells the layout system that the height can be measured immediately because the width does not need setting. ...

Tells the layout system that the height can be measured immediately because the width does not need setting.

\n

Defaults to: true

...
\n

Defaults to: Ext.baseCSSPrefix + 'hide-offsets'

The original value of the field as configured in the value configuration, or as loaded by the last\nform load operatio...

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.

\n
This Component's owner Container (is set automatically\nwhen this Component is added to a Container). ...

This Component's owner Container (is set automatically\nwhen this Component is added to a Container).

\n\n

Important. This is not a universal upwards navigation pointer. It indicates the Container which owns and manages\nthis Component if any. There are other similar relationships such as the button which activates a menu, or the\nmenu item which activated a submenu, or the\ncolumn header which activated the column menu.

\n\n

These differences are abstracted away by the up method.

\n\n

Note: to access items within the Container see itemId.

\n

Available since: 2.3.0

\n
...
\n

Defaults to: ['<tpl if="errors && errors.length">', '<tpl for="errors"><tpl if="xindex &gt; 1">\\n</tpl>{.}</tpl>', '</tpl>']

Indicates whether or not the component has been rendered. ...

Indicates whether or not the component has been rendered.

\n

Defaults to: false

Available since: 1.1.0

\n
An object property which provides unified information as to which dimensions are scrollable based upon\nthe autoScroll...

An object property which provides unified information as to which dimensions are scrollable based upon\nthe autoScroll, overflowX and overflowY settings (And for views of trees and grids, the owning panel's scroll setting).

\n\n

Note that if you set overflow styles using the style config or bodyStyle config, this object does not include that information;\nit is best to use autoScroll, overflowX and overflowY if you need to access these flags.

\n\n

This object has the following properties:

\n
  • x : Boolean

    true if this Component is scrollable horizontally - style setting may be 'auto' or 'scroll'.

    \n
  • y : Boolean

    true if this Component is scrollable vertically - style setting may be 'auto' or 'scroll'.

    \n
  • both : Boolean

    true if this Component is scrollable both horizontally and vertically.

    \n
  • overflowX : String

    The overflow-x style setting, 'auto' or 'scroll' or ''.

    \n
  • overflowY : String

    The overflow-y style setting, 'auto' or 'scroll' or ''.

    \n
Get the reference to the current class from which this object was instantiated. ...

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

\n\n
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
\n
Instructs the layout to stretch the inputEl to 100% width when laying\nout under fixed conditions. ...

Instructs the layout to stretch the inputEl to 100% width when laying\nout under fixed conditions. Defaults to true for all fields except check/radio\nDoesn't seem worth it to introduce a whole new layout class just for this flag

\n

Defaults to: true

...
\n

Defaults to: ['inputAttrTpl']

A composite of all the trigger button elements. ...

A composite of all the trigger button elements. Only set after the field has been rendered.

\n
...
\n

Defaults to: /trigger-index-(\\d+)/

Ext.form.field.File
view source
: Stringprivate
Do not show hand pointer over text field since file choose dialog is only shown when clicking in the button ...

Do not show hand pointer over text field since file choose dialog is only shown when clicking in the button

\n

Defaults to: ''

Width of the trigger element. ...

Width 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.)

\n
A reference to the TABLE element which encapsulates the input field and all trigger button(s). ...

A reference to the TABLE element which encapsulates the input field and all trigger button(s). Only set after the field has been rendered.

\n
private ...

private

\n

Defaults to: false

Only present for floating Components after they have been rendered. ...

Only present for floating Components after they have been rendered.

\n\n

A reference to the ZIndexManager which is managing this Component's z-index.

\n\n

The 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\n

Floating Components may be brought to the front or sent to the back of the\nz-index stack.

\n\n

This defaults to the global ZIndexManager for floating Components that are\nprogramatically rendered.

\n\n

For 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\n

See floating and zIndexParent

\n
Only present for floating Components which were inserted as child items of Containers, and which have a floating\nCont...

Only present for floating Components which were inserted as child items of Containers, and which have a floating\nContainer in their containment ancestry.

\n\n

For 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\n

Floating Components that are programatically rendered will not have a zIndexParent\nproperty.

\n\n

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.

\n\n

See floating and zIndexManager

\n
Defined By

Static Properties

...
\n

Defaults to: []

Methods

Defined By

Instance Methods

Creates new Component. ...

Creates new Component.

\n

Parameters

  • config : Ext.Element/String/Object

    The configuration options may be specified as either:

    \n\n\n\n\n
      \n
    • an element : it is set as the internal element and its id used as the component id
    • \n
    • a string : it is assumed to be the id of an existing element and is used as the component id
    • \n
    • anything else : it is assumed to be a standard config object and is applied to the component
    • \n
    \n\n\n\n

Returns

Overrides: Ext.AbstractComponent.constructor

Adds each argument passed to this method to the childEls array. ...

Adds each argument passed to this method to the childEls array.

\n
Adds a CSS class to the top level element representing this component. ...

Adds a CSS class to the top level element representing this component.

\n
\n

This method has been deprecated since 4.1

\n

Use addCls instead.

\n\n
\n

Available since: 2.3.0

\n

Parameters

Returns

Adds a CSS class to the top level element representing this component. ...

Adds a CSS class to the top level element representing this component.

\n

Parameters

Returns

Adds a cls to the uiCls array, which will also call addUIClsToElement and adds to all elements of this\ncomponent. ...

Adds a cls to the uiCls array, which will also call addUIClsToElement and adds to all elements of this\ncomponent.

\n

Parameters

  • classes : String/String[]

    A string or an array of strings to add to the uiCls.

    \n
  • skip : Object

    (Boolean) skip true to skip adding it to the class and do it later (via the return).

    \n
Adds the specified events to the list of events which this Observable may fire. ...

Adds the specified events to the list of events which this Observable may fire.

\n

Parameters

  • eventNames : Object/String...

    Either an object with event names as properties with\na value of true. For example:

    \n\n
    this.addEvents({\n    storeloaded: true,\n    storecleared: true\n});\n
    \n\n

    Or any number of event names as separate parameters. For example:

    \n\n
    this.addEvents('storeloaded', 'storecleared');\n
    \n
Sets up the focus listener on this Component's focusEl if it has one. ...

Sets up the focus listener on this Component's focusEl if it has one.

\n\n

Form 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 receiving focus which drives\nthe Component's onFocus handling, and the DOM event of it being blurred which drives the onBlur handling.

\n\n

If the focusEl is not naturally focusable, then the listeners are only added\nif the FocusManager is enabled.

\n
( eventName, [fn], [scope], [options] ) : Object
Appends an event handler to this object. ...

Appends an event handler to this object. For example:

\n\n
myGridPanel.on(\"mouseover\", this.onMouseOver, this);\n
\n\n

The method also allows for a single argument to be passed which is a config object\ncontaining properties which specify multiple events. For example:

\n\n
myGridPanel.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\n

One can also specify options for each event handler separately:

\n\n
myGridPanel.on({\n    cellClick: {fn: this.onCellClick, scope: this, single: true},\n    mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n
\n\n

Names of methods in a specified scope may also be used. Note that\nscope MUST be specified to use this option:

\n\n
myGridPanel.on({\n    cellClick: {fn: 'onCellClick', scope: this, single: true},\n    mouseover: {fn: 'onMouseOver', scope: panel}\n});\n
\n

Parameters

  • eventName : String/Object

    The name of the event to listen for.\nMay also be an object who's property names are event names.

    \n
  • fn : Function (optional)

    The 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 Ext.util.Observable.fireEvent plus the options parameter described below.

    \n
  • scope : Object (optional)

    The scope (this reference) in which the handler function is\nexecuted. If omitted, defaults to the object which fired the event.

    \n
  • options : Object (optional)

    An object containing handler configuration.

    \n\n

    Note: Unlike in ExtJS 3.x, the options object will also be passed as the last\nargument to every event handler.

    \n\n

    This object may contain any of the following properties:

    \n
    • scope : Object

      The scope (this reference) in which the handler function is executed. If omitted,\n defaults to the object which fired the event.

      \n
    • delay : Number

      The number of milliseconds to delay the invocation of the handler after the event fires.

      \n
    • single : Boolean

      True to add a handler to handle just the next firing of the event, and then remove itself.

      \n
    • buffer : Number

      Causes 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
    • target : Ext.util.Observable

      Only 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
    • element : String

      This 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

      This 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
        new Ext.panel.Panel({\n      title: 'The title',\n      listeners: {\n          click: this.handlePanelClick,\n          element: 'body'\n      }\n  });\n
      \n
    • destroyable : Boolean (optional)

      When specified as true, the function returns A Destroyable object. An object which implements the destroy method which removes all listeners added in this call.

      \n

      Defaults to: false

    • priority : Number (optional)

      An optional numeric priority that determines the order in which event handlers\n are run. Event handlers with no priority will be run as if they had a priority\n of 0. Handlers with a higher priority will be prioritized to run sooner than\n those with a lower priority. Negative numbers can be used to set a priority\n lower than the default. Internally, the framework uses a range of 1000 or\n greater, and -1000 or lesser for handers that are intended to run before or\n after all others, so it is recommended to stay within the range of -999 to 999\n when setting the priority of event handlers in application-level code.

      \n\n

      Combining Options

      \n\n

      Using the options argument, it is possible to combine different types of listeners:

      \n\n

      A delayed, one-time listener.

      \n\n
      myPanel.on('hide', this.handleClick, this, {\n    single: true,\n    delay: 100\n});\n
      \n

Returns

  • Object

    Only when the destroyable option is specified.

    \n\n

    A Destroyable object. An object which implements the destroy method which removes all listeners added in this call. For example:

    \n\n
    this.btnListeners =  = myButton.on({\n    destroyable: true\n    mouseover:   function() { console.log('mouseover'); },\n    mouseout:    function() { console.log('mouseout'); },\n    click:       function() { console.log('click'); }\n});\n
    \n\n

    And when those listeners need to be removed:

    \n\n
    Ext.destroy(this.btnListeners);\n
    \n\n

    or

    \n\n
    this.btnListeners.destroy();\n
    \n

Overrides: Ext.util.Observable.addListener

( item, ename, [fn], [scope], [options] ) : Object
Adds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestr...

Adds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestroyed.

\n

Parameters

  • item : Ext.util.Observable/Ext.Element

    The item to which to add a listener/listeners.

    \n\n
  • ename : Object/String

    The event name, or an object containing event name properties.

    \n\n
  • fn : Function (optional)

    If the ename parameter was an event name, this is the handler function.

    \n\n
  • scope : Object (optional)

    If the ename parameter was an event name, this is the scope (this reference)\nin which the handler function is executed.

    \n\n
  • options : Object (optional)

    If the ename parameter was an event name, this is the\naddListener options.

    \n\n

Returns

  • Object

    Only when the destroyable option is specified.

    \n\n\n\n\n

    A Destroyable object. An object which implements the destroy method which removes all listeners added in this call. For example:

    \n\n\n\n\n
    this.btnListeners =  = myButton.mon({\n    destroyable: true\n    mouseover:   function() { console.log('mouseover'); },\n    mouseout:    function() { console.log('mouseout'); },\n    click:       function() { console.log('click'); }\n});\n
    \n\n\n\n\n

    And when those listeners need to be removed:

    \n\n\n\n\n
    Ext.destroy(this.btnListeners);\n
    \n\n\n\n\n

    or

    \n\n\n\n\n
    this.btnListeners.destroy();\n
    \n\n
Adds a plugin. ...

Adds a plugin. May be called at any time in the component's lifecycle.

\n

Parameters

( state, propName, [value] ) : Booleanprotected
Save a property to the given state object if it is not its default or configured\nvalue. ...

Save a property to the given state object if it is not its default or configured\nvalue.

\n

Parameters

  • state : Object

    The state object.

    \n
  • propName : String

    The name of the property on this object to save.

    \n
  • value : String (optional)

    The value of the state property (defaults to this[propName]).

    \n

Returns

  • Boolean

    The state object or a new object if state was null and the property\nwas saved.

    \n
Add events that will trigger the state to be saved. ...

Add 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.

\n

Parameters

  • events : String/String[]

    The event name or an array of event names.

    \n
Method which adds a specified UI + uiCls to the components element. ...

Method which adds a specified UI + uiCls to the components element. Can be overridden to remove the UI from more\nthan just the components element.

\n

Parameters

  • ui : String

    The UI to remove from the element.

    \n
Method which adds a specified UI to the components element. ...

Method which adds a specified UI to the components element.

\n
private ==> used outside of core\nTODO: currently only used by ToolTip. ...

private ==> used outside of core\nTODO: currently only used by ToolTip. does this method belong here?

\n

Parameters

...
\n

Parameters

( width, height, oldWidth, oldHeight )protectedtemplate
Called by the layout system after the Component has been laid out. ...

Called by the layout system after the Component has been laid out.

\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.

\n
\n

Parameters

  • width : Number

    The width that was set

    \n\n
  • height : Number

    The height that was set

    \n\n
  • oldWidth : Number/undefined

    The old width, or undefined if this was the initial layout.

    \n\n
  • oldHeight : Number/undefined

    The old height, or undefined if this was the initial layout.

    \n\n

Overrides: Ext.Component.afterComponentLayout

( [callback], [scope] )protectedtemplate
Invoked after the Component has been hidden. ...

Invoked after the Component has been hidden.

\n\n

Gets passed the same callback and scope parameters that onHide received.

\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.

\n
\n

Parameters

Allows addition of behavior after rendering is complete. ...

Allows 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.

\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.

\n
\n

Overrides: Ext.Component.afterRender

Template method called after a Component has been positioned. ...

Template method called after a Component has been positioned.

\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.

\n
\n

Parameters

Overrides: Ext.AbstractComponent.afterSetPosition

( [animateTarget], [callback], [scope] )protectedtemplate
Invoked after the Component is shown (after onShow is called). ...

Invoked after the Component is shown (after onShow is called).

\n\n

Gets passed the same parameters as show.

\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.

\n
\n

Parameters

( element, [position], [offsets], [animate] ) : Ext.util.Positionablechainable
Aligns the element with another element relative to the specified anchor points. ...

Aligns the element with another element relative to the specified anchor points. If\nthe other element is the document it aligns it to the viewport. The position\nparameter is optional, and can be specified in any one of the following formats:

\n\n
    \n
  • Blank: Defaults to aligning the element's top-left corner to the target's\nbottom-left corner (\"tl-bl\").
  • \n
  • One anchor (deprecated): The passed anchor position is used as the target\nelement's anchor point. The element being aligned will position its top-left\ncorner (tl) to that point. This method has been deprecated in favor of the newer\ntwo anchor syntax below.
  • \n
  • Two anchors: If two values from the table below are passed separated by a dash,\nthe first value is used as the element's anchor point, and the second value is\nused as the target's anchor point.
  • \n
\n\n\n

In addition to the anchor points, the position parameter also supports the \"?\"\ncharacter. If \"?\" is passed at the end of the position string, the element will\nattempt to align as specified, but the position will be adjusted to constrain to\nthe viewport if necessary. Note that the element being aligned might be swapped to\nalign to a different position than that specified in order to enforce the viewport\nconstraints. Following are all of the supported anchor positions:

\n\n
Value  Description\n-----  -----------------------------\ntl     The top left corner (default)\nt      The center of the top edge\ntr     The top right corner\nl      The center of the left edge\nc      In the center of the element\nr      The center of the right edge\nbl     The bottom left corner\nb      The center of the bottom edge\nbr     The bottom right corner\n
\n\n\n

Example Usage:

\n\n
// align el to other-el using the default positioning\n// (\"tl-bl\", non-constrained)\nel.alignTo(\"other-el\");\n\n// align the top left corner of el with the top right corner of other-el\n// (constrained to viewport)\nel.alignTo(\"other-el\", \"tr?\");\n\n// align the bottom right corner of el with the center left edge of other-el\nel.alignTo(\"other-el\", \"br-l?\");\n\n// align the center of el with the bottom left corner of other-el and\n// adjust the x position by -6 pixels (and the y position by 0)\nel.alignTo(\"other-el\", \"c-bl\", [-6, 0]);\n
\n

Parameters

  • element : Ext.util.Positionable/HTMLElement/String

    The Positionable,\nHTMLElement, or id of the element to align to.

    \n
  • position : String (optional)

    The position to align to

    \n

    Defaults to: "tl-bl?"

  • offsets : Number[] (optional)

    Offset the positioning by [x, y]

    \n
  • animate : Boolean/Object (optional)

    true for the default animation or a standard\nElement animation config object

    \n

Returns

( element, [position], [offsets], [animate], [monitorScroll], [callback] ) : Ext.util.Positionablechainable
Anchors an element to another element and realigns it when the window is resized. ...

Anchors an element to another element and realigns it when the window is resized.

\n

Parameters

  • element : Ext.util.Positionable/HTMLElement/String

    The Positionable,\nHTMLElement, or id of the element to align to.

    \n
  • position : String (optional)

    The position to align to

    \n

    Defaults to: "tl-bl?"

  • offsets : Number[] (optional)

    Offset the positioning by [x, y]

    \n
  • animate : Boolean/Object (optional)

    true for the default animation or a standard\nElement animation config object

    \n
  • monitorScroll : Boolean/Number (optional)

    True to monitor body scroll and\nreposition. If this parameter is a number, it is used as the buffer delay in\nmilliseconds.

    \n

    Defaults to: 50

  • callback : Function (optional)

    The function to call after the animation finishes

    \n

Returns

process the passed fx configuration. ...
    \n
  • process the passed fx configuration.
  • \n
\n\n

Parameters

Performs custom animation on this object. ...

Performs custom animation on this object.

\n\n

This 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\n

Animating a Component

\n\n

When animating a Component, the following properties may be specified in from, to, and keyframe objects:

\n\n
    \n
  • x - The Component's page X position in pixels.

  • \n
  • y - The Component's page Y position in pixels

  • \n
  • left - The Component's left value in pixels.

  • \n
  • top - The Component's top value in pixels.

  • \n
  • width - The Component's width value in pixels.

  • \n
  • height - The Component's height value in pixels.

  • \n
  • 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.

  • \n
\n\n\n

For example, to animate a Window to a new size, ensuring that its internal layout and any shadow is correct:

\n\n
myWindow = 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\n

For 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.

\n

Parameters

Returns

Overrides: Ext.util.Animate.animate

Sets references to elements inside the component. ...

Sets references to elements inside the component.

\n

Parameters

Sets references to elements inside the component. ...

Sets references to elements inside the component. This applies renderSelectors\nas well as childEls.

\n

Overrides: Ext.util.Renderable.applyRenderSelectors

Applies the state to the object. ...

Applies 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.

\n

Parameters

Overrides: Ext.state.Stateful.applyState

A utility for grouping a set of modifications which may trigger value changes into a single transaction, to\nprevent e...

A 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.

\n

Parameters

  • fn : Object

    A function containing the transaction code

    \n
Template method to do any pre-blur processing. ...

Template method to do any pre-blur processing.

\n

Parameters

( adjWidth, adjHeight )protectedtemplate
Occurs before componentLayout is run. ...

Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout from\nbeing executed.

\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.

\n
\n

Parameters

  • adjWidth : Number

    The box-adjusted width that was set.

    \n
  • adjHeight : Number

    The box-adjusted height that was set.

    \n
Invoked before the Component is destroyed. ...

Invoked before the Component is destroyed.

\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.

\n
\n
private\n\nTemplate method to do any pre-focus processing. ...

private

\n\n

Template method to do any pre-focus processing.

\n

Parameters

Overrides: Ext.AbstractComponent.beforeFocus

Occurs before componentLayout is run. ...

Occurs before componentLayout is run. In previous releases, this method could\nreturn false to prevent its layout but that is not supported in Ext JS 4.1 or\nhigher. This method is simply a notification of the impending layout to give the\ncomponent a chance to adjust the DOM. Ideally, DOM reads should be avoided at this\ntime to reduce expensive document reflows.

\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.

\n
\n

Overrides: Ext.AbstractComponent.beforeLayout

Template method before a field is reset. ...

Template method before a field is reset.

\n
Template method called before a Component is positioned. ...

Template method called before a Component is positioned.

\n\n

Ensures that the position is adjusted so that the Component is constrained if so configured.

\n

Parameters

Overrides: Ext.AbstractComponent.beforeSetPosition

Invoked before the Component is shown. ...

Invoked before the Component is shown.

\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.

\n
\n
...
\n

Returns

( fn, [scope], [args] ) : Ext.Componentchainable
Bubbles up the component/container heirarchy, calling the specified function with each component. ...

Bubbles 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.

\n

Parameters

  • fn : Function

    The function to call

    \n
  • scope : Object (optional)

    The scope of the function. Defaults to current node.

    \n
  • args : Array (optional)

    The args to call the function with. Defaults to passing the current component.

    \n

Returns

( [anchor], [extraX], [extraY], [size] ) : Number[]private
Calculates x,y coordinates specified by the anchor position on the element, adding\nextraX and extraY values. ...

Calculates x,y coordinates specified by the anchor position on the element, adding\nextraX and extraY values.

\n

Parameters

  • anchor : String (optional)

    The specified anchor position.\nSee alignTo for details on supported anchor positions.

    \n

    Defaults to: 'tl'

  • extraX : Number (optional)

    value to be added to the x coordinate

    \n
  • extraY : Number (optional)

    value to be added to the y coordinate

    \n
  • size : Object (optional)

    An object containing the size to use for calculating anchor\nposition {width: (target width), height: (target height)} (defaults to the\nelement's current size)

    \n

Returns

  • Number[]

    [x, y] An array containing the element's x and y coordinates

    \n
( [constrainTo], [proposedPosition], [local], [proposedSize] ) : Number[]
Calculates the new [x,y] position to move this Positionable into a constrain region. ...

Calculates the new [x,y] position to move this Positionable into a constrain region.

\n\n

By default, this Positionable is constrained to be within the container it was added to, or the element it was\nrendered to.

\n\n

Priority is given to constraining the top and left within the constraint.

\n\n

An alternative constraint may be passed.

\n

Parameters

  • constrainTo : String/HTMLElement/Ext.Element/Ext.util.Region (optional)

    The Element or Region\ninto which this Component is to be constrained. Defaults to the element into which this Positionable\nwas rendered, or this Component's {@link Ext.Component.constrainTo.

    \n
  • proposedPosition : Number[] (optional)

    A proposed [X, Y] position to test for validity\nand to coerce into constraints instead of using this Positionable's current position.

    \n
  • local : Boolean (optional)

    The proposedPosition is local (relative to floatParent if a floating Component)

    \n
  • proposedSize : Number[] (optional)

    A proposed [width, height] size to use when calculating\nconstraints instead of using this Positionable's current size.

    \n

Returns

  • Number[]

    If the element needs to be translated, the new [X, Y] position within\nconstraints if possible, giving priority to keeping the top and left edge in the constrain region.\nOtherwise, false.

    \n
( args ) : Objectdeprecatedprotected
Call the original method that was previously overridden with override\n\nExt.define('My.Cat', {\n constructor: functi...

Call the original method that was previously overridden with override

\n\n
Ext.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
\n

This method has been deprecated

\n

as of 4.1. Use callParent instead.

\n\n
\n

Parameters

  • args : Array/Arguments

    The arguments, either an array or the arguments object\nfrom the current method, for example: this.callOverridden(arguments)

    \n

Returns

  • Object

    Returns the result of calling the overridden method

    \n
Call the \"parent\" method of the current method. ...

Call 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\n

This 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\n

This 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\n

Lastly, 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
\n\n

To override a method and replace it and also call the superclass method, use\ncallSuper. This is often done to patch a method to fix a bug.

\n

Parameters

  • args : Array/Arguments

    The arguments, either an array or the arguments object\nfrom the current method, for example: this.callParent(arguments)

    \n

Returns

  • Object

    Returns the result of calling the parent method

    \n
This method is used by an override to call the superclass method but bypass any\noverridden method. ...

This method is used by an override to call the superclass method but bypass any\noverridden method. This is often done to \"patch\" a method that contains a bug\nbut for whatever reason cannot be fixed directly.

\n\n

Consider:

\n\n
 Ext.define('Ext.some.Class', {\n     method: function () {\n         console.log('Good');\n     }\n });\n\n Ext.define('Ext.some.DerivedClass', {\n     method: function () {\n         console.log('Bad');\n\n         // ... logic but with a bug ...\n\n         this.callParent();\n     }\n });\n
\n\n

To patch the bug in DerivedClass.method, the typical solution is to create an\noverride:

\n\n
 Ext.define('App.paches.DerivedClass', {\n     override: 'Ext.some.DerivedClass',\n\n     method: function () {\n         console.log('Fixed');\n\n         // ... logic but with bug fixed ...\n\n         this.callSuper();\n     }\n });\n
\n\n

The patch method cannot use callParent to call the superclass method since\nthat would call the overridden method containing the bug. In other words, the\nabove patch would only produce \"Fixed\" then \"Good\" in the console log, whereas,\nusing callParent would produce \"Fixed\" then \"Bad\" then \"Good\".

\n

Parameters

  • args : Array/Arguments

    The arguments, either an array or the arguments object\nfrom the current method, for example: this.callSuper(arguments)

    \n

Returns

  • Object

    Returns the result of calling the superclass method

    \n
Cancel any deferred focus on this component ...

Cancel any deferred focus on this component

\n
...
\n

Parameters

Center this Component in its container. ...

Center this Component in its container.

\n

Returns

Checks whether the value of the field has changed since the last time it was checked. ...

Checks whether the value of the field has changed since the last time it was checked.\nIf the value has changed, it:

\n\n
    \n
  1. Fires the change event,
  2. \n
  3. Performs validation if the validateOnChange config is enabled, firing the\nvaliditychange event if the validity has changed, and
  4. \n
  5. Checks the dirty state of the field and fires the dirtychange event\nif it has changed.
  6. \n
\n\n
Checks the isDirty state of the field and if it has changed since the last time it was checked,\nfires the dirtychange...

Checks the isDirty state of the field and if it has changed since the last time it was checked,\nfires the dirtychange event.

\n
...
\n

Parameters

Clear any invalid styles/messages for this field. ...

Clear any invalid styles/messages for this field.

\n\n

Note: 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.

\n

Overrides: Ext.form.field.Field.clearInvalid

Removes all listeners for this object including the managed listeners ...

Removes all listeners for this object including the managed listeners

\n
Removes all managed listeners for this object. ...

Removes all managed listeners for this object.

\n
Clone the current component using the original config values passed into this instance by default. ...

Clone the current component using the original config values passed into this instance by default.

\n

Parameters

  • overrides : Object

    A 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.

    \n

Returns

...
\n

Parameters

  • ptype : String/Object

    string or config object containing a ptype property.

    \n\n

    Constructs a plugin according to the passed config object/ptype string.

    \n\n

    Ensures that the constructed plugin always has a cmp reference back to this component.\nThe setting up of this is done in PluginManager. The PluginManager ensures that a reference to this\ncomponent is passed to the constructor. It also ensures that the plugin's setCmp method (if any) is called.

    \n
Returns an array of fully constructed plugin instances. ...

Returns an array of fully constructed plugin instances. This converts any configs into their\nappropriate instances.

\n\n

It does not mutate the plugins array. It creates a new array.

\n
( eventName, args, bubbles )private
Continue to fire event. ...

Continue to fire event.

\n

Parameters

Defined in override Ext.rtl.AbstractComponent. ...

Defined in override Ext.rtl.AbstractComponent.

\n

Parameters

Creates an event handling function which refires the event from this object as the passed event name. ...

Creates an event handling function which refires the event from this object as the passed event name.

\n

Parameters

  • newName : String

    The name under which to refire the passed parameters.

    \n
  • beginEnd : Array (optional)

    The caller can specify on which indices to slice.

    \n

Returns

Disable the component. ...

Disable the component.

\n

Available since: 1.1.0

\n

Parameters

  • silent : Boolean (optional)

    Passing true will suppress the disable event from being fired.

    \n

    Defaults to: false

Called from the selected frame generation template to insert this Component's inner structure inside the framing stru...

Called from the selected frame generation template to insert this Component's inner structure inside the framing structure.

\n\n

When 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.

\n

Parameters

Handles autoRender. ...

Handles 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

\n
This method needs to be called whenever you change something on this component that requires the Component's\nlayout t...

This method needs to be called whenever you change something on this component that requires the Component's\nlayout to be recalculated.

\n

Returns

Overrides: Ext.AbstractComponent.doComponentLayout

Moves this floating Component into a constrain region. ...

Moves this floating Component into a constrain region.

\n\n

By default, this Component is constrained to be within the container it was added to, or the element it was\nrendered to.

\n\n

An alternative constraint may be passed.

\n

Parameters

  • constrainTo : String/HTMLElement/Ext.Element/Ext.util.Region (optional)

    The Element or Region\ninto which this Component is to be constrained. Defaults to the element into which this floating Component\nwas rendered.

    \n
...
\n

Parameters

...
\n

Parameters

Enable the component ...

Enable the component

\n

Available since: 1.1.0

\n

Parameters

  • silent : Boolean (optional)

    Passing true will suppress the enable event from being fired.

    \n

    Defaults to: false

Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if\npresent. ...

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.

\n\n

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\n

Example:

\n\n
Ext.define('Ext.overrides.form.field.Base', {\n    override: 'Ext.form.field.Base',\n\n    //  Add functionality to Field's initComponent to enable the change event to bubble\n    initComponent: function () {\n        this.callParent();\n        this.enableBubble('change');\n    }\n});\n\nvar myForm = Ext.create('Ext.form.Panel', {\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
\n

Parameters

  • eventNames : String/String[]

    The event name to bubble, or an Array of event names.

    \n
Ensures that this component is attached to document.body. ...

Ensures 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.

\n

Parameters

  • runLayout : Boolean (optional)

    True to run the component's layout.

    \n

    Defaults to: false

Ext.form.field.File
view source
( ) : HTMLElement
Only relevant if the instance's isFileUpload method returns true. ...

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.

\n

Returns

  • HTMLElement
    \n

Overrides: Ext.form.field.Field.extractFileInput

private ...

private

\n

Parameters

Find a container above this component at any level by a custom function. ...

Find a container above this component at any level by a custom function. If the passed function returns true, the\ncontainer will be returned.

\n\n

See also the up method.

\n

Parameters

  • fn : Function

    The custom function to call with the arguments (container, this component).

    \n

Returns

Find a container above this component at any level by xtype or class\n\nSee also the up method. ...

Find a container above this component at any level by xtype or class

\n\n

See also the up method.

\n

Parameters

  • xtype : String/Ext.Class

    The xtype string for a component, or the class of the component directly

    \n

Returns

Retrieves plugin from this component's collection by its ptype. ...

Retrieves plugin from this component's collection by its ptype.

\n

Parameters

  • ptype : String

    The Plugin's ptype as specified by the class's alias configuration.

    \n

Returns

This method visits the rendered component tree in a \"top-down\" order. ...

This method visits the rendered component tree in a \"top-down\" order. That is, this\ncode runs on a parent component before running on a child. This method calls the\nonRender method of each component.

\n

Parameters

  • containerIdx : Number

    The index into the Container items of this Component.

    \n
Fires the specified event with the passed parameters (minus the event name, plus the options object passed\nto addList...

Fires the specified event with the passed parameters (minus the event name, plus the options object passed\nto addListener).

\n\n

An event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget) by\ncalling enableBubble.

\n

Parameters

  • eventName : String

    The name of the event to fire.

    \n
  • args : Object...

    Variable number of parameters are passed to handlers.

    \n

Returns

  • Boolean

    returns false if any of the handlers return false otherwise it returns true.

    \n
Fires the specified event with the passed parameter list. ...

Fires the specified event with the passed parameter list.

\n\n

An event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget) by\ncalling enableBubble.

\n

Parameters

  • eventName : String

    The name of the event to fire.

    \n
  • args : Object[]

    An array of parameters which are passed to handlers.

    \n

Returns

  • Boolean

    returns false if any of the handlers return false otherwise it returns true.

    \n
For more information on the hierarchy events, see the note for the\nhierarchyEventSource observer defined in the onCla...

For more information on the hierarchy events, see the note for the\nhierarchyEventSource observer defined in the onClassCreated callback.

\n\n

This functionality is contained in Component (as opposed to Container)\nbecause a Component can be the ownerCt for a floating component (loadmask),\nand the loadmask needs to know when its owner is shown/hidden via the\nhierarchyEventSource so that its hidden state can be synchronized.

\n\n

TODO: merge this functionality with Ext.globalEvents

\n

Parameters

private ...

private

\n

Parameters

...
\n

Parameters

( [selectText], [delay], [callback], [scope] ) : Ext.Component
Try to focus this component. ...

Try to focus this component.

\n

Parameters

  • selectText : Boolean (optional)

    If applicable, true to also select the text in this component

    \n
  • delay : Boolean/Number (optional)

    Delay the focus this number of milliseconds (true for 10 milliseconds).

    \n
  • callback : Function (optional)

    Only needed if the delay parameter is used. A function to call upon focus.

    \n
  • scope : Function (optional)

    Only needed if the delay parameter is used. The scope (this reference) in which to execute the callback.

    \n

Returns

  • Ext.Component

    The focused Component. Usually this Component. Some Containers may\ndelegate focus to a descendant Component (Windows can do this through their\ndefaultFocus config option.

    \n
Forces this component to redo its componentLayout. ...

Forces this component to redo its componentLayout.

\n
\n

This method has been deprecated since 4.1.0

\n

Use updateLayout instead.

\n\n
\n
Returns the current animation if this object has any effects actively running or queued, else returns false. ...

Returns the current animation if this object has any effects actively running or queued, else returns false.

\n

Returns

Gets the active error message for this component, if any. ...

Gets 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.

\n

Returns

  • String

    The active error message on the component; if there is no error, an empty string is returned.

    \n
Gets an Array of any active error messages currently applied to the field. ...

Gets 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.

\n

Returns

  • String[]

    The active error messages on the component; if there are no errors, an empty Array is\nreturned.

    \n
( element, [position], [offsets] ) : Number[]
Gets the x,y coordinates to align this element with another element. ...

Gets the x,y coordinates to align this element with another element. See\nalignTo for more info on the supported position values.

\n

Parameters

  • element : Ext.util.Positionable/HTMLElement/String

    The Positionable,\nHTMLElement, or id of the element to align to.

    \n
  • position : String (optional)

    The position to align to

    \n

    Defaults to: "tl-bl?"

  • offsets : Number[] (optional)

    Offset the positioning by [x, y]

    \n

Returns

private ...

private

\n
( el, [anchor], [local], [size] ) : Number[]private
Begin Positionable methods\n\n\n\nOverridden in Ext.rtl.AbstractComponent. ...

\n\n

Begin Positionable methods

\n\n
\n\n

Overridden in Ext.rtl.AbstractComponent.

\n\n

Gets the x,y coordinates of an element specified by the anchor position on the\nelement.

\n

Parameters

  • el : Ext.dom.Element

    The element

    \n
  • anchor : String (optional)

    The specified anchor position.\nSee alignTo for details on supported anchor positions.

    \n

    Defaults to: 'tl'

  • local : Boolean (optional)

    True to get the local (element top/left-relative) anchor\nposition instead of page coordinates

    \n
  • size : Object (optional)

    An object containing the size to use for calculating anchor\nposition {width: (target width), height: (target height)} (defaults to the\nelement's current size)

    \n

Returns

  • Number[]

    [x, y] An array containing the element's x and y coordinates

    \n

Overrides: Ext.util.Positionable.getAnchorToXY

( [anchor], [local], [size] ) : Number[]
Gets the x,y coordinates specified by the anchor position on the element. ...

Gets the x,y coordinates specified by the anchor position on the element.

\n

Parameters

  • anchor : String (optional)

    The specified anchor position.\nSee alignTo for details on supported anchor positions.

    \n

    Defaults to: 'tl'

  • local : Boolean (optional)

    True to get the local (element top/left-relative) anchor\nposition instead of page coordinates

    \n
  • size : Object (optional)

    An object containing the size to use for calculating anchor\nposition {width: (target width), height: (target height)} (defaults to the\nelement's current size)

    \n

Returns

  • Number[]

    [x, y] An array containing the element's x and y coordinates

    \n
...
\n

Parameters

Calculates the colspan value for the body cell - the cell which contains the input field. ...

Calculates the colspan value for the body cell - the cell which contains the input field.

\n\n

The field table structure contains 4 columns:

\n
Overridden in Ext.rtl.AbstractComponent. ...

Overridden in Ext.rtl.AbstractComponent.

\n\n

Returns the size of the element's borders and padding.

\n

Returns

  • Object

    an object with the following numeric properties\n- beforeX\n- afterX\n- beforeY\n- afterY

    \n

Overrides: Ext.util.Positionable.getBorderPadding

Return an object defining the area of this Element which can be passed to\nsetBox to set another Element's size/locati...

Return an object defining the area of this Element which can be passed to\nsetBox to set another Element's size/location to match this element.

\n

Parameters

  • contentBox : Boolean (optional)

    If true a box for the content of the element is\nreturned.

    \n
  • local : Boolean (optional)

    If true the element's left and top relative to its\noffsetParent are returned instead of page x/y.

    \n

Returns

  • Object

    box An object in the format:

    \n\n
    {\n    x: <Element's X position>,\n    y: <Element's Y position>,\n    left: <Element's X position (an alias for x)>,\n    top: <Element's Y position (an alias for y)>,\n    width: <Element's width>,\n    height: <Element's height>,\n    bottom: <Element's lower bound>,\n    right: <Element's rightmost bound>\n}\n
    \n\n

    The returned object may also be addressed as an Array where index 0 contains the X\nposition and index 1 contains the Y position. The result may also be used for\nsetXY

    \n
Gets the bubbling parent for an Observable ...

Gets the bubbling parent for an Observable

\n

Returns

Implements an upward event bubbling policy. ...

Implements an upward event bubbling policy. By default a Component bubbles events up to its reference owner.

\n\n

Component subclasses may implement a different bubbling strategy by overriding this method.

\n

Overrides: Ext.AbstractComponent.getBubbleTarget

Ext.form.field.File
view source
( )private
...
\n
...
\n

Parameters

( [constrainTo], [proposedPosition], [proposedSize] ) : Number[]/Boolean
Returns the [X, Y] vector by which this Positionable's element must be translated to make a best\nattempt to constrain...

Returns the [X, Y] vector by which this Positionable's element must be translated to make a best\nattempt to constrain within the passed constraint. Returns false if the element\ndoes not need to be moved.

\n\n

Priority is given to constraining the top and left within the constraint.

\n\n

The constraint may either be an existing element into which the element is to be\nconstrained, or a Region into which this element is to be\nconstrained.

\n\n

By default, any extra shadow around the element is not included in the constrain calculations - the edges\nof the element are used as the element bounds. To constrain the shadow within the constrain region, set the\nconstrainShadow property on this element to true.

\n

Parameters

  • constrainTo : Ext.util.Positionable/HTMLElement/String/Ext.util.Region (optional)

    The\nPositionable, HTMLElement, element id, or Region into which the element is to be\nconstrained.

    \n
  • proposedPosition : Number[] (optional)

    A proposed [X, Y] position to test for validity\nand to produce a vector for instead of using the element's current position

    \n
  • proposedSize : Number[] (optional)

    A proposed [width, height] size to constrain\ninstead of using the element's current size

    \n

Returns

  • Number[]/Boolean

    If the element needs to be translated, an [X, Y]\nvector by which this element must be translated. Otherwise, false.

    \n
Retrieves the top level element representing this component. ...

Retrieves the top level element representing this component.

\n

Available since: 1.1.0

\n

Returns

Overrides: Ext.AbstractComponent.getEl

Validates a value according to the field's validation rules and returns an array of errors\nfor any failing validations. ...

Validates 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\n
    \n
  1. Field 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:

    \n\n
      \n
    • Boolean true if the value is valid (validation continues).
    • \n
    • a String to represent the invalid message if invalid (validation halts).
    • \n
    \n
  2. \n
  3. Basic Validation

    \n\n

    If the validator has not halted validation,\n basic validation proceeds as follows:

    \n\n
      \n
    • allowBlank : (Invalid message = blankText)

      \n\n

      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.

    • \n
    • minLength : (Invalid message = minLengthText)

      \n\n

      If the passed value does not satisfy the minLength\n specified, validation halts.

    • \n
    • maxLength : (Invalid message = maxLengthText)

      \n\n

      If the passed value does not satisfy the maxLength\n specified, validation halts.

    • \n
    \n
  4. \n
  5. 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.

  6. \n
  7. 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

  8. \n
\n\n

Parameters

  • value : Object

    The value to validate. The processed raw value will be used if nothing is passed.

    \n

Returns

  • String[]

    Array of any validation errors

    \n

Overrides: Ext.form.field.Field.getErrors

Returns the label for the field. ...

Returns the label for the field. Defaults to simply returning the fieldLabel config. Can be overridden\nto provide a custom generated label.

\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.

\n
\n

Returns

  • String

    The configured field label, or empty string if not defined

    \n
Returns the focus holder element associated with this Component. ...

Returns the focus holder element associated with this Component. At the Component base class level, this function returns undefined.

\n\n

Subclasses which use embedded focusable elements (such as Window, Field and Button) should override this\nfor use by the focus method.

\n\n

Containers 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

Overrides: Ext.AbstractComponent.getFocusEl

On render, reads an encoded style attribute, \"filter\" from the style of this Component's element. ...

On render, reads an encoded style attribute, \"filter\" 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.

\n
...
\n

Parameters

Gets the current height of the component's underlying element. ...

Gets the current height of the component's underlying element.

\n

Returns

A component's hierarchyState is used to keep track of aspects of a component's\nstate that affect its descendants hier...

A component's hierarchyState is used to keep track of aspects of a component's\nstate that affect its descendants hierarchically like \"collapsed\" and \"hidden\".\nFor example, if this.hierarchyState.hidden == true, it means that either this\ncomponent, or one of its ancestors is hidden.

\n\n

Hierarchical state management is implemented by chaining each component's\nhierarchyState property to its parent container's hierarchyState property via the\nprototype. The result is such that if a component's hierarchyState does not have\nit's own property, it inherits the property from the nearest ancestor that does.

\n\n

To set a hierarchical \"hidden\" value:

\n\n
this.getHierarchyState().hidden = true;\n
\n\n

It is important to remember when unsetting hierarchyState properties to delete\nthem instead of just setting them to a falsy value. This ensures that the\nhierarchyState returns to a state of inheriting the value instead of overriding it\nTo unset the hierarchical \"hidden\" value:

\n\n
delete this.getHierarchyState().hidden;\n
\n\n

IMPORTANT! ALWAYS access hierarchyState using this method, not by accessing\nthis.hierarchyState directly. The hierarchyState property does not exist until\nthe first time getHierarchyState() is called. At that point getHierarchyState()\nwalks up the component tree to establish the hierarchyState prototype chain.\nAdditionally the hierarchyState property should NOT be relied upon even after\nthe initial call to getHierarchyState() because it is possible for the\nhierarchyState to be invalidated. Invalidation typically happens when a component\nis moved to a new container. In such a case the hierarchy state remains invalid\nuntil the next time getHierarchyState() is called on the component or one of its\ndescendants.

\n

Parameters

Retrieves the id of this component. ...

Retrieves the id of this component. Will auto-generate an id if one has not already been set.

\n

Returns

Overrides: Ext.AbstractComponent.getId

Returns the initial configuration passed to constructor when instantiating\nthis class. ...

Returns the initial configuration passed to constructor when instantiating\nthis class.

\n

Parameters

  • name : String (optional)

    Name of the config option to return.

    \n

Returns

  • Object/Mixed

    The full config object or a single config value\nwhen name parameter specified.

    \n
Returns the input id for this field. ...

Returns the input id for this field. If none was specified via the inputId config, then an id will be\nautomatically generated.

\n

Overrides: Ext.form.Labelable.getInputId

This function takes the position argument passed to onRender and returns a\nDOM element that you can use in the insert...

This function takes the position argument passed to onRender and returns a\nDOM element that you can use in the insertBefore.

\n

Parameters

Returns

  • HTMLElement

    DOM element that you can use in the insertBefore

    \n
...
\n

Parameters

Returns the value of itemId assigned to this component, or when that\nis not set, returns the value of id. ...

Returns the value of itemId assigned to this component, or when that\nis not set, returns the value of id.

\n

Returns

Gets any label styling for the labelEl ...

Gets any label styling for the labelEl

\n

Returns

Gets the width of the label (if visible) ...

Gets the width of the label (if visible)

\n

Returns

Generates the arguments for the field decorations rendering template. ...

Generates the arguments for the field decorations rendering template.

\n

Returns

  • Object

    The template arguments

    \n

Overrides: Ext.form.Labelable.getLabelableRenderData

Gets the Ext.ComponentLoader for this Component. ...

Gets the Ext.ComponentLoader for this Component.

\n

Returns

Overridden in Ext.rtl.AbstractComponent. ...

Overridden in Ext.rtl.AbstractComponent.

\n\n

Returns the x coordinate of this element reletive to its offsetParent.

\n

Returns

  • Number

    The local x coordinate

    \n

Overrides: Ext.util.Positionable.getLocalX

Overridden in Ext.rtl.AbstractComponent. ...

Overridden in Ext.rtl.AbstractComponent.

\n\n

Returns the x and y coordinates of this element relative to its offsetParent.

\n

Returns

  • Number[]

    The local XY position of the element

    \n

Overrides: Ext.util.Positionable.getLocalXY

Returns the y coordinate of this element reletive to its offsetParent. ...

Returns the y coordinate of this element reletive to its offsetParent.

\n

Returns

  • Number

    The local y coordinate

    \n

Overrides: Ext.util.Positionable.getLocalY

Returns the value(s) that should be saved to the Ext.data.Model instance for this field, when Ext.form.Basic.updateRe...

Returns 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\n

Note that the values returned from this method are not guaranteed to have been successfully validated.

\n

Returns

  • Object

    A 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.

    \n
Returns the name attribute of the field. ...

Returns the name attribute of the field. This is used as the parameter name\nwhen including the field value in a form submit().

\n

Returns

Returns the offsets of this element from the passed element. ...

Returns the offsets of this element from the passed element. The element must both\nbe part of the DOM tree and not have display:none to have page coordinates.

\n

Parameters

Returns

  • Number[]

    The XY page offsets (e.g. [100, -200])

    \n
Include margins ...

Include margins

\n
Get an el for overflowing, defaults to the target el ...

Get an el for overflowing, defaults to the target el

\n
Returns the CSS style object which will set the Component's scroll styles. ...

Returns the CSS style object which will set the Component's scroll styles. This must be applied\nto the target element.

\n
Returns the owning container if that container uses border layout. ...

Returns the owning container if that container uses border layout. Otherwise\nthis method returns null.

\n\n

Defined in override Ext.layout.container.border.Region.

\n

Returns

Returns the owning border (Ext.layout.container.Border) instance if there is\none. ...

Returns the owning border (Ext.layout.container.Border) instance if there is\none. Otherwise this method returns null.

\n\n

Defined in override Ext.layout.container.border.Region.

\n

Returns

Retrieves a plugin from this component's collection by its pluginId. ...

Retrieves a plugin from this component's collection by its pluginId.

\n

Parameters

Returns

Gets the current XY position of the component's underlying element. ...

Gets the current XY position of the component's underlying element.

\n

Parameters

  • local : Boolean (optional)

    If true the element's left and top are returned instead of page XY.

    \n

    Defaults to: false

Returns

  • Number[]

    The XY position of the element (e.g., [100, 200])

    \n
Deprecate 5.0 ...

Deprecate 5.0

\n
Returns the raw String value of the field, without performing any normalization, conversion, or validation. ...

Returns 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.

\n

Returns

  • String

    The raw String value of the field

    \n

Overrides: Ext.form.field.Base.getRawValue

Used by ComponentQuery, and the up method to find the\nowning Component in the linkage hierarchy. ...

Used by ComponentQuery, and the up method to find the\nowning Component in the linkage hierarchy.

\n\n

By default this returns the Container which contains this Component.

\n\n

This may be overriden by Component authors who implement ownership hierarchies which are not\nbased upon ownerCt, such as BoundLists being owned by Fields or Menus being owned by Buttons.

\n
Returns a region object that defines the area of this element. ...

Returns a region object that defines the area of this element.

\n

Returns

  • Ext.util.Region

    A Region containing \"top, left, bottom, right\" properties.

    \n
Deprecate 5.0 ...

Deprecate 5.0

\n
Gets the current size of the component's underlying element. ...

Gets the current size of the component's underlying element.

\n

Returns

  • Object

    An object containing the element's size {width: (element width), height: (element height)}

    \n
Returns an object that describes how this component's width and height are managed. ...

Returns an object that describes how this component's width and height are managed.\nAll of these objects are shared and should not be modified.

\n

Parameters

Returns

The supplied default state gathering method for the AbstractComponent class. ...

The supplied default state gathering method for the AbstractComponent class.

\n\n

This method returns dimension settings such as flex, anchor, width and height along with collapsed\nstate.

\n\n

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\n

Note that Component state will only be saved if the Component has a stateId and there as a StateProvider\nconfigured for the document.

\n

Returns

Overrides: Ext.AbstractComponent.getState

Gets the state id for this object. ...

Gets the state id for this object.

\n

Returns

  • String

    The 'stateId' or the implicit 'id' specified by component configuration.

    \n
Returns an offscreen div with the same class name as the element this is being rendered. ...

Returns 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\npart of the document, has no styling.

\n

Parameters

Creates and returns the data object to be used when rendering the fieldSubTpl. ...

Creates and returns the data object to be used when rendering the fieldSubTpl.

\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.

\n
\n

Returns

  • Object

    The template data

    \n\n\n\n

Overrides: Ext.form.field.Text.getSubTplData

Gets the markup to be inserted into the outer template's bodyEl. ...

Gets the markup to be inserted into the outer template's bodyEl. For fields this is the actual input element.

\n

Overrides: Ext.form.field.Base.getSubTplMarkup

private override to use getSubmitValue() as a convenience\n\nReturns the parameter(s) that would be included in a stand...

private override to use getSubmitValue() as a convenience

\n\n

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\n

Note that the values returned from this method are not guaranteed to have been successfully validated.

\n

Returns

  • Object

    A 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.

    \n\n

Overrides: Ext.form.field.Field.getSubmitData

Returns the value that would be included in a standard form submit for this field. ...

Returns 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\n

Note that the value returned will have been processed but may or may not have been\nsuccessfully validated.

\n

Returns

  • String

    The value to be submitted, or null.

    \n
This is used to determine where to insert the 'html', 'contentEl' and 'items' in this component. ...

This is used to determine where to insert the 'html', 'contentEl' and 'items' in this component.

\n
...
\n

Parameters

Ext.form.field.File
view source
( )
Gets the markup to be inserted into the subTplMarkup. ...

Gets the markup to be inserted into the subTplMarkup.

\n

Overrides: Ext.form.field.Trigger.getTriggerMarkup

Returns a set of flags that describe the trigger state. ...

Returns 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.

\n
Get the total width of the trigger button area. ...

Get the total width of the trigger button area.

\n

Returns

  • Number

    The total trigger width

    \n
Returns the current data value of the field. ...

Returns 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.

\n

Returns

Overrides: Ext.form.field.Field.getValue

Returns the content region of this element. ...

Returns the content region of this element. That is the region within the borders\nand padding.

\n

Returns

  • Ext.util.Region

    A Region containing \"top, left, bottom, right\" member data.

    \n
Deprecate 5.0 ...

Deprecate 5.0

\n
Gets the current width of the component's underlying element. ...

Gets the current width of the component's underlying element.

\n

Returns

Gets the current X position of the DOM element based on page coordinates. ...

Gets the current X position of the DOM element based on page coordinates.

\n

Returns

  • Number

    The X position of the element

    \n

Overrides: Ext.util.Positionable.getX

Gets the xtype for this component as registered with Ext.ComponentManager. ...

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\n
var t = new Ext.form.field.Text();\nalert(t.getXType());  // alerts 'textfield'\n
\n

Returns

Returns this Component's xtype hierarchy as a slash-delimited string. ...

Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all available xtypes, see the\nExt.Component header.

\n\n

If using your own subclasses, be aware that a Component must register its own xtype to participate in\ndetermination of inherited xtypes.

\n\n

Example usage:

\n\n
var t = new Ext.form.field.Text();\nalert(t.getXTypes());  // alerts 'component/field/textfield'\n
\n

Available since: 2.3.0

\n

Returns

  • String

    The xtype hierarchy string

    \n
Gets the current position of the DOM element based on page coordinates. ...

Gets the current position of the DOM element based on page coordinates.

\n

Returns

  • Number[]

    The XY position of the element

    \n

Overrides: Ext.util.Positionable.getXY

Gets the current Y position of the DOM element based on page coordinates. ...

Gets the current Y position of the DOM element based on page coordinates.

\n

Returns

  • Number

    The Y position of the element

    \n

Overrides: Ext.util.Positionable.getY

Tells whether the field currently has an active error message. ...

Tells 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.

\n

Returns

Returns the current animation if this object has any effects actively running or queued, else returns false. ...

Returns the current animation if this object has any effects actively running or queued, else returns false.

\n
\n

This method has been deprecated since 4.0

\n

Replaced by getActiveAnimation

\n\n
\n

Returns

Checks if the specified CSS class exists on this element's DOM node. ...

Checks if the specified CSS class exists on this element's DOM node.

\n

Parameters

  • className : String

    The CSS class to check for.

    \n

Returns

  • Boolean

    true if the class exists, else false.

    \n
...
\n

Parameters

Checks to see if this object has any listeners for a specified event, or whether the event bubbles. ...

Checks 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.

\n

Parameters

  • eventName : String

    The name of the event to check for

    \n

Returns

  • Boolean

    true if the event is being listened for or bubbles, else false

    \n
Checks if there is currently a specified uiCls. ...

Checks if there is currently a specified uiCls.

\n

Parameters

  • cls : String

    The cls to check.

    \n
Checks if the field has a visible label ...

Checks if the field has a visible label

\n

Returns

  • Boolean

    True if the field has a visible label

    \n
( [animateTarget], [callback], [scope] ) : Ext.Componentchainable
Hides this Component, setting it to invisible using the configured hideMode. ...

Hides this Component, setting it to invisible using the configured hideMode.

\n

Parameters

  • animateTarget : String/Ext.Element/Ext.Component (optional)

    only valid for floating Components\nsuch as Windows or ToolTips, or regular Components which have\nbeen configured with floating: true.. The target to which the Component should animate while hiding.

    \n

    Defaults to: null

  • callback : Function (optional)

    A callback function to call after the Component is hidden.

    \n
  • scope : Object (optional)

    The scope (this reference) in which the callback is executed.\nDefaults to this Component.

    \n

Returns

This method is called by the Ext.layout.container.Border class when instances are\nadded as regions to the layout. ...

This method is called by the Ext.layout.container.Border class when instances are\nadded as regions to the layout. Since it is valid to add any component to a border\nlayout as a region, this method must be added to Ext.Component but is only ever\ncalled when that component is owned by a border layout.

\n\n

Defined in override Ext.layout.container.border.Region.

\n
The initComponent template method is an important initialization step for a Component. ...

The 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\n

The initComponent method must contain a call to callParent in order\nto ensure that the parent class' initComponent method is also called.

\n\n

All config options passed to the constructor are applied to this before initComponent is called,\nso you can simply access them with this.someOption.

\n\n

The following example demonstrates using a dynamic string for the text of a button at the time of\ninstantiation of the class.

\n\n
Ext.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

Available since: 1.1.0

\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.

\n
\n

Overrides: Ext.form.field.Text.initComponent

( config ) : Ext.Basechainableprotected
Initialize configuration for this class. ...

Initialize configuration for this class. a typical example:

\n\n
Ext.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
\n

Parameters

Returns

...
\n

Parameters

private\n\nInitialize any events on this component ...

private

\n\n

Initialize any events on this component

\n

Overrides: Ext.form.field.Base.initEvents

Initializes this Field mixin on the current instance. ...

Initializes this Field mixin on the current instance. Components using this mixin should call this method during\ntheir own initialization process.

\n
Poke in a reference to applyRenderTpl(frameInfo, out) ...

Poke in a reference to applyRenderTpl(frameInfo, out)

\n

Parameters

Called by getHierarchyState to initialize the hierarchyState the first\ntime it is requested. ...

Called by getHierarchyState to initialize the hierarchyState the first\ntime it is requested.

\n\n

Overridden in Ext.rtl.AbstractComponent.

\n

Parameters

Performs initialization of this mixin. ...

Performs initialization of this mixin. Component classes using this mixin should call this method during their\nown initialization.

\n
Initializes padding by applying it to the target element, or if the layout manages\npadding ensures that the padding o...

Initializes padding by applying it to the target element, or if the layout manages\npadding ensures that the padding on the target element is \"0\".

\n

Parameters

...
\n

Parameters

Initialized the renderData to be used when rendering the renderTpl. ...

Initialized the renderData to be used when rendering the renderTpl.

\n

Returns

  • Object

    Object with keys and values that are going to be applied to the renderTpl

    \n

Overrides: Ext.util.Renderable.initRenderData

Initializes the renderTpl. ...

Initializes the renderTpl.

\n

Returns

Overrides: Ext.util.Renderable.initRenderTpl

...
\n

Parameters

Initializes the state of the object upon construction. ...

Initializes the state of the object upon construction.

\n
Applies padding, margin, border, top, left, height, and width configs to the\nappropriate elements. ...

Applies padding, margin, border, top, left, height, and width configs to the\nappropriate elements.

\n

Parameters

Initializes the field's value based on the initial config. ...

Initializes the field's value based on the initial config.

\n
Tests whether this Component matches the selector string. ...

Tests whether this Component matches the selector string.

\n

Parameters

  • selector : String

    The selector string to test against.

    \n

Returns

  • Boolean

    true if this Component matches the selector.

    \n
Utility method to determine if a Component is floating, and has an owning Container whose coordinate system\nit must b...

Utility method to determine if a Component is floating, and has an owning Container whose coordinate system\nit must be positioned in when using setPosition.

\n
...
\n

Parameters

Determines whether this component is the descendant of a particular container. ...

Determines whether this component is the descendant of a particular container.

\n

Parameters

Returns

  • Boolean

    true if the component is the descendant of a particular container, otherwise false.

    \n
Returns true if the value of this Field has been changed from its originalValue. ...

Returns true if the value of this Field has been changed from its originalValue.\nWill always return false if the field is disabled.

\n\n

Note that if the owning form was configured with\ntrackResetOnLoad then the originalValue is updated when\nthe values are loaded by Ext.form.Basic.setValues.

\n

Returns

  • Boolean

    True if this field has been changed from its original value (and is not disabled),\nfalse otherwise.

    \n
Method to determine whether this Component is currently disabled. ...

Method to determine whether this Component is currently disabled.

\n

Returns

  • Boolean

    the disabled state of this Component.

    \n
Method to determine whether this Component is draggable. ...

Method to determine whether this Component is draggable.

\n

Returns

  • Boolean

    the draggable state of this component.

    \n
Method to determine whether this Component is droppable. ...

Method to determine whether this Component is droppable.

\n

Returns

  • Boolean

    the droppable state of this component.

    \n
( value1, value2 )private
Override. ...

Override. Treat undefined and null values as equal to an empty string value.

\n

Parameters

Overrides: Ext.form.field.Field.isEqual

Returns whether two values are logically equal. ...

Returns whether two values are logically equal.\nSimilar to isEqual, however null or undefined values will be treated as empty strings.

\n

Parameters

  • value1 : Object

    The first value to compare

    \n
  • value2 : Object

    The second value to compare

    \n

Returns

  • Boolean

    True if the values are equal, false if inequal.

    \n
Ext.form.field.File
view source
( ) : Boolean
Returns whether this Field is a file upload field; if it returns true, forms will use special techniques for\nsubmitti...

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.

\n

Returns

Overrides: Ext.form.field.Base.isFileUpload

Method to determine whether this Component is floating. ...

Method to determine whether this Component is floating.

\n

Returns

  • Boolean

    the floating state of this component.

    \n
Method to determine whether this Component is currently set to hidden. ...

Method to determine whether this Component is currently set to hidden.

\n

Returns

  • Boolean

    the hidden state of this Component.

    \n
Determines whether this Component is the root of a layout. ...

Determines 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.

\n\n

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.

\n
Returns true if layout is suspended for this component. ...

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.

\n

Returns

  • Boolean

    true layout of this component is suspended.

    \n
Returns true if this component's local coordinate system is rtl. ...

Returns true if this component's local coordinate system is rtl. For normal\ncomponents this equates to the value of isParentRtl(). Floaters are a bit different\nbecause a floater's element can be a childNode of something other than its\nparent component's element. For floaters we have to read the dom to see if the\ncomponent's element's parentNode has a css direction value of \"rtl\".

\n\n

Defined in override Ext.rtl.AbstractComponent.

\n

Returns

Defined in override Ext.rtl.AbstractComponent. ...

Defined in override Ext.rtl.AbstractComponent.

\n
Returns true if this component's parent container is rtl. ...

Returns true if this component's parent container is rtl. Used by rtl positioning\nmethods to determine if the component should be positioned using a right-to-left\ncoordinate system.

\n\n

Defined in override Ext.rtl.AbstractComponent.

\n

Returns

Returns whether or not the field value is currently valid by validating the\nprocessed raw value of the field. ...

Returns 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.

\n

Returns

  • Boolean

    True if the value is valid, else false

    \n

Overrides: Ext.form.field.Field.isValid

Returns true if this component is visible. ...

Returns true if this component is visible.

\n

Available since: 1.1.0

\n

Parameters

  • deep : Boolean (optional)

    Pass true to interrogate the visibility status of all parent Containers to\ndetermine whether this Component is truly visible to the user.

    \n\n

    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.

    \n

    Defaults to: false

Returns

  • Boolean

    true if this component is visible, false otherwise.

    \n
Tests whether or not this Component is of a specific xtype. ...

Tests 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\n

If using your own subclasses, be aware that a Component must register its own xtype to participate in\ndetermination of inherited xtypes.

\n\n

For a list of all available xtypes, see the Ext.Component header.

\n\n

Example usage:

\n\n
var 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
\n

Available since: 2.3.0

\n

Parameters

  • xtype : String

    The xtype to check for this Component

    \n
  • shallow : Boolean (optional)

    true to check whether this Component is directly of the specified xtype, false to\ncheck whether this Component is descended from the xtype.

    \n

    Defaults to: false

Returns

  • Boolean

    true if this component descends from the specified xtype, false otherwise.

    \n
...
\n

Parameters

Display one or more error messages associated with this field, using msgTarget to determine how to\ndisplay the messag...

Display 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\n

Note: 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.

\n

Parameters

  • errors : String/String[]

    The validation message(s) to display.

    \n

Overrides: Ext.form.field.Field.markInvalid

...
\n

Parameters

( item, ename, [fn], [scope], [options] ) : Object
Shorthand for addManagedListener. ...

Shorthand for addManagedListener.

\n\n

Adds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestroyed.

\n

Parameters

  • item : Ext.util.Observable/Ext.Element

    The item to which to add a listener/listeners.

    \n\n
  • ename : Object/String

    The event name, or an object containing event name properties.

    \n\n
  • fn : Function (optional)

    If the ename parameter was an event name, this is the handler function.

    \n\n
  • scope : Object (optional)

    If the ename parameter was an event name, this is the scope (this reference)\nin which the handler function is executed.

    \n\n
  • options : Object (optional)

    If the ename parameter was an event name, this is the\naddListener options.

    \n\n

Returns

  • Object

    Only when the destroyable option is specified.

    \n\n\n\n\n

    A Destroyable object. An object which implements the destroy method which removes all listeners added in this call. For example:

    \n\n\n\n\n
    this.btnListeners =  = myButton.mon({\n    destroyable: true\n    mouseover:   function() { console.log('mouseover'); },\n    mouseout:    function() { console.log('mouseout'); },\n    click:       function() { console.log('click'); }\n});\n
    \n\n\n\n\n

    And when those listeners need to be removed:

    \n\n\n\n\n
    Ext.destroy(this.btnListeners);\n
    \n\n\n\n\n

    or

    \n\n\n\n\n
    this.btnListeners.destroy();\n
    \n\n
( direction, distance, [animate] )
Move the element relative to its current position. ...

Move the element relative to its current position.

\n

Parameters

  • direction : String

    Possible values are:

    \n\n
      \n
    • \"l\" (or \"left\")
    • \n
    • \"r\" (or \"right\")
    • \n
    • \"t\" (or \"top\", or \"up\")
    • \n
    • \"b\" (or \"bottom\", or \"down\")
    • \n
    \n\n
  • distance : Number

    How far to move the element in pixels

    \n
  • animate : Boolean/Object (optional)

    true for the default animation or a standard\nElement animation config object

    \n
( item, ename, [fn], [scope] )
Shorthand for removeManagedListener. ...

Shorthand for removeManagedListener.

\n\n

Removes listeners that were added by the mon method.

\n

Parameters

  • item : Ext.util.Observable/Ext.Element

    The item from which to remove a listener/listeners.

    \n\n
  • ename : Object/String

    The event name, or an object containing event name properties.

    \n\n
  • fn : Function (optional)

    If the ename parameter was an event name, this is the handler function.

    \n\n
  • scope : Object (optional)

    If the ename parameter was an event name, this is the scope (this reference)\nin which the handler function is executed.

    \n\n
Returns the next node in the Component tree in tree traversal order. ...

Returns the next node in the Component tree in tree traversal order.

\n\n

Note 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.

\n

Parameters

Returns

  • Ext.Component

    The next node (or the next node which matches the selector).\nReturns null if there is no matching node.

    \n
Returns the next sibling of this Component. ...

Returns the next sibling of this Component.

\n\n

Optionally selects the next sibling which matches the passed ComponentQuery selector.

\n\n

May also be referred to as next()

\n\n

Note that this is limited to siblings, and if no siblings of the item match, null is returned. Contrast with\nnextNode

\n

Parameters

Returns

  • Ext.Component

    The next sibling (or the next sibling which matches the selector).\nReturns null if there is no matching sibling.

    \n
( eventName, [fn], [scope], [options] ) : Object
Shorthand for addListener. ...

Shorthand for addListener.

\n\n

Appends an event handler to this object. For example:

\n\n
myGridPanel.on(\"mouseover\", this.onMouseOver, this);\n
\n\n

The method also allows for a single argument to be passed which is a config object\ncontaining properties which specify multiple events. For example:

\n\n
myGridPanel.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\n

One can also specify options for each event handler separately:

\n\n
myGridPanel.on({\n    cellClick: {fn: this.onCellClick, scope: this, single: true},\n    mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n
\n\n

Names of methods in a specified scope may also be used. Note that\nscope MUST be specified to use this option:

\n\n
myGridPanel.on({\n    cellClick: {fn: 'onCellClick', scope: this, single: true},\n    mouseover: {fn: 'onMouseOver', scope: panel}\n});\n
\n

Parameters

  • eventName : String/Object

    The name of the event to listen for.\nMay also be an object who's property names are event names.

    \n\n
  • fn : Function (optional)

    The 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.

    \n\n
  • scope : Object (optional)

    The scope (this reference) in which the handler function is\nexecuted. If omitted, defaults to the object which fired the event.

    \n\n
  • options : Object (optional)

    An object containing handler configuration.

    \n\n\n\n\n

    Note: Unlike in ExtJS 3.x, the options object will also be passed as the last\nargument to every event handler.

    \n\n\n\n\n

    This object may contain any of the following properties:

    \n\n
    • scope : Object

      The scope (this reference) in which the handler function is executed. If omitted,\n defaults to the object which fired the event.

      \n\n
    • delay : Number

      The number of milliseconds to delay the invocation of the handler after the event fires.

      \n\n
    • single : Boolean

      True to add a handler to handle just the next firing of the event, and then remove itself.

      \n\n
    • buffer : Number

      Causes 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\n
    • target : Ext.util.Observable

      Only 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\n
    • element : String

      This 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\n

      This 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
    • destroyable : Boolean (optional)

      When specified as true, the function returns A Destroyable object. An object which implements the destroy method which removes all listeners added in this call.

      \n\n

      Defaults to: false

    • priority : Number (optional)

      An optional numeric priority that determines the order in which event handlers\n are run. Event handlers with no priority will be run as if they had a priority\n of 0. Handlers with a higher priority will be prioritized to run sooner than\n those with a lower priority. Negative numbers can be used to set a priority\n lower than the default. Internally, the framework uses a range of 1000 or\n greater, and -1000 or lesser for handers that are intended to run before or\n after all others, so it is recommended to stay within the range of -999 to 999\n when setting the priority of event handlers in application-level code.

      \n\n\n\n\n

      Combining Options

      \n\n\n\n\n

      Using the options argument, it is possible to combine different types of listeners:

      \n\n\n\n\n

      A delayed, one-time listener.

      \n\n\n\n\n
      myPanel.on('hide', this.handleClick, this, {\n    single: true,\n    delay: 100\n});\n
      \n\n

Returns

  • Object

    Only when the destroyable option is specified.

    \n\n\n\n\n

    A Destroyable object. An object which implements the destroy method which removes all listeners added in this call. For example:

    \n\n\n\n\n
    this.btnListeners =  = myButton.on({\n    destroyable: true\n    mouseover:   function() { console.log('mouseover'); },\n    mouseout:    function() { console.log('mouseout'); },\n    click:       function() { console.log('click'); }\n});\n
    \n\n\n\n\n

    And when those listeners need to be removed:

    \n\n\n\n\n
    Ext.destroy(this.btnListeners);\n
    \n\n\n\n\n

    or

    \n\n\n\n\n
    this.btnListeners.destroy();\n
    \n\n
( container, pos )protectedtemplate
Method to manage awareness of when components are added to their\nrespective Container, firing an added event. ...

Method 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\n

Allows 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.

\n

Available since: 3.4.0

\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.

\n
\n

Parameters

Overrides: Ext.AbstractComponent.onAdded

The default blur handling must not occur for a TriggerField, implementing this template method as emptyFn disables that. ...

The 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

\n

Overrides: Ext.AbstractComponent.onBlur

If grow=true, invoke the autoSize method when the field's value is changed. ...

If grow=true, invoke the autoSize method when the field's value is changed.

\n

Parameters

Overrides: Ext.form.field.Field.onChange

( names, callback, scope )private
...
\n

Parameters

Ext.form.field.File
view source
( )protectedtemplate
Allows addition of behavior to the destroy operation. ...

Allows addition of behavior to the destroy operation.\nAfter calling the superclass's onDestroy, the Component will be destroyed.

\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.

\n
\n

Overrides: Ext.form.field.Trigger.onDestroy

Called when the field's dirty state changes. ...

Called when the field's dirty state changes. Adds/removes the dirtyCls on the main element.

\n

Parameters

Overrides: Ext.form.field.Field.onDirtyChange

Ext.form.field.File
view source
( )protectedtemplate
Allows addition of behavior to the disable operation. ...

Allows addition of behavior to the disable operation.\nAfter calling the superclass's onDisable, the Component will be disabled.

\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.

\n
\n

Overrides: Ext.form.field.Text.onDisable

Ext.form.field.File
view source
( )protectedtemplate
Allows addition of behavior to the enable operation. ...

Allows addition of behavior to the enable operation.\nAfter calling the superclass's onEnable, the Component will be enabled.

\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.

\n
\n

Overrides: Ext.form.field.Text.onEnable

Ext.form.field.File
view source
( button, e, value )private
Event handler fired when the user selects a file. ...

Event handler fired when the user selects a file.

\n

Parameters

( [animateTarget], [callback], [scope] )protectedtemplate
Possibly animates down to a target element. ...

Possibly animates down to a target element.

\n\n

Allows addition of behavior to the hide operation. After\ncalling the superclass’s onHide, the Component will be hidden.

\n\n

Gets passed the same parameters as hide.

\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.

\n
\n

Parameters

Overrides: Ext.AbstractComponent.onHide

...
\n

Parameters

...
\n

Parameters

Called after the component is moved, this method is empty by default but can be implemented by any\nsubclass that need...

Called 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.

\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.

\n
\n

Parameters

  • x : Number

    The new x position.

    \n
  • y : Number

    The new y position.

    \n
( destroying )protectedtemplate
Method to manage awareness of when components are removed from their\nrespective Container, firing a removed event. ...

Method 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\n

Allows 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.

\n

Available since: 3.4.0

\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.

\n
\n

Parameters

  • destroying : Boolean

    Will be passed as true if the Container performing the remove operation will delete this\nComponent upon remove.

    \n
Ext.form.field.File
view source
( parentNode, containerIdx )protectedtemplate
private\n\nTemplate method called when this Component's DOM structure is created. ...

private

\n\n

Template method called when this Component's DOM structure is created.

\n\n

At this point, this Component's (and all descendants') DOM structure exists but it has not\nbeen layed out (positioned and sized).

\n\n

Subclasses 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.

\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.

\n
\n

Parameters

  • parentNode : Ext.core.Element

    The parent Element in which this Component's encapsulating element is contained.

    \n\n
  • containerIdx : Number

    The index within the parent Container's child collection of this Component.

    \n\n

Overrides: Ext.form.field.Trigger.onRender

( width, height, oldWidth, oldHeight )protectedtemplate
Allows addition of behavior to the resize operation. ...

Allows addition of behavior to the resize operation.

\n\n

Called when Ext.resizer.Resizer#drag event is fired.

\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.

\n
\n

Parameters

Ext.form.field.File
view source
( [animateTarget], [callback], [scope] )protectedtemplate
Allows addition of behavior to the show operation. ...

Allows addition of behavior to the show operation. After\ncalling the superclass's onShow, the Component will be visible.

\n\n

Override in subclasses where more complex behaviour is needed.

\n\n

Gets passed the same parameters as show.

\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.

\n
\n

Parameters

Overrides: Ext.Component.onShow

( [callback], [scope] )protectedtemplate
Invoked after the afterShow method is complete. ...

Invoked after the afterShow method is complete.

\n\n

Gets passed the same callback and scope parameters that afterShow received.

\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.

\n
\n

Parameters

This method is called when any of the stateEvents are fired. ...

This method is called when any of the stateEvents are fired.

\n
The function that should handle the trigger's click event. ...

The 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.

\n

Parameters

process clicks upon triggers. ...

process clicks upon triggers.\ndetermine which trigger index, and dispatch to the appropriate click handler

\n
Handle trigger mouse up gesture. ...

Handle trigger mouse up gesture. To be implemented in subclasses.\nCurrently the Spinner subclass refocuses the input element upon end of spin.

\n
Overridden in Ext.rtl.AbstractComponent. ...

Overridden in Ext.rtl.AbstractComponent.

\n

Parameters

private\n\nTemplate method to do any post-blur processing. ...

private

\n\n

Template method to do any post-blur processing.

\n

Parameters

Overrides: Ext.AbstractComponent.postBlur

Prepares a given class for observable instances. ...

Prepares a given class for observable instances. This method is called when a\nclass derives from this class or uses this class as a mixin.

\n

Parameters

  • T : Function

    The class constructor to prepare.

    \n
Returns the previous node in the Component tree in tree traversal order. ...

Returns the previous node in the Component tree in tree traversal order.

\n\n

Note 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.

\n

Parameters

Returns

  • Ext.Component

    The previous node (or the previous node which matches the selector).\nReturns null if there is no matching node.

    \n
Returns the previous sibling of this Component. ...

Returns the previous sibling of this Component.

\n\n

Optionally selects the previous sibling which matches the passed ComponentQuery\nselector.

\n\n

May also be referred to as prev()

\n\n

Note that this is limited to siblings, and if no siblings of the item match, null is returned. Contrast with\npreviousNode

\n

Parameters

Returns

  • Ext.Component

    The previous sibling (or the previous sibling which matches the selector).\nReturns null if there is no matching sibling.

    \n
Performs any necessary manipulation of a raw String value to prepare it for conversion and/or\nvalidation. ...

Performs 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.

\n

Parameters

  • value : String

    The unprocessed string value

    \n

Returns

  • String

    The processed string value

    \n

Overrides: Ext.form.field.Base.processRawValue

...
\n

Parameters

Converts a raw input field value into a mixed-type value that is suitable for this particular field type. ...

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\n

It is up to individual implementations to decide how to handle raw values that cannot be successfully converted\nto the desired object type.

\n\n

See valueToRaw for the opposite conversion.

\n\n

The base implementation does no conversion, returning the raw value untouched.

\n

Parameters

Returns

Called by Component#doAutoRender\n\nRegister a Container configured floating: true with this Component's ZIndexManager. ...

Called by Component#doAutoRender

\n\n

Register a Container configured floating: true with this Component's ZIndexManager.

\n\n

Components added in this way will not participate in any layout, but will be rendered\nupon first show in the way that Windows are.

\n

Parameters

Relays selected events from the specified Observable as if the events were fired by this. ...

Relays selected events from the specified Observable as if the events were fired by this.

\n\n

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\n
this.relayEvents(this.getStore(), ['load']);\n
\n\n

The 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.

\n

Parameters

  • origin : Object

    The Observable whose events this object is to relay.

    \n
  • events : String[]

    Array of event names to relay.

    \n
  • prefix : String (optional)

    A common prefix to prepend to the event names. For example:

    \n\n
    this.relayEvents(this.getStore(), ['load', 'clear'], 'store');\n
    \n\n

    Now the grid will forward 'load' and 'clear' events of store as 'storeload' and 'storeclear'.

    \n

Returns

  • Object

    A Destroyable object. An object which implements the destroy method which, when destroyed, removes all relayers. For example:

    \n\n
    this.storeRelayers = this.relayEvents(this.getStore(), ['load', 'clear'], 'store');\n
    \n\n

    Can be undone by calling

    \n\n
    Ext.destroy(this.storeRelayers);\n
    \n\n

    or

    \n\n
    this.store.relayers.destroy();\n
    \n
Remove any anchor to this element. ...

Remove any anchor to this element. See anchorTo.

\n

Returns

Removes items in the childEls array based on the return value of a supplied test\nfunction. ...

Removes 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.

\n

Parameters

...

\n

Available since: 2.3.0

\n
Removes a CSS class from the top level element representing this component. ...

Removes a CSS class from the top level element representing this component.

\n

Parameters

Returns

Removes a cls to the uiCls array, which will also call removeUIClsFromElement and removes it from all\nelements of thi...

Removes a cls to the uiCls array, which will also call removeUIClsFromElement and removes it from all\nelements of this component.

\n

Parameters

  • cls : String/String[]

    A string or an array of strings to remove to the uiCls.

    \n
Removes an event handler. ...

Removes an event handler.

\n

Parameters

  • eventName : String

    The type of event the handler was associated with.

    \n\n
  • fn : Function

    The handler to remove. This must be a reference to the function passed into the\naddListener call.

    \n\n
  • scope : Object (optional)

    The 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\n
Removes listeners that were added by the mon method. ...

Removes listeners that were added by the mon method.

\n

Parameters

  • item : Ext.util.Observable/Ext.Element

    The item from which to remove a listener/listeners.

    \n\n
  • ename : Object/String

    The event name, or an object containing event name properties.

    \n\n
  • fn : Function (optional)

    If the ename parameter was an event name, this is the handler function.

    \n\n
  • scope : Object (optional)

    If the ename parameter was an event name, this is the scope (this reference)\nin which the handler function is executed.

    \n\n
inherit docs\n\nRemove a single managed listener item ...

inherit docs

\n\n

Remove a single managed listener item

\n

Parameters

  • isClear : Boolean

    True if this is being called during a clear

    \n
  • managedListener : Object

    The managed listener item\nSee removeManagedListener for other args

    \n

Overrides: Ext.util.Observable.removeManagedListenerItem

...
\n

Parameters

Method which removes a specified UI + uiCls from the components element. ...

Method which removes a specified UI + uiCls from the components element. The cls which is added to the element\nwill be: this.baseCls + '-' + ui.

\n

Parameters

  • ui : String

    The UI to add to the element.

    \n
Method which removes a specified UI from the components element. ...

Method which removes a specified UI from the components element.

\n
( [container], [position] )
Renders the Component into the passed HTML element. ...

Renders the Component into the passed HTML element.

\n\n

If you are using a Container object to house this\nComponent, then do not use the render method.

\n\n

A Container's child Components are rendered by that Container's\nlayout manager when the Container is first rendered.

\n\n

If 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\n

When 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\n

Omitting 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.

\n

Parameters

  • container : Ext.Element/HTMLElement/String (optional)

    The element this Component should be\nrendered into. If it is being created from existing markup, this should be omitted.

    \n
  • position : String/Number (optional)

    The 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)

    \n
Overrides the method from the Ext.form.Labelable mixin to also add the invalidCls to the inputEl,\nas that is required...

Overrides 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)

\n

Overrides: Ext.form.Labelable.renderActiveError

Ext.form.field.File
view source
( )
Resets the current field value to the originally-loaded value and clears any validation messages. ...

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.

\n

Overrides: Ext.form.field.Text.reset

Resets the field's originalValue property so it matches the current value. ...

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.

\n
Ext.form.field.File
view source
( el )private
...
\n

Parameters

Resumes firing of the named event(s). ...

Resumes firing of the named event(s).

\n\n

After calling this method to resume events, the events will fire when requested to fire.

\n\n

Note that if the suspendEvent method is called multiple times for a certain event,\nthis converse method will have to be called the same number of times for it to resume firing.

\n

Parameters

  • eventName : String...

    Multiple event names to resume.

    \n
Resumes firing events (see suspendEvents). ...

Resumes firing events (see suspendEvents).

\n\n

If events were suspended using the queueSuspended parameter, then all events fired\nduring event suspension will be sent to any listeners now.

\n
...
\n

Parameters

( propName, state, [stateName] ) : Boolean
Conditionally saves a single property from this object to the given state object. ...

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.

\n

Parameters

  • propName : String

    The name of the property to save.

    \n
  • state : Object

    The state object in to which to save the property.

    \n
  • stateName : String (optional)

    The name to use for the property in state.

    \n

Returns

  • Boolean

    True if the property was saved, false if not.

    \n
Gathers additional named properties of the instance and adds their current values\nto the passed state object. ...

Gathers additional named properties of the instance and adds their current values\nto the passed state object.

\n

Parameters

  • propNames : String/String[]

    The name (or array of names) of the property to save.

    \n
  • state : Object

    The state object in to which to save the property values.

    \n

Returns

Saves the state of the object to the persistence store. ...

Saves the state of the object to the persistence store.

\n
( deltaX, deltaY, animate )
Scrolls this Component's target element by the passed delta values, optionally animating. ...

Scrolls this Component's target element by the passed delta values, optionally animating.

\n\n

All 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
\n

Parameters

  • deltaX : Number/Number[]/Object

    Either the x delta, an Array specifying x and y deltas or\nan object with \"x\" and \"y\" properties.

    \n
  • deltaY : Number/Boolean/Object

    Either the y delta, or an animate flag or config object.

    \n
  • animate : Boolean/Object

    Animate flag/config object if the delta values were passed separately.

    \n
Selects text in this field ...

Selects text in this field

\n

Parameters

  • start : Number (optional)

    The index where the selection should start

    \n

    Defaults to: 0

  • end : Number (optional)

    The index where the selection should end (defaults to the text length)

    \n
Ensures that all effects queued after sequenceFx is called on this object are run in sequence. ...

Ensures that all effects queued after sequenceFx is called on this object are run in sequence. This is the\nopposite of syncFx.

\n

Returns

( [active], [newActive] )
This method is called internally by Ext.ZIndexManager to signal that a floating Component has either been\nmoved to th...

This 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\n

If a Window is superceded by another Window, deactivating it hides its shadow.

\n\n

This method also fires the activate or\ndeactivate event depending on which action occurred.

\n

Parameters

  • active : Boolean (optional)

    True to activate the Component, false to deactivate it.

    \n

    Defaults to: false

  • newActive : Ext.Component (optional)

    The newly active Component which is taking over topmost zIndex position.

    \n
Sets the active error message to the given string. ...

Sets 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.

\n

Parameters

  • msg : String

    The error message

    \n
Set the active error message to an Array of error messages. ...

Set 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.

\n

Parameters

  • errors : String[]

    The error messages

    \n
Sets the overflow on the content element of the component. ...

Sets the overflow on the content element of the component.

\n

Parameters

  • scroll : Boolean

    True to allow the Component to auto scroll.

    \n

Returns

...
\n

Parameters

  • border : String/Number

    The border, see border. If a falsey value is passed\nthe border will be removed.

    \n
This method changes the region config property for this border region. ...

This method changes the region config property for this border region. This is\nonly valid if this component is in a border layout (Ext.layout.container.Border).

\n\n

Defined in override Ext.layout.container.border.Region.

\n

Parameters

  • region : String

    The new region value (\"north\", \"south\", \"east\" or\n\"west\").

    \n

Returns

  • String

    The previous value of the region property.

    \n
Sets the element's box. ...

Sets the element's box. If animate is true then x, y, width, and height will be\nanimated concurrently.

\n

Parameters

  • box : Object

    The box to fill {x, y, width, height}

    \n
  • animate : Boolean/Object (optional)

    true for the default animation or a standard\nElement animation config object

    \n

Returns

...
\n

Parameters

( config, applyIfNotSet ) : Ext.Basechainableprivate
...
\n

Parameters

Returns

Enable or disable the component. ...

Enable or disable the component.

\n

Parameters

  • disabled : Boolean

    true to disable.

    \n
Sets the dock position of this component in its parent panel. ...

Sets 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)

\n

Parameters

  • dock : Object

    The dock position.

    \n
  • layoutParent : Boolean (optional)

    true to re-layout parent.

    \n

    Defaults to: false

Returns

Sets the editable state of this field. ...

Sets the editable state of this field. This method is the runtime equivalent of setting the 'editable' config\noption at config time.

\n

Parameters

  • editable : Boolean

    True 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.

    \n
Set the current error state ...

Set the current error state

\n

Parameters

  • error : String

    The error message to set

    \n
Applies a set of default configuration values to this Labelable instance. ...

Applies 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.

\n

Parameters

  • defaults : Object

    The defaults to apply to the object.

    \n
Set the label of this field. ...

Set the label of this field.

\n

Parameters

  • label : String

    The new label. The labelSeparator will be automatically appended to the label\nstring.

    \n
Set the CSS style of the field input element. ...

Set the CSS style of the field input element.

\n

Parameters

...
\n

Parameters

Sets the height of the component. ...

Sets the height of the component. This method fires the resize event.

\n

Parameters

  • height : Number

    The new height to set. This may be one of:

    \n\n
      \n
    • A Number specifying the new height in the Element's Ext.Element.defaultUnits (by default, pixels).
    • \n
    • A String used to set the CSS height style.
    • \n
    • undefined to leave the height unchanged.
    • \n
    \n\n

Returns

...
\n

Parameters

...
\n

Parameters

This method allows you to show or hide a LoadMask on top of this component. ...

This method allows you to show or hide a LoadMask on top of this component.

\n

Parameters

  • load : Boolean/Object/String

    True 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.

    \n
  • targetEl : Boolean (optional)

    True 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.

    \n

    Defaults to: false

Returns

  • Ext.LoadMask

    The LoadMask instance that has just been shown.

    \n
Overridden in Ext.rtl.AbstractComponent. ...

Overridden in Ext.rtl.AbstractComponent.

\n\n

Sets the local x coordinate of this element using CSS style. When used on an\nabsolute positioned element this method is symmetrical with getLocalX, but\nmay not be symmetrical when used on a relatively positioned element.

\n

Parameters

  • x : Number

    The x coordinate. A value of null sets the left style to 'auto'.

    \n

Returns

Overrides: Ext.util.Positionable.setLocalX

Overridden in Ext.rtl.AbstractComponent. ...

Overridden in Ext.rtl.AbstractComponent.

\n\n

Sets the local x and y coordinates of this element using CSS style. When used on an\nabsolute positioned element this method is symmetrical with getLocalXY, but\nmay not be symmetrical when used on a relatively positioned element.

\n

Parameters

  • x : Number/Array

    The x coordinate or an array containing [x, y]. A value of\nnull sets the left style to 'auto'

    \n
  • y : Number (optional)

    The y coordinate, required if x is not an array. A value of\nnull sets the top style to 'auto'

    \n

Returns

Overrides: Ext.util.Positionable.setLocalXY

Sets the local y coordinate of this element using CSS style. ...

Sets the local y coordinate of this element using CSS style. When used on an\nabsolute positioned element this method is symmetrical with getLocalY, but\nmay not be symmetrical when used on a relatively positioned element.

\n

Parameters

  • y : Number

    The y coordinate. A value of null sets the top style to 'auto'.

    \n

Returns

Overrides: Ext.util.Positionable.setLocalY

Sets the margin on the target element. ...

Sets the margin on the target element.

\n

Parameters

( overflowX, overflowY ) : Ext.Componentchainable
Sets the overflow x/y on the content element of the component. ...

Sets 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.

\n

Parameters

  • overflowX : String

    The overflow-x value.

    \n
  • overflowY : String

    The overflow-y value.

    \n

Returns

Sets the page XY position of the component. ...

Sets the page XY position of the component. To set the left and top instead, use setPosition.\nThis method fires the move event.

\n

Parameters

  • x : Number/Number[]

    The new x position or an array of [x,y].

    \n
  • y : Number (optional)

    The new y position.

    \n
  • animate : Boolean/Object (optional)

    True to animate the Component into its new position. You may also pass an\nanimation configuration.

    \n

Returns

( x, [y], [animate] ) : Ext.Componentchainable
Sets the left and top of the component. ...

Sets the left and top of the component. To set the page XY position instead, use setPagePosition. This\nmethod fires the move event.

\n

Parameters

  • x : Number/Number[]/Object

    The new left, an array of [x,y], or animation config object containing x and y properties.

    \n
  • y : Number (optional)

    The new top.

    \n
  • animate : Boolean/Object (optional)

    If true, the Component is animated into its new position. You may also pass an\nanimation configuration.

    \n

Returns

Sets the field's raw value directly, bypassing value conversion, change detection, and\nvalidation. ...

Sets the field's raw value directly, bypassing value conversion, change detection, and\nvalidation. To set the value with these additional inspections see setValue.

\n

Parameters

  • value : Object

    The value to set

    \n

Returns

  • Object

    value The field value that is set

    \n
Sets the read-only state of this field. ...

Sets the read-only state of this field. This method is the runtime equivalent of setting the 'readOnly' config\noption at config time.

\n

Parameters

  • readOnly : Boolean

    True 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.

    \n

Overrides: Ext.form.field.Base.setReadOnly

Sets the element's position and size to the specified region. ...

Sets the element's position and size to the specified region. If animation is true\nthen width, height, x and y will be animated concurrently.

\n

Parameters

  • region : Ext.util.Region

    The region to fill

    \n
  • animate : Boolean/Object (optional)

    true for the default animation or a standard\nElement animation config object

    \n

Returns

Sets the weight config property for this component. ...

Sets the weight config property for this component. This is only valid if this\ncomponent is in a border layout (Ext.layout.container.Border).

\n\n

Defined in override Ext.layout.container.border.Region.

\n

Parameters

  • weight : Number

    The new weight value.

    \n

Returns

  • Number

    The previous value of the weight property.

    \n
Sets the width and height of this Component. ...

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}.

\n

Parameters

  • width : Number/String/Object

    The new width to set. This may be one of:

    \n\n
      \n
    • A Number specifying the new width in the Element's Ext.Element.defaultUnits (by default, pixels).
    • \n
    • A String used to set the CSS width style.
    • \n
    • A size object in the format {width: widthValue, height: heightValue}.
    • \n
    • undefined to leave the width unchanged.
    • \n
    \n\n
  • height : Number/String

    The new height to set (not required if a size object is passed as the first arg).\nThis may be one of:

    \n\n
      \n
    • A Number specifying the new height in the Element's Ext.Element.defaultUnits (by default, pixels).
    • \n
    • A String used to set the CSS height style. Animation may not be used.
    • \n
    • undefined to leave the height unchanged.
    • \n
    \n\n

Returns

Sets the UI for the component. ...

Sets 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.

\n

Parameters

  • ui : String

    The new UI for the component.

    \n
Ext.form.field.File
view source
( )
Overridden to do nothing ...

Overridden to do nothing

\n

Overrides: Ext.form.field.Text.setValue

Convenience function to hide or show this component by Boolean. ...

Convenience function to hide or show this component by Boolean.

\n

Available since: 1.1.0

\n

Parameters

  • visible : Boolean

    true to show, false to hide.

    \n

Returns

Sets the width of the component. ...

Sets the width of the component. This method fires the resize event.

\n

Parameters

  • width : Number

    The new width to setThis may be one of:

    \n\n\n\n

Returns

Sets the X position of the DOM element based on page coordinates. ...

Sets the X position of the DOM element based on page coordinates.

\n

Parameters

  • The : Number

    X position

    \n
  • animate : Boolean/Object (optional)

    True for the default animation, or a standard\nElement animation config object

    \n

Returns

Overrides: Ext.util.Positionable.setX

Sets the position of the DOM element in page coordinates. ...

Sets the position of the DOM element in page coordinates.

\n

Parameters

  • pos : Number[]

    Contains X & Y [x, y] values for new position (coordinates\nare page-based)

    \n
  • animate : Boolean/Object (optional)

    True for the default animation, or a standard\nElement animation config object

    \n

Returns

Overrides: Ext.util.Positionable.setXY

Sets the Y position of the DOM element based on page coordinates. ...

Sets the Y position of the DOM element based on page coordinates.

\n

Parameters

  • The : Number

    Y position

    \n
  • animate : Boolean/Object (optional)

    True for the default animation, or a standard\nElement animation config object

    \n

Returns

Overrides: Ext.util.Positionable.setY

z-index is managed by the zIndexManager and may be overwritten at any time. ...

z-index is managed by the zIndexManager and may be overwritten at any time.\nReturns the next z-index to be used.\nIf this is a Container, then it will have rebased any managed floating Components,\nand so the next available z-index will be approximately 10000 above that.

\n

Parameters

Inject a reference to the function which applies the render template into the framing template. ...

Inject a reference to the function which applies the render template into the framing template. The framing template\nwraps the content.

\n

Parameters

...
\n

Parameters

( [animateTarget], [callback], [scope] ) : Ext.Componentchainable
Shows this Component, rendering it first if autoRender or floating are true. ...

Shows this Component, rendering it first if autoRender or floating are true.

\n\n

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.

\n

Parameters

  • animateTarget : String/Ext.Element (optional)

    only valid for floating Components such as Windows or ToolTips, or regular Components which have been configured\nwith floating: true. The target from which the Component should animate from while opening.

    \n

    Defaults to: null

  • callback : Function (optional)

    A callback function to call after the Component is displayed.\nOnly necessary if animation was specified.

    \n
  • scope : Object (optional)

    The scope (this reference) in which the callback is executed.\nDefaults to this Component.

    \n

Returns

Overrides: Ext.AbstractComponent.show

( x, [y], [animate] ) : Ext.Componentchainable
Displays component at specific xy position. ...

Displays 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\n
listeners: {\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
\n

Parameters

  • x : Number/Number[]

    The new x position or array of [x,y].

    \n
  • y : Number (optional)

    The new y position

    \n
  • animate : Boolean/Object (optional)

    True to animate the Component into its new position. You may also pass an\nanimation configuration.

    \n

Returns

( component, [position], [offsets] ) : Ext.Componentchainable
Shows this component by the specified Component or Element. ...

Shows this component by the specified Component or Element.\nUsed when this component is floating.

\n

Parameters

Returns

Get the reference to the class from which this object was instantiated. ...

Get 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

\n\n
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
\n

Returns

Stops any running effects and clears this object's internal effects queue if it contains any additional effects\nthat ...

Stops any running effects and clears this object's internal effects queue if it contains any additional effects\nthat haven't started yet.

\n

Returns

Stops any running effects and clears this object's internal effects queue if it contains any additional effects\nthat ...

Stops any running effects and clears this object's internal effects queue if it contains any additional effects\nthat haven't started yet.

\n
\n

This method has been deprecated since 4.0

\n

Replaced by stopAnimation

\n\n
\n

Returns

Suspends firing of the named event(s). ...

Suspends firing of the named event(s).

\n\n

After calling this method to suspend events, the events will no longer fire when requested to fire.

\n\n

Note that if this is called multiple times for a certain event, the converse method\nresumeEvent will have to be called the same number of times for it to resume firing.

\n

Parameters

  • eventName : String...

    Multiple event names to suspend.

    \n
Suspends the firing of all events. ...

Suspends the firing of all events. (see resumeEvents)

\n

Parameters

  • queueSuspended : Boolean

    Pass as true to queue up suspended events to be fired\nafter the resumeEvents call instead of discarding all suspended events.

    \n
Ensures that all effects queued after syncFx is called on this object are run concurrently. ...

Ensures that all effects queued after syncFx is called on this object are run concurrently. This is the opposite\nof sequenceFx.

\n

Returns

synchronizes the hidden state of this component with the state of its hierarchy ...

synchronizes the hidden state of this component with the state of its hierarchy

\n
Sends this Component to the back of (lower z-index than) any other visible windows ...

Sends this Component to the back of (lower z-index than) any other visible windows

\n

Returns

Brings this floating Component to the front of any other visible, floating Components managed by the same\nZIndexManag...

Brings this floating Component to the front of any other visible, floating Components managed by the same\nZIndexManager

\n\n

If this Component is modal, inserts the modal mask just below this Component in the z-index stack.

\n

Parameters

  • preventFocus : Boolean (optional)

    Specify true to prevent the Component from being focused.

    \n

    Defaults to: false

Returns

Allows for any necessary modifications before the original\nvalue is set ...

Allows for any necessary modifications before the original\nvalue is set

\n

Parameters

  • value : Object

    The initial value

    \n

Returns

  • Object

    The modified initial value

    \n
Transform the raw value before it is set ...

Transform the raw value before it is set

\n

Parameters

Returns

Translates the passed page coordinates into left/top css values for the element ...

Translates the passed page coordinates into left/top css values for the element

\n

Parameters

  • x : Number/Array

    The page x or an array containing [x, y]

    \n
  • y : Number (optional)

    The page y, required if x is not an array

    \n

Returns

  • Object

    An object with left and top properties. e.g.\n{left: (value), top: (value)}

    \n
Translates the passed page coordinates into x and y css values for the element ...

Translates the passed page coordinates into x and y css values for the element

\n

Parameters

  • x : Number/Array

    The page x or an array containing [x, y]

    \n
  • y : Number (optional)

    The page y, required if x is not an array

    \n

Returns

  • Object

    An object with x and y properties. e.g.\n{x: (value), y: (value)}

    \n
Returns the trimmed label by slicing off the label separator character. ...

Returns the trimmed label by slicing off the label separator character. Can be overridden.

\n

Returns

  • String

    The trimmed field label, or empty string if not defined

    \n
( eventName, fn, [scope] )
Shorthand for removeListener. ...

Shorthand for removeListener.

\n\n

Removes an event handler.

\n

Parameters

  • eventName : String

    The type of event the handler was associated with.

    \n\n
  • fn : Function

    The handler to remove. This must be a reference to the function passed into the\naddListener call.

    \n\n
  • scope : Object (optional)

    The 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\n
Overridden in Ext.rtl.AbstractComponent. ...

Overridden in Ext.rtl.AbstractComponent.

\n

Parameters

Clears the active error message(s). ...

Clears 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.

\n
Navigates up the ownership hierarchy searching for an ancestor Container which matches any passed simple selector or ...

Navigates up the ownership hierarchy searching for an ancestor Container which matches any passed simple selector or component.

\n\n

Important. There is not a universal upwards navigation pointer. There are several upwards relationships\nsuch as the button which activates a menu, or the\nmenu item which activated a submenu, or the\ncolumn header which activated the column menu.

\n\n

These differences are abstracted away by this method.

\n\n

Example:

\n\n
var owningTabPanel = grid.up('tabpanel');\n
\n

Parameters

  • selector : String/Ext.Component (optional)

    The simple selector component or actual component to test. If not passed the immediate owner/activater is returned.

    \n
  • limit : String/Number/Ext.Component (optional)

    This may be a selector upon which to stop the upward scan, or a limit of teh number of steps, or Component reference to stop on.

    \n

Returns

( htmlOrData, [loadScripts], [callback] )
Update the content area of a component. ...

Update the content area of a component.

\n

Available since: 3.4.0

\n

Parameters

  • htmlOrData : String/Object

    If 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.

    \n
  • loadScripts : Boolean (optional)

    Only legitimate when using the html configuration.

    \n

    Defaults to: false

  • callback : Function (optional)

    Only legitimate when using the html configuration. Callback to execute when\nscripts have finished loading.

    \n
Injected as an override by Ext.Aria.initialize ...

Injected as an override by Ext.Aria.initialize

\n
Sets the current box measurements of the component's underlying element. ...

Sets the current box measurements of the component's underlying element.

\n

Parameters

  • box : Object

    An object in the format {x, y, width, height}

    \n

Returns

Updates this component's layout. ...

Updates this component's layout. If this update affects this components ownerCt,\nthat component's updateLayout method will be called to perform the layout instead.\nOtherwise, just this component (and its child items) will layout.

\n

Parameters

  • options : Object (optional)

    An object with layout options.

    \n
    • defer : Boolean

      true if this layout should be deferred.

      \n
    • isRoot : Boolean

      true if this layout should be the root of the layout.

      \n
Returns whether or not the field value is currently valid by validating the field's current\nvalue, and fires the vali...

Returns 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\n

Custom implementations of this method are allowed to have side-effects such as triggering error message display.\nTo validate without side-effects, use isValid.

\n

Returns

  • Boolean

    True if the value is valid, else false

    \n
This should be overridden by any subclass that needs to check whether or not the field can be blurred. ...

This should be overridden by any subclass that needs to check whether or not the field can be blurred.

\n

Parameters

Uses getErrors to build an array of validation errors. ...

Uses 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\n

Previously, subclasses were invited to provide an implementation of this to process validations - from 3.2\nonwards getErrors should be overridden instead.

\n

Parameters

  • value : Object

    The value to validate

    \n

Returns

  • Boolean

    True if all validations passed, false if one or more failed

    \n
Converts a mixed-type value to a raw representation suitable for displaying in the field. ...

Converts 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\n

See rawToValue for the opposite conversion.

\n\n

The base implementation simply does a standard toString conversion, and converts empty values\nto an empty string.

\n

Parameters

  • value : Object

    The mixed-type value to convert to the raw representation.

    \n

Returns

  • Object

    The converted raw value.

    \n
Defined By

Static Methods

( config )privatestatic
...
\n

Parameters

( members )chainableprivatestatic
...
\n

Parameters

( name, member )chainableprivatestatic
...
\n

Parameters

( members )chainablestatic
Add methods / properties to the prototype of this class. ...

Add methods / properties to the prototype of this class.

\n\n
Ext.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
\n

Parameters

( members ) : Ext.Basechainablestatic
Add / override static properties of this class. ...

Add / override static properties of this class.

\n\n
Ext.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
\n

Parameters

Returns

( xtype )chainableprivatestatic
...
\n

Parameters

( fromClass, members ) : Ext.Basechainableprivatestatic
Borrow another class' members to the prototype of this class. ...

Borrow another class' members to the prototype of this class.

\n\n
Ext.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
\n

Parameters

  • fromClass : Ext.Base

    The class to borrow members from

    \n
  • members : Array/String

    The names of the members to borrow

    \n

Returns

Create a new instance of this Class. ...

Create a new instance of this Class.

\n\n
Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.create({\n    someConfig: true\n});\n
\n\n

All parameters are passed to the constructor of the class.

\n

Returns

( alias, origin )static
Create aliases for existing prototype methods. ...

Create aliases for existing prototype methods. Example:

\n\n
Ext.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
\n

Parameters

( config )privatestatic
...
\n

Parameters

Get the current class' name in string format. ...

Get the current class' name in string format.

\n\n
Ext.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
\n

Returns

( )deprecatedstatic
Adds members to class. ...

Adds members to class.

\n
\n

This method has been deprecated since 4.1

\n

Use addMembers instead.

\n\n
\n
( name, mixinClass )privatestatic
Used internally by the mixins pre-processor ...

Used internally by the mixins pre-processor

\n

Parameters

( fn, scope )chainableprivatestatic
...
\n

Parameters

( members ) : Ext.Basechainabledeprecatedstatic
Override members of this class. ...

Override members of this class. Overridden methods can be invoked via\ncallParent.

\n\n
Ext.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\n

As of 4.1, direct use of this method is deprecated. Use Ext.define\ninstead:

\n\n
Ext.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\n

The 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).

\n
\n

This method has been deprecated since 4.1.0

\n

Use Ext.define instead

\n\n
\n

Parameters

  • members : Object

    The properties to add to this class. This should be\nspecified as an object literal containing one or more properties.

    \n

Returns

Defined By

Events

Fires after a Component has been visually activated. ...

Fires after a Component has been visually activated.

\n

Parameters

( this, container, pos, eOpts )
Fires after a Component had been added to a Container. ...

Fires after a Component had been added to a Container.

\n

Available since: 3.4.0

\n

Parameters

Fires after the component rendering is finished. ...

Fires after the component rendering is finished.

\n\n

The afterrender event is fired after this Component has been rendered, been postprocessed by any\nafterRender method defined for the Component.

\n

Available since: 3.4.0

\n

Parameters

Fires when the autoSize function is triggered and the field is resized according to the\ngrow/growMin/growMax configs ...

Fires 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.

\n

Parameters

Fires before a Component has been visually activated. ...

Fires before a Component has been visually activated. Returning false from an event listener can prevent\nthe activate from occurring.

\n

Parameters

Fires before a Component has been visually deactivated. ...

Fires before a Component has been visually deactivated. Returning false from an event listener can\nprevent the deactivate from occurring.

\n

Parameters

Fires before the component is destroyed. ...

Fires before the component is destroyed. Return false from an event handler to stop the\ndestroy.

\n

Available since: 1.1.0

\n

Parameters

Fires before the component is hidden when calling the hide method. ...

Fires before the component is hidden when calling the hide method. Return false from an event\nhandler to stop the hide.

\n

Available since: 1.1.0

\n

Parameters

Fires before the component is rendered. ...

Fires before the component is rendered. Return false from an event handler to stop the\nrender.

\n

Available since: 1.1.0

\n

Parameters

Fires before the component is shown when calling the show method. ...

Fires before the component is shown when calling the show method. Return false from an event\nhandler to stop the show.

\n

Available since: 1.1.0

\n

Parameters

Fires before the state of the object is restored. ...

Fires before the state of the object is restored. Return false from an event handler to stop the restore.

\n

Parameters

  • this : Ext.state.Stateful
    \n
  • state : Object

    The 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.

    \n
  • eOpts : Object

    The options object passed to Ext.util.Observable.addListener.

    \n\n\n\n
Fires before the state of the object is saved to the configured state provider. ...

Fires before the state of the object is saved to the configured state provider. Return false to stop the save.

\n

Parameters

Fires when this Component loses focus. ...

Fires when this Component loses focus.

\n

Parameters

( this, width, height, eOpts )
Fires one time - after the component has been laid out for the first time at its initial size. ...

Fires one time - after the component has been laid out for the first time at its initial size.

\n

Parameters

Ext.form.field.File
view source
( this, value, eOpts )
Fires when the underlying file input field's value has changed from the user selecting a new file from the system\nfil...

Fires when the underlying file input field's value has changed from the user selecting a new file from the system\nfile selection dialog.

\n

Parameters

Overrides: Ext.form.field.Field.change

Fires after a Component has been visually deactivated. ...

Fires after a Component has been visually deactivated.

\n

Parameters

Fires after the component is destroyed. ...

Fires after the component is destroyed.

\n

Available since: 1.1.0

\n

Parameters

Fires when a change in the field's isDirty state is detected. ...

Fires when a change in the field's isDirty state is detected.

\n

Parameters

Fires after the component is disabled. ...

Fires after the component is disabled.

\n

Available since: 1.1.0

\n

Parameters

Fires after the component is enabled. ...

Fires after the component is enabled.

\n

Available since: 1.1.0

\n

Parameters

Fires when the active error message is changed via setActiveError. ...

Fires when the active error message is changed via setActiveError.

\n

Parameters

Fires when this Component receives focus. ...

Fires when this Component receives focus.

\n

Parameters

Fires after the component is hidden. ...

Fires after the component is hidden. Fires after the component is hidden when calling the hide\nmethod.

\n

Available since: 1.1.0

\n

Parameters

Keydown input field event. ...

Keydown input field event. This event only fires if enableKeyEvents is set to true.

\n

Parameters

Keypress input field event. ...

Keypress input field event. This event only fires if enableKeyEvents is set to true.

\n

Parameters

Keyup input field event. ...

Keyup input field event. This event only fires if enableKeyEvents is set to true.

\n

Parameters

Fires after the component is moved. ...

Fires after the component is moved.

\n

Parameters

Fires when a component is removed from an Ext.container.Container ...

Fires when a component is removed from an Ext.container.Container

\n

Available since: 3.4.0

\n

Parameters

Fires after the component markup is rendered. ...

Fires after the component markup is rendered.

\n

Available since: 1.1.0

\n

Parameters

( this, width, height, oldWidth, oldHeight, eOpts )
Fires after the component is resized. ...

Fires after the component is resized. Note that this does not fire when the component is first laid out at its initial\nsize. To hook that point in the life cycle, use the boxready event.

\n

Parameters

Fires after the component is shown when calling the show method. ...

Fires after the component is shown when calling the show method.

\n

Available since: 1.1.0

\n

Parameters

Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. ...

Fires 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\n
var 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
\n

Parameters

Fires after the state of the object is restored. ...

Fires after the state of the object is restored.

\n

Parameters

  • this : Ext.state.Stateful
    \n
  • state : Object

    The 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.

    \n
  • eOpts : Object

    The options object passed to Ext.util.Observable.addListener.

    \n\n\n\n
Fires after the state of the object is saved to the configured state provider. ...

Fires after the state of the object is saved to the configured state provider.

\n

Parameters

Fires when a change in the field's validity is detected. ...

Fires when a change in the field's validity is detected.

\n

Parameters

Fires when this field changes its read-only status. ...

Fires when this field changes its read-only status.

\n

Parameters

Defined By

CSS Variables

Height for form error icons. ...

Height for form error icons.

\n

Defaults to: 16px

Margin for error icons that are aligned to the side of the field ...

Margin for error icons that are aligned to the side of the field

\n

Defaults to: 0 1px

Width for form error icons. ...

Width for form error icons.

\n

Defaults to: 16px

The text color of form error messages ...

The text color of form error messages

\n

Defaults to: $form-field-invalid-border-color

The font-family of form error messages ...

The font-family of form error messages

\n

Defaults to: $font-family

The font-size of form error messages ...

The font-size of form error messages

\n

Defaults to: $font-size

The font-weight of form error messages ...

The font-weight of form error messages

\n

Defaults to: normal

The line-height of form error messages ...

The line-height of form error messages

\n

Defaults to: $form-error-icon-height

The space between the icon and the message for errors that display under the field ...

The space between the icon and the message for errors that display under the field

\n

Defaults to: 4px

The padding on errors that display under the form field ...

The padding on errors that display under the form field

\n

Defaults to: 2px 2px 2px 0

Background color for form fields. ...

Background color for form fields.

\n

Defaults to: #fff

Background image for form fields. ...

Background image for form fields.

\n

Defaults to: 'form/text-bg'

Border color for form fields. ...

Border color for form fields.

\n

Defaults to: $neutral-color

Border style for form fields. ...

Border style for form fields.

\n

Defaults to: solid

Border width for form fields. ...

Border width for form fields.

\n

Defaults to: 1px

Text color for form fields. ...

Text color for form fields.

\n

Defaults to: $color

Text color for empty form fields. ...

Text color for empty form fields.

\n

Defaults to: gray

Border color for focused form fields. ...

Border color for focused form fields.

\n

Defaults to: $base-color

Font for form fields. ...

Font for form fields.

\n

Defaults to: $form-field-font-weight $form-field-font-size $form-field-font-family

Font family for form fields. ...

Font family for form fields.

\n

Defaults to: $font-family

Font size for form fields. ...

Font size for form fields.

\n

Defaults to: $font-size

Font weight for form fields. ...

Font weight for form fields.

\n

Defaults to: normal

Height for form fields. ...

Height for form fields.

\n

Defaults to: 22px

Background color for invalid form fields. ...

Background color for invalid form fields.

\n

Defaults to: #fff

Background image for invalid form fields. ...

Background image for invalid form fields.

\n

Defaults to: 'grid/invalid_line'

Background position for invalid form fields. ...

Background position for invalid form fields.

\n

Defaults to: bottom

Background repeat for invalid form fields. ...

Background repeat for invalid form fields.

\n

Defaults to: repeat-x

Border color for invalid form fields. ...

Border color for invalid form fields.

\n

Defaults to: #c30

Padding around form fields. ...

Padding around form fields.

\n

Defaults to: 1px 3px 2px

The bottom margin to apply to form items when in auto, anchor, vbox, or table layout ...

The bottom margin to apply to form items when in auto, anchor, vbox, or table layout

\n

Defaults to: 5px

The text color of form field labels ...

The text color of form field labels

\n

Defaults to: $color

The font-family of form field labels ...

The font-family of form field labels

\n

Defaults to: $font-family

The font-size of form field labels ...

The font-size of form field labels

\n

Defaults to: $font-size

The font-weight of form field labels ...

The font-weight of form field labels

\n

Defaults to: normal

The line-height of form field labels ...

The line-height of form field labels

\n

Defaults to: round ( $form-label-font-size * 1.15 )

Font for toolbar form fields. ...

Font for toolbar form fields.

\n

Defaults to: $form-toolbar-field-font-weight $form-toolbar-field-font-size $form-toolbar-field-font-family

Font family for toolbar form fields. ...

Font family for toolbar form fields.

\n

Defaults to: $form-field-font-family

Font size for toolbar form fields. ...

Font size for toolbar form fields.

\n

Defaults to: $form-field-font-size

Font weight for toolbar form fields. ...

Font weight for toolbar form fields.

\n

Defaults to: $form-field-font-weight

Height for form fields in toolbar. ...

Height for form fields in toolbar.

\n

Defaults to: $form-field-height

The text color of toolbar field labels ...

The text color of toolbar field labels

\n

Defaults to: $color

The font-family of toolbar field labels ...

The font-family of toolbar field labels

\n

Defaults to: $font-family

The font-size of toolbar field labels ...

The font-size of toolbar field labels

\n

Defaults to: $font-size

The font-weight of toolbar field labels ...

The font-weight of toolbar field labels

\n

Defaults to: normal

The line-height of toolbar field labels ...

The line-height of toolbar field labels

\n

Defaults to: round ( $form-toolbar-label-font-size * 1.15 )

The color of the trigger's border ...

The color of the trigger's border

\n

Defaults to: $form-field-border-color

The color of the trigger's border when the field is focused ...

The color of the trigger's border when the field is focused

\n

Defaults to: $form-field-focus-border-color

The color of the trigger's border when hovered ...

The color of the trigger's border when hovered

\n

Defaults to: $form-field-border-color

The color of the trigger's border when the field is focused and the trigger is hovered ...

The color of the trigger's border when the field is focused and the trigger is hovered

\n

Defaults to: $form-trigger-border-color-over

The style of the trigger's border ...

The style of the trigger's border

\n

Defaults to: $form-field-border-style

The width of the trigger's border ...

The width of the trigger's border

\n

Defaults to: 0

The width of the Trigger field's trigger element ...

The width of the Trigger field's trigger element

\n

Defaults to: 22px

","superclasses":["Ext.Base","Ext.AbstractComponent","Ext.Component","Ext.form.field.Base","Ext.form.field.Text","Ext.form.field.Trigger"],"meta":{"docauthor":["Jason Johnston "]},"code_type":"ext_define","requires":["Ext.form.field.FileButton"],"html_meta":{"docauthor":null},"statics":{"property":[{"tagname":"property","owner":"Ext.Base","meta":{"static":true,"private":true},"name":"$onExtended","id":"static-property-S-onExtended"}],"cfg":[],"css_var":[],"method":[{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"private":true},"name":"addConfig","id":"static-method-addConfig"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true,"private":true},"name":"addInheritableStatics","id":"static-method-addInheritableStatics"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true,"private":true},"name":"addMember","id":"static-method-addMember"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true},"name":"addMembers","id":"static-method-addMembers"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true},"name":"addStatics","id":"static-method-addStatics"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true,"private":true},"name":"addXtype","id":"static-method-addXtype"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true,"private":true},"name":"borrow","id":"static-method-borrow"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true},"name":"create","id":"static-method-create"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true},"name":"createAlias","id":"static-method-createAlias"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"private":true},"name":"extend","id":"static-method-extend"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true},"name":"getName","id":"static-method-getName"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"deprecated":{"text":"Use {@link #addMembers} instead.","version":"4.1"}},"name":"implement","id":"static-method-implement"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"private":true},"name":"mixin","id":"static-method-mixin"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true,"private":true},"name":"onExtended","id":"static-method-onExtended"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"chainable":true,"markdown":true,"deprecated":{"text":"Use {@link Ext#define Ext.define} instead","version":"4.1.0"}},"name":"override","id":"static-method-override"},{"tagname":"method","owner":"Ext.Base","meta":{"static":true,"private":true},"name":"triggerExtended","id":"static-method-triggerExtended"}],"event":[],"css_mixin":[]},"files":[{"href":"File.html#Ext-form-field-File","filename":"File.js"}],"linenr":1,"members":{"property":[{"tagname":"property","owner":"Ext.Base","meta":{"private":true},"name":"$className","id":"property-S-className"},{"tagname":"property","owner":"Ext.util.Positionable","meta":{"private":true},"name":"_alignRe","id":"property-_alignRe"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"protected":true},"name":"_isLayoutRoot","id":"property-_isLayoutRoot"},{"tagname":"property","owner":"Ext.util.Positionable","meta":{"private":true},"name":"_positionTopLeft","id":"property-_positionTopLeft"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"allowDomMove","id":"property-allowDomMove"},{"tagname":"property","owner":"Ext.form.Labelable","meta":{"private":true},"name":"autoEl","id":"property-autoEl"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"autoGenId","id":"property-autoGenId"},{"tagname":"property","owner":"Ext.form.Labelable","meta":{},"name":"bodyEl","id":"property-bodyEl"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"borderBoxCls","id":"property-borderBoxCls"},{"tagname":"property","owner":"Ext.Component","meta":{"private":true},"name":"bubbleEvents","id":"property-bubbleEvents"},{"tagname":"property","owner":"Ext.form.field.File","meta":{},"name":"button","id":"property-button"},{"tagname":"property","owner":"Ext.form.field.File","meta":{"private":true},"name":"childEls","id":"property-childEls"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"componentLayoutCounter","id":"property-componentLayoutCounter"},{"tagname":"property","owner":"Ext.Base","meta":{"private":true},"name":"configMap","id":"property-configMap"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{},"name":"contentPaddingProperty","id":"property-contentPaddingProperty"},{"tagname":"property","owner":"Ext.util.Positionable","meta":{"private":true},"name":"convertPositionSpec","id":"property-convertPositionSpec"},{"tagname":"property","owner":"Ext.Component","meta":{"private":true},"name":"defaultComponentLayoutType","id":"property-defaultComponentLayoutType"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"deferLayouts","id":"property-deferLayouts"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"readonly":true},"name":"draggable","id":"property-draggable"},{"tagname":"property","owner":"Ext.form.Labelable","meta":{},"name":"errorEl","id":"property-errorEl"},{"tagname":"property","owner":"Ext.util.Observable","meta":{"private":true},"name":"eventsSuspended","id":"property-eventsSuspended"},{"tagname":"property","owner":"Ext.form.field.File","meta":{"private":true},"name":"extraFieldBodyCls","id":"property-extraFieldBodyCls"},{"tagname":"property","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"extraTriggerCls","id":"property-extraTriggerCls"},{"tagname":"property","owner":"Ext.form.field.File","meta":{},"name":"fileInputEl","id":"property-fileInputEl"},{"tagname":"property","owner":"Ext.Component","meta":{"readonly":true},"name":"floatParent","id":"property-floatParent"},{"tagname":"property","owner":"Ext.util.Renderable","meta":{"private":true},"name":"frameCls","id":"property-frameCls"},{"tagname":"property","owner":"Ext.util.Renderable","meta":{"private":true},"name":"frameElNames","id":"property-frameElNames"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"frameElementsArray","id":"property-frameElementsArray"},{"tagname":"property","owner":"Ext.util.Renderable","meta":{"private":true},"name":"frameIdRegex","id":"property-frameIdRegex"},{"tagname":"property","owner":"Ext.util.Renderable","meta":{"private":true},"name":"frameInfoCache","id":"property-frameInfoCache"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"readonly":true},"name":"frameSize","id":"property-frameSize"},{"tagname":"property","owner":"Ext.util.Renderable","meta":{"private":true},"name":"frameTableTpl","id":"property-frameTableTpl"},{"tagname":"property","owner":"Ext.util.Renderable","meta":{"private":true},"name":"frameTpl","id":"property-frameTpl"},{"tagname":"property","owner":"Ext.form.field.Base","meta":{"private":true},"name":"hasFocus","id":"property-hasFocus"},{"tagname":"property","owner":"Ext.util.Observable","meta":{"readonly":true},"name":"hasListeners","id":"property-hasListeners"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"horizontalPosProp","id":"property-horizontalPosProp"},{"tagname":"property","owner":"Ext.form.Labelable","meta":{"private":true},"name":"htmlActiveErrorsTpl","id":"property-htmlActiveErrorsTpl"},{"tagname":"property","owner":"Ext.Base","meta":{"private":true},"name":"initConfigList","id":"property-initConfigList"},{"tagname":"property","owner":"Ext.Base","meta":{"private":true},"name":"initConfigMap","id":"property-initConfigMap"},{"tagname":"property","owner":"Ext.form.field.Trigger","meta":{},"name":"inputCell","id":"property-inputCell"},{"tagname":"property","owner":"Ext.form.field.Base","meta":{},"name":"inputEl","id":"property-inputEl"},{"tagname":"property","owner":"Ext.form.Labelable","meta":{"private":true},"name":"inputRowCls","id":"property-inputRowCls"},{"tagname":"property","owner":"Ext.util.Animate","meta":{"private":true},"name":"isAnimate","id":"property-isAnimate"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{},"name":"isComponent","id":"property-isComponent"},{"tagname":"property","owner":"Ext.form.Labelable","meta":{},"name":"isFieldLabelable","id":"property-isFieldLabelable"},{"tagname":"property","owner":"Ext.form.field.Field","meta":{},"name":"isFormField","id":"property-isFormField"},{"tagname":"property","owner":"Ext.Base","meta":{"private":true},"name":"isInstance","id":"property-isInstance"},{"tagname":"property","owner":"Ext.util.Observable","meta":{},"name":"isObservable","id":"property-isObservable"},{"tagname":"property","owner":"Ext.form.Labelable","meta":{},"name":"labelCell","id":"property-labelCell"},{"tagname":"property","owner":"Ext.form.Labelable","meta":{},"name":"labelEl","id":"property-labelEl"},{"tagname":"property","owner":"Ext.form.Labelable","meta":{"private":true},"name":"labelableInsertions","id":"property-labelableInsertions"},{"tagname":"property","owner":"Ext.form.Labelable","meta":{"private":true},"name":"labelableRenderProps","id":"property-labelableRenderProps"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"layoutSuspendCount","id":"property-layoutSuspendCount"},{"tagname":"property","owner":"Ext.form.field.Base","meta":{},"name":"maskOnDisable","id":"property-maskOnDisable"},{"tagname":"property","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"mimicing","id":"property-mimicing"},{"tagname":"property","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"monitorTab","id":"property-monitorTab"},{"tagname":"property","owner":"Ext.form.Labelable","meta":{"private":true},"name":"noWrap","id":"property-noWrap"},{"tagname":"property","owner":"Ext.Component","meta":{"private":true},"name":"offsetsCls","id":"property-offsetsCls"},{"tagname":"property","owner":"Ext.form.field.Field","meta":{},"name":"originalValue","id":"property-originalValue"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"since":"2.3.0","readonly":true},"name":"ownerCt","id":"property-ownerCt"},{"tagname":"property","owner":"Ext.form.Labelable","meta":{"private":true},"name":"plaintextActiveErrorsTpl","id":"property-plaintextActiveErrorsTpl"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0","readonly":true},"name":"rendered","id":"property-rendered"},{"tagname":"property","owner":"Ext.Component","meta":{"readonly":true},"name":"scrollFlags","id":"property-scrollFlags"},{"tagname":"property","owner":"Ext.Base","meta":{"protected":true},"name":"self","id":"property-self"},{"tagname":"property","owner":"Ext.form.field.Base","meta":{"private":true},"name":"stretchInputElFixed","id":"property-stretchInputElFixed"},{"tagname":"property","owner":"Ext.form.field.Base","meta":{"private":true},"name":"subTplInsertions","id":"property-subTplInsertions"},{"tagname":"property","owner":"Ext.form.field.Field","meta":{"private":true},"name":"suspendCheckChange","id":"property-suspendCheckChange"},{"tagname":"property","owner":"Ext.form.field.Trigger","meta":{},"name":"triggerEl","id":"property-triggerEl"},{"tagname":"property","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"triggerIndexRe","id":"property-triggerIndexRe"},{"tagname":"property","owner":"Ext.form.field.File","meta":{"private":true},"name":"triggerNoEditCls","id":"property-triggerNoEditCls"},{"tagname":"property","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"triggerWidth","id":"property-triggerWidth"},{"tagname":"property","owner":"Ext.form.field.Trigger","meta":{},"name":"triggerWrap","id":"property-triggerWrap"},{"tagname":"property","owner":"Ext.form.field.Text","meta":{"private":true},"name":"valueContainsPlaceholder","id":"property-valueContainsPlaceholder"},{"tagname":"property","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"weight","id":"property-weight"},{"tagname":"property","owner":"Ext.form.Labelable","meta":{"private":true},"name":"xhooks","id":"property-xhooks"},{"tagname":"property","owner":"Ext.Component","meta":{"readonly":true},"name":"zIndexManager","id":"property-zIndexManager"},{"tagname":"property","owner":"Ext.Component","meta":{"readonly":true},"name":"zIndexParent","id":"property-zIndexParent"}],"cfg":[{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"activeError","id":"cfg-activeError"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"activeErrorsTpl","id":"cfg-activeErrorsTpl"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"afterBodyEl","id":"cfg-afterBodyEl"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"afterLabelTextTpl","id":"cfg-afterLabelTextTpl"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"afterLabelTpl","id":"cfg-afterLabelTpl"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"afterSubTpl","id":"cfg-afterSubTpl"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"allowBlank","id":"cfg-allowBlank"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"allowOnlyWhitespace","id":"cfg-allowOnlyWhitespace"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"2.3.0"},"name":"autoEl","id":"cfg-autoEl"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"autoFitErrors","id":"cfg-autoFitErrors"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"deprecated":{"text":"Use {@link #loader} config instead.","version":"4.1.1"}},"name":"autoLoad","id":"cfg-autoLoad"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"autoRender","id":"cfg-autoRender"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"autoScroll","id":"cfg-autoScroll"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"2.3.0"},"name":"autoShow","id":"cfg-autoShow"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"baseBodyCls","id":"cfg-baseBodyCls"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"baseCls","id":"cfg-baseCls"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"beforeBodyEl","id":"cfg-beforeBodyEl"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"beforeLabelTextTpl","id":"cfg-beforeLabelTextTpl"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"beforeLabelTpl","id":"cfg-beforeLabelTpl"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"beforeSubTpl","id":"cfg-beforeSubTpl"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"blankText","id":"cfg-blankText"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"border","id":"cfg-border"},{"tagname":"cfg","owner":"Ext.form.field.File","meta":{},"name":"buttonConfig","id":"cfg-buttonConfig"},{"tagname":"cfg","owner":"Ext.form.field.File","meta":{},"name":"buttonMargin","id":"cfg-buttonMargin"},{"tagname":"cfg","owner":"Ext.form.field.File","meta":{},"name":"buttonOnly","id":"cfg-buttonOnly"},{"tagname":"cfg","owner":"Ext.form.field.File","meta":{},"name":"buttonText","id":"cfg-buttonText"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"checkChangeBuffer","id":"cfg-checkChangeBuffer"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"checkChangeEvents","id":"cfg-checkChangeEvents"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"childEls","id":"cfg-childEls"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"clearCls","id":"cfg-clearCls"},{"tagname":"cfg","owner":"Ext.form.field.File","meta":{},"name":"clearOnSubmit","id":"cfg-clearOnSubmit"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"cls","id":"cfg-cls"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"columnWidth","id":"cfg-columnWidth"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"componentCls","id":"cfg-componentCls"},{"tagname":"cfg","owner":"Ext.form.field.File","meta":{},"name":"componentLayout","id":"cfg-componentLayout"},{"tagname":"cfg","owner":"Ext.util.Floating","meta":{},"name":"constrain","id":"cfg-constrain"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"constrainTo","id":"cfg-constrainTo"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"constraintInsets","id":"cfg-constraintInsets"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"3.4.0"},"name":"contentEl","id":"cfg-contentEl"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"3.4.0"},"name":"data","id":"cfg-data"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"defaultAlign","id":"cfg-defaultAlign"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"dirtyCls","id":"cfg-dirtyCls"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"disableKeyFilter","id":"cfg-disableKeyFilter"},{"tagname":"cfg","owner":"Ext.form.field.Field","meta":{},"name":"disabled","id":"cfg-disabled"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"disabledCls","id":"cfg-disabledCls"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"draggable","id":"cfg-draggable"},{"tagname":"cfg","owner":"Ext.form.field.Trigger","meta":{},"name":"editable","id":"cfg-editable"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"emptyCls","id":"cfg-emptyCls"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"emptyText","id":"cfg-emptyText"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"enableKeyEvents","id":"cfg-enableKeyEvents"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"enforceMaxLength","id":"cfg-enforceMaxLength"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"errorMsgCls","id":"cfg-errorMsgCls"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"fieldBodyCls","id":"cfg-fieldBodyCls"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"fieldCls","id":"cfg-fieldCls"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"fieldLabel","id":"cfg-fieldLabel"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"fieldStyle","id":"cfg-fieldStyle"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{"private":true},"name":"fieldSubTpl","id":"cfg-fieldSubTpl"},{"tagname":"cfg","owner":"Ext.util.Floating","meta":{},"name":"fixed","id":"cfg-fixed"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"floating","id":"cfg-floating"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"focusCls","id":"cfg-focusCls"},{"tagname":"cfg","owner":"Ext.util.Floating","meta":{},"name":"focusOnToFront","id":"cfg-focusOnToFront"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"formBind","id":"cfg-formBind"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"formItemCls","id":"cfg-formItemCls"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"frame","id":"cfg-frame"},{"tagname":"cfg","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"grow","id":"cfg-grow"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"growAppend","id":"cfg-growAppend"},{"tagname":"cfg","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"growMax","id":"cfg-growMax"},{"tagname":"cfg","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"growMin","id":"cfg-growMin"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"height","id":"cfg-height"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"2.3.0"},"name":"hidden","id":"cfg-hidden"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"hideEmptyLabel","id":"cfg-hideEmptyLabel"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"hideLabel","id":"cfg-hideLabel"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"hideMode","id":"cfg-hideMode"},{"tagname":"cfg","owner":"Ext.form.field.Trigger","meta":{},"name":"hideTrigger","id":"cfg-hideTrigger"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"3.4.0"},"name":"html","id":"cfg-html"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"id","id":"cfg-id"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"inputAttrTpl","id":"cfg-inputAttrTpl"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"inputId","id":"cfg-inputId"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"inputType","id":"cfg-inputType"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"invalidCls","id":"cfg-invalidCls"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"invalidText","id":"cfg-invalidText"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"3.4.0"},"name":"itemId","id":"cfg-itemId"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"labelAlign","id":"cfg-labelAlign"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"labelAttrTpl","id":"cfg-labelAttrTpl"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"labelCls","id":"cfg-labelCls"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"labelClsExtra","id":"cfg-labelClsExtra"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"labelPad","id":"cfg-labelPad"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"labelSeparator","id":"cfg-labelSeparator"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"labelStyle","id":"cfg-labelStyle"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"labelWidth","id":"cfg-labelWidth"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{"private":true},"name":"labelableRenderTpl","id":"cfg-labelableRenderTpl"},{"tagname":"cfg","owner":"Ext.util.Observable","meta":{},"name":"listeners","id":"cfg-listeners"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"loader","id":"cfg-loader"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"margin","id":"cfg-margin"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"maskRe","id":"cfg-maskRe"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"maxHeight","id":"cfg-maxHeight"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"maxLength","id":"cfg-maxLength"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"maxLengthText","id":"cfg-maxLengthText"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"maxWidth","id":"cfg-maxWidth"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"minHeight","id":"cfg-minHeight"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"minLength","id":"cfg-minLength"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"minLengthText","id":"cfg-minLengthText"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"minWidth","id":"cfg-minWidth"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"msgTarget","id":"cfg-msgTarget"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"name","id":"cfg-name"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"2.3.0"},"name":"overCls","id":"cfg-overCls"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"overflowX","id":"cfg-overflowX"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"overflowY","id":"cfg-overflowY"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"padding","id":"cfg-padding"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"2.3.0"},"name":"plugins","id":"cfg-plugins"},{"tagname":"cfg","owner":"Ext.form.Labelable","meta":{},"name":"preventMark","id":"cfg-preventMark"},{"tagname":"cfg","owner":"Ext.form.field.File","meta":{},"name":"readOnly","id":"cfg-readOnly"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"readOnlyCls","id":"cfg-readOnlyCls"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"regex","id":"cfg-regex"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"regexText","id":"cfg-regexText"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"region","id":"cfg-region"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"renderData","id":"cfg-renderData"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"renderSelectors","id":"cfg-renderSelectors"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"2.3.0"},"name":"renderTo","id":"cfg-renderTo"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"protected":true},"name":"renderTpl","id":"cfg-renderTpl"},{"tagname":"cfg","owner":"Ext.form.field.Trigger","meta":{},"name":"repeatTriggerClick","id":"cfg-repeatTriggerClick"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"requiredCls","id":"cfg-requiredCls"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"resizable","id":"cfg-resizable"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"resizeHandles","id":"cfg-resizeHandles"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"rtl","id":"cfg-rtl"},{"tagname":"cfg","owner":"Ext.state.Stateful","meta":{},"name":"saveDelay","id":"cfg-saveDelay"},{"tagname":"cfg","owner":"Ext.form.field.Trigger","meta":{},"name":"selectOnFocus","id":"cfg-selectOnFocus"},{"tagname":"cfg","owner":"Ext.util.Floating","meta":{},"name":"shadow","id":"cfg-shadow"},{"tagname":"cfg","owner":"Ext.util.Floating","meta":{},"name":"shadowOffset","id":"cfg-shadowOffset"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"shrinkWrap","id":"cfg-shrinkWrap"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"size","id":"cfg-size"},{"tagname":"cfg","owner":"Ext.state.Stateful","meta":{},"name":"stateEvents","id":"cfg-stateEvents"},{"tagname":"cfg","owner":"Ext.state.Stateful","meta":{},"name":"stateId","id":"cfg-stateId"},{"tagname":"cfg","owner":"Ext.state.Stateful","meta":{},"name":"stateful","id":"cfg-stateful"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"stripCharsRe","id":"cfg-stripCharsRe"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"style","id":"cfg-style"},{"tagname":"cfg","owner":"Ext.form.field.Field","meta":{},"name":"submitValue","id":"cfg-submitValue"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"tabIndex","id":"cfg-tabIndex"},{"tagname":"cfg","owner":"Ext.Component","meta":{},"name":"toFrontOnShow","id":"cfg-toFrontOnShow"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"3.4.0"},"name":"tpl","id":"cfg-tpl"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"3.4.0"},"name":"tplWriteMode","id":"cfg-tplWriteMode"},{"tagname":"cfg","owner":"Ext.form.field.Trigger","meta":{},"name":"triggerBaseCls","id":"cfg-triggerBaseCls"},{"tagname":"cfg","owner":"Ext.form.field.Trigger","meta":{},"name":"triggerCls","id":"cfg-triggerCls"},{"tagname":"cfg","owner":"Ext.form.field.Trigger","meta":{},"name":"triggerNoEditCls","id":"cfg-triggerNoEditCls"},{"tagname":"cfg","owner":"Ext.form.field.Trigger","meta":{},"name":"triggerWrapCls","id":"cfg-triggerWrapCls"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"ui","id":"cfg-ui"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"uiCls","id":"cfg-uiCls"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"validateBlank","id":"cfg-validateBlank"},{"tagname":"cfg","owner":"Ext.form.field.Base","meta":{},"name":"validateOnBlur","id":"cfg-validateOnBlur"},{"tagname":"cfg","owner":"Ext.form.field.Field","meta":{},"name":"validateOnChange","id":"cfg-validateOnChange"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"validator","id":"cfg-validator"},{"tagname":"cfg","owner":"Ext.form.field.Field","meta":{},"name":"value","id":"cfg-value"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"vtype","id":"cfg-vtype"},{"tagname":"cfg","owner":"Ext.form.field.Text","meta":{},"name":"vtypeText","id":"cfg-vtypeText"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{},"name":"width","id":"cfg-width"},{"tagname":"cfg","owner":"Ext.AbstractComponent","meta":{"since":"2.3.0"},"name":"xtype","id":"cfg-xtype"}],"css_var":[{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-error-icon-height","id":"css_var-S-form-error-icon-height"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-error-icon-side-margin","id":"css_var-S-form-error-icon-side-margin"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-error-icon-width","id":"css_var-S-form-error-icon-width"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-error-msg-color","id":"css_var-S-form-error-msg-color"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-error-msg-font-family","id":"css_var-S-form-error-msg-font-family"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-error-msg-font-size","id":"css_var-S-form-error-msg-font-size"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-error-msg-font-weight","id":"css_var-S-form-error-msg-font-weight"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-error-msg-line-height","id":"css_var-S-form-error-msg-line-height"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-error-under-icon-spacing","id":"css_var-S-form-error-under-icon-spacing"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-error-under-padding","id":"css_var-S-form-error-under-padding"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-background-color","id":"css_var-S-form-field-background-color"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-background-image","id":"css_var-S-form-field-background-image"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-border-color","id":"css_var-S-form-field-border-color"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-border-style","id":"css_var-S-form-field-border-style"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-border-width","id":"css_var-S-form-field-border-width"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-color","id":"css_var-S-form-field-color"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-disabled-opacity","id":"css_var-S-form-field-disabled-opacity"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-empty-color","id":"css_var-S-form-field-empty-color"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-focus-border-color","id":"css_var-S-form-field-focus-border-color"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-font","id":"css_var-S-form-field-font"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-font-family","id":"css_var-S-form-field-font-family"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-font-size","id":"css_var-S-form-field-font-size"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-font-weight","id":"css_var-S-form-field-font-weight"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-height","id":"css_var-S-form-field-height"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-invalid-background-color","id":"css_var-S-form-field-invalid-background-color"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-invalid-background-image","id":"css_var-S-form-field-invalid-background-image"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-invalid-background-position","id":"css_var-S-form-field-invalid-background-position"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-invalid-background-repeat","id":"css_var-S-form-field-invalid-background-repeat"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-invalid-border-color","id":"css_var-S-form-field-invalid-border-color"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-field-padding","id":"css_var-S-form-field-padding"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-item-margin-bottom","id":"css_var-S-form-item-margin-bottom"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-label-font-color","id":"css_var-S-form-label-font-color"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-label-font-family","id":"css_var-S-form-label-font-family"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-label-font-size","id":"css_var-S-form-label-font-size"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-label-font-weight","id":"css_var-S-form-label-font-weight"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-label-line-height","id":"css_var-S-form-label-line-height"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-toolbar-field-font","id":"css_var-S-form-toolbar-field-font"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-toolbar-field-font-family","id":"css_var-S-form-toolbar-field-font-family"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-toolbar-field-font-size","id":"css_var-S-form-toolbar-field-font-size"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-toolbar-field-font-weight","id":"css_var-S-form-toolbar-field-font-weight"},{"tagname":"css_var","owner":"Ext.form.field.Base","meta":{},"name":"$form-toolbar-field-height","id":"css_var-S-form-toolbar-field-height"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-toolbar-label-color","id":"css_var-S-form-toolbar-label-color"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-toolbar-label-font-family","id":"css_var-S-form-toolbar-label-font-family"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-toolbar-label-font-size","id":"css_var-S-form-toolbar-label-font-size"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-toolbar-label-font-weight","id":"css_var-S-form-toolbar-label-font-weight"},{"tagname":"css_var","owner":"Ext.form.Labelable","meta":{},"name":"$form-toolbar-label-line-height","id":"css_var-S-form-toolbar-label-line-height"},{"tagname":"css_var","owner":"Ext.form.field.Trigger","meta":{},"name":"$form-trigger-border-color","id":"css_var-S-form-trigger-border-color"},{"tagname":"css_var","owner":"Ext.form.field.Trigger","meta":{},"name":"$form-trigger-border-color-focus","id":"css_var-S-form-trigger-border-color-focus"},{"tagname":"css_var","owner":"Ext.form.field.Trigger","meta":{},"name":"$form-trigger-border-color-over","id":"css_var-S-form-trigger-border-color-over"},{"tagname":"css_var","owner":"Ext.form.field.Trigger","meta":{},"name":"$form-trigger-border-color-pressed","id":"css_var-S-form-trigger-border-color-pressed"},{"tagname":"css_var","owner":"Ext.form.field.Trigger","meta":{},"name":"$form-trigger-border-style","id":"css_var-S-form-trigger-border-style"},{"tagname":"css_var","owner":"Ext.form.field.Trigger","meta":{},"name":"$form-trigger-border-width","id":"css_var-S-form-trigger-border-width"},{"tagname":"css_var","owner":"Ext.form.field.Trigger","meta":{},"name":"$form-trigger-width","id":"css_var-S-form-trigger-width"}],"method":[{"tagname":"method","owner":"Ext.Component","meta":{},"name":"constructor","id":"method-constructor"},{"tagname":"method","owner":"Ext.util.ElementContainer","meta":{},"name":"addChildEls","id":"method-addChildEls"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"since":"2.3.0","deprecated":{"text":"Use {@link #addCls} instead.","version":"4.1"}},"name":"addClass","id":"method-addClass"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"addCls","id":"method-addCls"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"addClsWithUI","id":"method-addClsWithUI"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"addEvents","id":"method-addEvents"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"addFocusListener","id":"method-addFocusListener"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"addListener","id":"method-addListener"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"addManagedListener","id":"method-addManagedListener"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"addOverCls","id":"method-addOverCls"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"addPlugin","id":"method-addPlugin"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"protected":true},"name":"addPropertyToState","id":"method-addPropertyToState"},{"tagname":"method","owner":"Ext.state.Stateful","meta":{},"name":"addStateEvents","id":"method-addStateEvents"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"addUIClsToElement","id":"method-addUIClsToElement"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"addUIToElement","id":"method-addUIToElement"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{"private":true},"name":"adjustForConstraints","id":"method-adjustForConstraints"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"adjustPosition","id":"method-adjustPosition"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"template":true,"protected":true},"name":"afterComponentLayout","id":"method-afterComponentLayout"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"private":true},"name":"afterFirstLayout","id":"method-afterFirstLayout"},{"tagname":"method","owner":"Ext.Component","meta":{"protected":true,"template":true},"name":"afterHide","id":"method-afterHide"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"template":true,"protected":true},"name":"afterRender","id":"method-afterRender"},{"tagname":"method","owner":"Ext.Component","meta":{"template":true,"protected":true},"name":"afterSetPosition","id":"method-afterSetPosition"},{"tagname":"method","owner":"Ext.Component","meta":{"protected":true,"template":true},"name":"afterShow","id":"method-afterShow"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{"chainable":true},"name":"alignTo","id":"method-alignTo"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{"chainable":true},"name":"anchorTo","id":"method-anchorTo"},{"tagname":"method","owner":"Ext.util.Animate","meta":{"private":true},"name":"anim","id":"method-anim"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"animate","id":"method-animate"},{"tagname":"method","owner":"Ext.util.ElementContainer","meta":{"private":true},"name":"applyChildEls","id":"method-applyChildEls"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"private":true},"name":"applyEmptyText","id":"method-applyEmptyText"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{"private":true},"name":"applyRenderSelectors","id":"method-applyRenderSelectors"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{},"name":"applyState","id":"method-applyState"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"autoSize","id":"method-autoSize"},{"tagname":"method","owner":"Ext.form.field.Field","meta":{},"name":"batchChanges","id":"method-batchChanges"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"protected":true},"name":"beforeBlur","id":"method-beforeBlur"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"protected":true,"template":true},"name":"beforeComponentLayout","id":"method-beforeComponentLayout"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"protected":true,"template":true},"name":"beforeDestroy","id":"method-beforeDestroy"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"protected":true},"name":"beforeFocus","id":"method-beforeFocus"},{"tagname":"method","owner":"Ext.Component","meta":{"template":true,"protected":true},"name":"beforeLayout","id":"method-beforeLayout"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"beforeRender","id":"method-beforeRender"},{"tagname":"method","owner":"Ext.form.field.Field","meta":{"protected":true},"name":"beforeReset","id":"method-beforeReset"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"beforeSetPosition","id":"method-beforeSetPosition"},{"tagname":"method","owner":"Ext.Component","meta":{"protected":true,"template":true},"name":"beforeShow","id":"method-beforeShow"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true,"private":true},"name":"blur","id":"method-blur"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"bubble","id":"method-bubble"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{"private":true},"name":"calculateAnchorXY","id":"method-calculateAnchorXY"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{},"name":"calculateConstrainedPosition","id":"method-calculateConstrainedPosition"},{"tagname":"method","owner":"Ext.Base","meta":{"protected":true,"deprecated":{"text":"as of 4.1. Use {@link #callParent} instead."}},"name":"callOverridden","id":"method-callOverridden"},{"tagname":"method","owner":"Ext.Base","meta":{"protected":true},"name":"callParent","id":"method-callParent"},{"tagname":"method","owner":"Ext.Base","meta":{"protected":true},"name":"callSuper","id":"method-callSuper"},{"tagname":"method","owner":"Ext.Component","meta":{"protected":true},"name":"cancelFocus","id":"method-cancelFocus"},{"tagname":"method","owner":"Ext.util.Observable","meta":{"private":true},"name":"captureArgs","id":"method-captureArgs"},{"tagname":"method","owner":"Ext.util.Floating","meta":{},"name":"center","id":"method-center"},{"tagname":"method","owner":"Ext.form.field.Field","meta":{},"name":"checkChange","id":"method-checkChange"},{"tagname":"method","owner":"Ext.form.field.Field","meta":{},"name":"checkDirty","id":"method-checkDirty"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"checkTab","id":"method-checkTab"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{},"name":"clearInvalid","id":"method-clearInvalid"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"clearListeners","id":"method-clearListeners"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"clearManagedListeners","id":"method-clearManagedListeners"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"cloneConfig","id":"method-cloneConfig"},{"tagname":"method","owner":"Ext.Base","meta":{"private":true},"name":"configClass","id":"method-configClass"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"constructPlugin","id":"method-constructPlugin"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"constructPlugins","id":"method-constructPlugins"},{"tagname":"method","owner":"Ext.util.Observable","meta":{"private":true},"name":"continueFireEvent","id":"method-continueFireEvent"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"convertPositionSpec","id":"method-convertPositionSpec"},{"tagname":"method","owner":"Ext.util.Observable","meta":{"private":true},"name":"createRelayer","id":"method-createRelayer"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"deleteMembers","id":"method-deleteMembers"},{"tagname":"method","owner":"Ext.Base","meta":{"private":true},"name":"destroy","id":"method-destroy"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"disable","id":"method-disable"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"disableCheck","id":"method-disableCheck"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"doApplyRenderTpl","id":"method-doApplyRenderTpl"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{},"name":"doAutoRender","id":"method-doAutoRender"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{"chainable":true},"name":"doComponentLayout","id":"method-doComponentLayout"},{"tagname":"method","owner":"Ext.util.Floating","meta":{},"name":"doConstrain","id":"method-doConstrain"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"doRenderContent","id":"method-doRenderContent"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"doRenderFramingDockedItems","id":"method-doRenderFramingDockedItems"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"enable","id":"method-enable"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"enableBubble","id":"method-enableBubble"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{},"name":"ensureAttachedToBody","id":"method-ensureAttachedToBody"},{"tagname":"method","owner":"Ext.form.field.File","meta":{},"name":"extractFileInput","id":"method-extractFileInput"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"private":true},"name":"filterKeys","id":"method-filterKeys"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"findParentBy","id":"method-findParentBy"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"findParentByType","id":"method-findParentByType"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"findPlugin","id":"method-findPlugin"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"finishRender","id":"method-finishRender"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"finishRenderChildren","id":"method-finishRenderChildren"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"fireEvent","id":"method-fireEvent"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"fireEventArgs","id":"method-fireEventArgs"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"fireHierarchyEvent","id":"method-fireHierarchyEvent"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{"private":true},"name":"fireKey","id":"method-fireKey"},{"tagname":"method","owner":"Ext.util.Floating","meta":{"private":true},"name":"fitContainer","id":"method-fitContainer"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"focus","id":"method-focus"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"private":true},"name":"focusInput","id":"method-focusInput"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"deprecated":{"text":"Use {@link #updateLayout} instead.","version":"4.1.0"}},"name":"forceComponentLayout","id":"method-forceComponentLayout"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{"private":true},"name":"getActionEl","id":"method-getActionEl"},{"tagname":"method","owner":"Ext.util.Animate","meta":{},"name":"getActiveAnimation","id":"method-getActiveAnimation"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{},"name":"getActiveError","id":"method-getActiveError"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{},"name":"getActiveErrors","id":"method-getActiveErrors"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{},"name":"getAlignToXY","id":"method-getAlignToXY"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{"private":true},"name":"getAnchor","id":"method-getAnchor"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"getAnchorToXY","id":"method-getAnchorToXY"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{},"name":"getAnchorXY","id":"method-getAnchorXY"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"getAnimateTarget","id":"method-getAnimateTarget"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"getAutoId","id":"method-getAutoId"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{"private":true},"name":"getBodyColspan","id":"method-getBodyColspan"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"getBorderPadding","id":"method-getBorderPadding"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{},"name":"getBox","id":"method-getBox"},{"tagname":"method","owner":"Ext.util.Observable","meta":{"private":true},"name":"getBubbleParent","id":"method-getBubbleParent"},{"tagname":"method","owner":"Ext.Component","meta":{"protected":true},"name":"getBubbleTarget","id":"method-getBubbleTarget"},{"tagname":"method","owner":"Ext.form.field.File","meta":{"private":true},"name":"getButtonMarginProp","id":"method-getButtonMarginProp"},{"tagname":"method","owner":"Ext.util.ElementContainer","meta":{"private":true},"name":"getChildEls","id":"method-getChildEls"},{"tagname":"method","owner":"Ext.util.ElementContainer","meta":{"private":true},"name":"getClassChildEls","id":"method-getClassChildEls"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"getComponentLayout","id":"method-getComponentLayout"},{"tagname":"method","owner":"Ext.Base","meta":{"private":true},"name":"getConfig","id":"method-getConfig"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{},"name":"getConstrainVector","id":"method-getConstrainVector"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"getContentTarget","id":"method-getContentTarget"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"getDragEl","id":"method-getDragEl"},{"tagname":"method","owner":"Ext.Component","meta":{"since":"1.1.0"},"name":"getEl","id":"method-getEl"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"getElConfig","id":"method-getElConfig"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{"private":true},"name":"getErrorMsgCls","id":"method-getErrorMsgCls"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{},"name":"getErrors","id":"method-getErrors"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{"template":true},"name":"getFieldLabel","id":"method-getFieldLabel"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{"private":true},"name":"getFieldStyle","id":"method-getFieldStyle"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{"private":true},"name":"getFocusEl","id":"method-getFocusEl"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"getFrameInfo","id":"method-getFrameInfo"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"getFrameRenderData","id":"method-getFrameRenderData"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"getFrameTpl","id":"method-getFrameTpl"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"getFramingInfoCls","id":"method-getFramingInfoCls"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"getHeight","id":"method-getHeight"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"getHierarchyState","id":"method-getHierarchyState"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"getId","id":"method-getId"},{"tagname":"method","owner":"Ext.Base","meta":{},"name":"getInitialConfig","id":"method-getInitialConfig"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{},"name":"getInputId","id":"method-getInputId"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{},"name":"getInsertPosition","id":"method-getInsertPosition"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{"private":true},"name":"getInsertionRenderData","id":"method-getInsertionRenderData"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"getItemId","id":"method-getItemId"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{"private":true},"name":"getLabelCellAttrs","id":"method-getLabelCellAttrs"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{"private":true},"name":"getLabelCellStyle","id":"method-getLabelCellStyle"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{"private":true},"name":"getLabelCls","id":"method-getLabelCls"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{"private":true},"name":"getLabelStyle","id":"method-getLabelStyle"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{},"name":"getLabelWidth","id":"method-getLabelWidth"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"protected":true},"name":"getLabelableRenderData","id":"method-getLabelableRenderData"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"getLoader","id":"method-getLoader"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"getLocalX","id":"method-getLocalX"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"getLocalXY","id":"method-getLocalXY"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"getLocalY","id":"method-getLocalY"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"getMaskTarget","id":"method-getMaskTarget"},{"tagname":"method","owner":"Ext.form.field.Field","meta":{},"name":"getModelData","id":"method-getModelData"},{"tagname":"method","owner":"Ext.form.field.Field","meta":{},"name":"getName","id":"method-getName"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{},"name":"getOffsetsTo","id":"method-getOffsetsTo"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"getOuterSize","id":"method-getOuterSize"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"getOverflowEl","id":"method-getOverflowEl"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"getOverflowStyle","id":"method-getOverflowStyle"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"getOwningBorderContainer","id":"method-getOwningBorderContainer"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"getOwningBorderLayout","id":"method-getOwningBorderLayout"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"getPlugin","id":"method-getPlugin"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"getPosition","id":"method-getPosition"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"getPositionEl","id":"method-getPositionEl"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"getProxy","id":"method-getProxy"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{},"name":"getRawValue","id":"method-getRawValue"},{"tagname":"method","owner":"Ext.Component","meta":{"protected":true,"private":true},"name":"getRefOwner","id":"method-getRefOwner"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{},"name":"getRegion","id":"method-getRegion"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"getRenderTree","id":"method-getRenderTree"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"getResizeEl","id":"method-getResizeEl"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"getSize","id":"method-getSize"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"getSizeModel","id":"method-getSizeModel"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{},"name":"getState","id":"method-getState"},{"tagname":"method","owner":"Ext.state.Stateful","meta":{"private":true},"name":"getStateId","id":"method-getStateId"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"getStyleProxy","id":"method-getStyleProxy"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"template":true},"name":"getSubTplData","id":"method-getSubTplData"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{},"name":"getSubTplMarkup","id":"method-getSubTplMarkup"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{},"name":"getSubmitData","id":"method-getSubmitData"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{},"name":"getSubmitValue","id":"method-getSubmitValue"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"getTargetEl","id":"method-getTargetEl"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"getTpl","id":"method-getTpl"},{"tagname":"method","owner":"Ext.form.field.File","meta":{},"name":"getTriggerMarkup","id":"method-getTriggerMarkup"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"getTriggerStateFlags","id":"method-getTriggerStateFlags"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{},"name":"getTriggerWidth","id":"method-getTriggerWidth"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{},"name":"getValue","id":"method-getValue"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{},"name":"getViewRegion","id":"method-getViewRegion"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"getVisibilityEl","id":"method-getVisibilityEl"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"getWidth","id":"method-getWidth"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"getX","id":"method-getX"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"getXType","id":"method-getXType"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"since":"2.3.0"},"name":"getXTypes","id":"method-getXTypes"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"getXY","id":"method-getXY"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"getY","id":"method-getY"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{},"name":"hasActiveError","id":"method-hasActiveError"},{"tagname":"method","owner":"Ext.util.Animate","meta":{"deprecated":{"text":"Replaced by {@link #getActiveAnimation}","version":"4.0"}},"name":"hasActiveFx","id":"method-hasActiveFx"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"hasCls","id":"method-hasCls"},{"tagname":"method","owner":"Ext.Base","meta":{"private":true},"name":"hasConfig","id":"method-hasConfig"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"hasListener","id":"method-hasListener"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"hasUICls","id":"method-hasUICls"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{},"name":"hasVisibleLabel","id":"method-hasVisibleLabel"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"hide","id":"method-hide"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"initBorderRegion","id":"method-initBorderRegion"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"initCls","id":"method-initCls"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"since":"1.1.0","template":true,"protected":true},"name":"initComponent","id":"method-initComponent"},{"tagname":"method","owner":"Ext.Base","meta":{"chainable":true,"protected":true},"name":"initConfig","id":"method-initConfig"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"initContainer","id":"method-initContainer"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"initDraggable","id":"method-initDraggable"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"protected":true},"name":"initEvents","id":"method-initEvents"},{"tagname":"method","owner":"Ext.form.field.Field","meta":{},"name":"initField","id":"method-initField"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"initFrame","id":"method-initFrame"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"initFramingTpl","id":"method-initFramingTpl"},{"tagname":"method","owner":"Ext.util.Floating","meta":{"private":true},"name":"initHierarchyEvents","id":"method-initHierarchyEvents"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"initHierarchyState","id":"method-initHierarchyState"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{},"name":"initLabelable","id":"method-initLabelable"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"initPadding","id":"method-initPadding"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"initPlugin","id":"method-initPlugin"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{"protected":true},"name":"initRenderData","id":"method-initRenderData"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{"private":true},"name":"initRenderTpl","id":"method-initRenderTpl"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"initResizable","id":"method-initResizable"},{"tagname":"method","owner":"Ext.state.Stateful","meta":{"private":true},"name":"initState","id":"method-initState"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"initStyles","id":"method-initStyles"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"initTrigger","id":"method-initTrigger"},{"tagname":"method","owner":"Ext.form.field.Field","meta":{},"name":"initValue","id":"method-initValue"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"is","id":"method-is"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"isContainedFloater","id":"method-isContainedFloater"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"isDescendant","id":"method-isDescendant"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"isDescendantOf","id":"method-isDescendantOf"},{"tagname":"method","owner":"Ext.form.field.Field","meta":{},"name":"isDirty","id":"method-isDirty"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"isDisabled","id":"method-isDisabled"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"isDraggable","id":"method-isDraggable"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"isDroppable","id":"method-isDroppable"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"private":true},"name":"isEqual","id":"method-isEqual"},{"tagname":"method","owner":"Ext.form.field.Field","meta":{"private":true},"name":"isEqualAsString","id":"method-isEqualAsString"},{"tagname":"method","owner":"Ext.form.field.File","meta":{},"name":"isFileUpload","id":"method-isFileUpload"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"isFloating","id":"method-isFloating"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"isFocusable","id":"method-isFocusable"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"isHidden","id":"method-isHidden"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"isHierarchicallyHidden","id":"method-isHierarchicallyHidden"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"protected":true},"name":"isLayoutRoot","id":"method-isLayoutRoot"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"isLayoutSuspended","id":"method-isLayoutSuspended"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"isLocalRtl","id":"method-isLocalRtl"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"isOppositeRootDirection","id":"method-isOppositeRootDirection"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"isParentRtl","id":"method-isParentRtl"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{},"name":"isValid","id":"method-isValid"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"isVisible","id":"method-isVisible"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"since":"2.3.0"},"name":"isXType","id":"method-isXType"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"makeFloating","id":"method-makeFloating"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{},"name":"markInvalid","id":"method-markInvalid"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"mask","id":"method-mask"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"mimicBlur","id":"method-mimicBlur"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"mon","id":"method-mon"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{},"name":"move","id":"method-move"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"mun","id":"method-mun"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"nextNode","id":"method-nextNode"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"nextSibling","id":"method-nextSibling"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"on","id":"method-on"},{"tagname":"method","owner":"Ext.Component","meta":{"since":"3.4.0","template":true,"protected":true},"name":"onAdded","id":"method-onAdded"},{"tagname":"method","owner":"Ext.util.Floating","meta":{"private":true},"name":"onAfterFloatLayout","id":"method-onAfterFloatLayout"},{"tagname":"method","owner":"Ext.util.Floating","meta":{"private":true},"name":"onBeforeFloatLayout","id":"method-onBeforeFloatLayout"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"onBlur","id":"method-onBlur"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{"private":true},"name":"onBoxReady","id":"method-onBoxReady"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"private":true},"name":"onChange","id":"method-onChange"},{"tagname":"method","owner":"Ext.Base","meta":{"private":true},"name":"onConfigUpdate","id":"method-onConfigUpdate"},{"tagname":"method","owner":"Ext.form.field.File","meta":{"template":true,"protected":true},"name":"onDestroy","id":"method-onDestroy"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{"private":true},"name":"onDirtyChange","id":"method-onDirtyChange"},{"tagname":"method","owner":"Ext.form.field.File","meta":{"template":true,"protected":true},"name":"onDisable","id":"method-onDisable"},{"tagname":"method","owner":"Ext.form.field.File","meta":{"template":true,"protected":true},"name":"onEnable","id":"method-onEnable"},{"tagname":"method","owner":"Ext.form.field.File","meta":{"private":true},"name":"onFileChange","id":"method-onFileChange"},{"tagname":"method","owner":"Ext.util.Floating","meta":{"private":true},"name":"onFloatShow","id":"method-onFloatShow"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"onFocus","id":"method-onFocus"},{"tagname":"method","owner":"Ext.Component","meta":{"protected":true,"template":true},"name":"onHide","id":"method-onHide"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"private":true},"name":"onKeyDown","id":"method-onKeyDown"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"private":true},"name":"onKeyPress","id":"method-onKeyPress"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"private":true},"name":"onKeyUp","id":"method-onKeyUp"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"private":true},"name":"onMouseDown","id":"method-onMouseDown"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"protected":true,"template":true},"name":"onPosition","id":"method-onPosition"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"since":"3.4.0","protected":true,"template":true},"name":"onRemoved","id":"method-onRemoved"},{"tagname":"method","owner":"Ext.form.field.File","meta":{"template":true,"protected":true},"name":"onRender","id":"method-onRender"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"protected":true,"template":true},"name":"onResize","id":"method-onResize"},{"tagname":"method","owner":"Ext.form.field.File","meta":{"template":true,"protected":true},"name":"onShow","id":"method-onShow"},{"tagname":"method","owner":"Ext.Component","meta":{"protected":true,"template":true},"name":"onShowComplete","id":"method-onShowComplete"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"onShowVeto","id":"method-onShowVeto"},{"tagname":"method","owner":"Ext.state.Stateful","meta":{"private":true},"name":"onStateChange","id":"method-onStateChange"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"protected":true},"name":"onTriggerClick","id":"method-onTriggerClick"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"onTriggerWrapClick","id":"method-onTriggerWrapClick"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"onTriggerWrapMouseup","id":"method-onTriggerWrapMouseup"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"parseBox","id":"method-parseBox"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"protected":true},"name":"postBlur","id":"method-postBlur"},{"tagname":"method","owner":"Ext.util.Observable","meta":{"private":true},"name":"prepareClass","id":"method-prepareClass"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"previousNode","id":"method-previousNode"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"previousSibling","id":"method-previousSibling"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{},"name":"processRawValue","id":"method-processRawValue"},{"tagname":"method","owner":"Ext.util.ElementContainer","meta":{"private":true},"name":"prune","id":"method-prune"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{},"name":"rawToValue","id":"method-rawToValue"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"registerFloatingItem","id":"method-registerFloatingItem"},{"tagname":"method","owner":"Ext.util.Floating","meta":{"private":true},"name":"registerWithOwnerCt","id":"method-registerWithOwnerCt"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"relayEvents","id":"method-relayEvents"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{"chainable":true},"name":"removeAnchor","id":"method-removeAnchor"},{"tagname":"method","owner":"Ext.util.ElementContainer","meta":{},"name":"removeChildEls","id":"method-removeChildEls"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"since":"2.3.0","private":true},"name":"removeClass","id":"method-removeClass"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"removeCls","id":"method-removeCls"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"removeClsWithUI","id":"method-removeClsWithUI"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"removeListener","id":"method-removeListener"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"removeManagedListener","id":"method-removeManagedListener"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"removeManagedListenerItem","id":"method-removeManagedListenerItem"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"removeOverCls","id":"method-removeOverCls"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"removePlugin","id":"method-removePlugin"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"removeUIClsFromElement","id":"method-removeUIClsFromElement"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"removeUIFromElement","id":"method-removeUIFromElement"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{},"name":"render","id":"method-render"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{"private":true},"name":"renderActiveError","id":"method-renderActiveError"},{"tagname":"method","owner":"Ext.form.field.File","meta":{},"name":"reset","id":"method-reset"},{"tagname":"method","owner":"Ext.form.field.Field","meta":{},"name":"resetOriginalValue","id":"method-resetOriginalValue"},{"tagname":"method","owner":"Ext.form.field.File","meta":{"private":true},"name":"restoreInput","id":"method-restoreInput"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"resumeEvent","id":"method-resumeEvent"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"resumeEvents","id":"method-resumeEvents"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"resumeLayouts","id":"method-resumeLayouts"},{"tagname":"method","owner":"Ext.state.Stateful","meta":{},"name":"savePropToState","id":"method-savePropToState"},{"tagname":"method","owner":"Ext.state.Stateful","meta":{},"name":"savePropsToState","id":"method-savePropsToState"},{"tagname":"method","owner":"Ext.state.Stateful","meta":{},"name":"saveState","id":"method-saveState"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"scrollBy","id":"method-scrollBy"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{},"name":"selectText","id":"method-selectText"},{"tagname":"method","owner":"Ext.util.Animate","meta":{"chainable":true},"name":"sequenceFx","id":"method-sequenceFx"},{"tagname":"method","owner":"Ext.util.Floating","meta":{},"name":"setActive","id":"method-setActive"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{},"name":"setActiveError","id":"method-setActiveError"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{},"name":"setActiveErrors","id":"method-setActiveErrors"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"setAutoScroll","id":"method-setAutoScroll"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setBorder","id":"method-setBorder"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"setBorderRegion","id":"method-setBorderRegion"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{"chainable":true},"name":"setBox","id":"method-setBox"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"setComponentLayout","id":"method-setComponentLayout"},{"tagname":"method","owner":"Ext.Base","meta":{"chainable":true,"private":true},"name":"setConfig","id":"method-setConfig"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setDisabled","id":"method-setDisabled"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setDocked","id":"method-setDocked"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{},"name":"setEditable","id":"method-setEditable"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{"private":true},"name":"setError","id":"method-setError"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{},"name":"setFieldDefaults","id":"method-setFieldDefaults"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{},"name":"setFieldLabel","id":"method-setFieldLabel"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{},"name":"setFieldStyle","id":"method-setFieldStyle"},{"tagname":"method","owner":"Ext.util.Floating","meta":{"private":true},"name":"setFloatParent","id":"method-setFloatParent"},{"tagname":"method","owner":"Ext.form.field.Text","meta":{"private":true},"name":"setGrowSizePolicy","id":"method-setGrowSizePolicy"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setHeight","id":"method-setHeight"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"setHiddenState","id":"method-setHiddenState"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"setHideTrigger","id":"method-setHideTrigger"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"setLoading","id":"method-setLoading"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setLocalX","id":"method-setLocalX"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setLocalXY","id":"method-setLocalXY"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setLocalY","id":"method-setLocalY"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setMargin","id":"method-setMargin"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"setOverflowXY","id":"method-setOverflowXY"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"setPagePosition","id":"method-setPagePosition"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"setPosition","id":"method-setPosition"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{},"name":"setRawValue","id":"method-setRawValue"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{},"name":"setReadOnly","id":"method-setReadOnly"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{"chainable":true},"name":"setRegion","id":"method-setRegion"},{"tagname":"method","owner":"Ext.Component","meta":{},"name":"setRegionWeight","id":"method-setRegionWeight"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setSize","id":"method-setSize"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setUI","id":"method-setUI"},{"tagname":"method","owner":"Ext.form.field.File","meta":{},"name":"setValue","id":"method-setValue"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"setVisible","id":"method-setVisible"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setWidth","id":"method-setWidth"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setX","id":"method-setX"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setXY","id":"method-setXY"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"setY","id":"method-setY"},{"tagname":"method","owner":"Ext.util.Floating","meta":{"private":true},"name":"setZIndex","id":"method-setZIndex"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"setupFramingTpl","id":"method-setupFramingTpl"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"setupProtoEl","id":"method-setupProtoEl"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"setupRenderTpl","id":"method-setupRenderTpl"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"show","id":"method-show"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"showAt","id":"method-showAt"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"showBy","id":"method-showBy"},{"tagname":"method","owner":"Ext.Base","meta":{"protected":true},"name":"statics","id":"method-statics"},{"tagname":"method","owner":"Ext.util.Animate","meta":{"chainable":true},"name":"stopAnimation","id":"method-stopAnimation"},{"tagname":"method","owner":"Ext.util.Animate","meta":{"deprecated":{"text":"Replaced by {@link #stopAnimation}","version":"4.0"}},"name":"stopFx","id":"method-stopFx"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"suspendEvent","id":"method-suspendEvent"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"suspendEvents","id":"method-suspendEvents"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"suspendLayouts","id":"method-suspendLayouts"},{"tagname":"method","owner":"Ext.util.Animate","meta":{"chainable":true},"name":"syncFx","id":"method-syncFx"},{"tagname":"method","owner":"Ext.util.Floating","meta":{"private":true},"name":"syncHidden","id":"method-syncHidden"},{"tagname":"method","owner":"Ext.util.Floating","meta":{"private":true},"name":"syncShadow","id":"method-syncShadow"},{"tagname":"method","owner":"Ext.util.Floating","meta":{"chainable":true},"name":"toBack","id":"method-toBack"},{"tagname":"method","owner":"Ext.util.Floating","meta":{},"name":"toFront","id":"method-toFront"},{"tagname":"method","owner":"Ext.form.field.Field","meta":{"protected":true},"name":"transformOriginalValue","id":"method-transformOriginalValue"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{"protected":true},"name":"transformRawValue","id":"method-transformRawValue"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{},"name":"translatePoints","id":"method-translatePoints"},{"tagname":"method","owner":"Ext.util.Positionable","meta":{"private":true},"name":"translateXY","id":"method-translateXY"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"triggerBlur","id":"method-triggerBlur"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{},"name":"trimLabelSeparator","id":"method-trimLabelSeparator"},{"tagname":"method","owner":"Ext.util.Observable","meta":{},"name":"un","id":"method-un"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"unitizeBox","id":"method-unitizeBox"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"unmask","id":"method-unmask"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"unregisterFloatingItem","id":"method-unregisterFloatingItem"},{"tagname":"method","owner":"Ext.form.Labelable","meta":{},"name":"unsetActiveError","id":"method-unsetActiveError"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"up","id":"method-up"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"since":"3.4.0"},"name":"update","id":"method-update"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{"private":true},"name":"updateAria","id":"method-updateAria"},{"tagname":"method","owner":"Ext.Component","meta":{"chainable":true},"name":"updateBox","id":"method-updateBox"},{"tagname":"method","owner":"Ext.util.Renderable","meta":{"private":true},"name":"updateFrame","id":"method-updateFrame"},{"tagname":"method","owner":"Ext.AbstractComponent","meta":{},"name":"updateLayout","id":"method-updateLayout"},{"tagname":"method","owner":"Ext.form.field.Field","meta":{},"name":"validate","id":"method-validate"},{"tagname":"method","owner":"Ext.form.field.Trigger","meta":{"private":true},"name":"validateBlur","id":"method-validateBlur"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{},"name":"validateValue","id":"method-validateValue"},{"tagname":"method","owner":"Ext.form.field.Base","meta":{},"name":"valueToRaw","id":"method-valueToRaw"},{"tagname":"method","owner":"Ext.Component","meta":{"private":true},"name":"wrapPrimaryEl","id":"method-wrapPrimaryEl"}],"event":[{"tagname":"event","owner":"Ext.AbstractComponent","meta":{},"name":"activate","id":"event-activate"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{"since":"3.4.0"},"name":"added","id":"event-added"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{"since":"3.4.0"},"name":"afterrender","id":"event-afterrender"},{"tagname":"event","owner":"Ext.form.field.Text","meta":{},"name":"autosize","id":"event-autosize"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{},"name":"beforeactivate","id":"event-beforeactivate"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{},"name":"beforedeactivate","id":"event-beforedeactivate"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"beforedestroy","id":"event-beforedestroy"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"beforehide","id":"event-beforehide"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"beforerender","id":"event-beforerender"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"beforeshow","id":"event-beforeshow"},{"tagname":"event","owner":"Ext.state.Stateful","meta":{},"name":"beforestaterestore","id":"event-beforestaterestore"},{"tagname":"event","owner":"Ext.state.Stateful","meta":{},"name":"beforestatesave","id":"event-beforestatesave"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{},"name":"blur","id":"event-blur"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{},"name":"boxready","id":"event-boxready"},{"tagname":"event","owner":"Ext.form.field.File","meta":{},"name":"change","id":"event-change"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{},"name":"deactivate","id":"event-deactivate"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"destroy","id":"event-destroy"},{"tagname":"event","owner":"Ext.form.field.Field","meta":{},"name":"dirtychange","id":"event-dirtychange"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"disable","id":"event-disable"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"enable","id":"event-enable"},{"tagname":"event","owner":"Ext.form.Labelable","meta":{},"name":"errorchange","id":"event-errorchange"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{},"name":"focus","id":"event-focus"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"hide","id":"event-hide"},{"tagname":"event","owner":"Ext.form.field.Text","meta":{},"name":"keydown","id":"event-keydown"},{"tagname":"event","owner":"Ext.form.field.Text","meta":{},"name":"keypress","id":"event-keypress"},{"tagname":"event","owner":"Ext.form.field.Text","meta":{},"name":"keyup","id":"event-keyup"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{},"name":"move","id":"event-move"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{"since":"3.4.0"},"name":"removed","id":"event-removed"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"render","id":"event-render"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{},"name":"resize","id":"event-resize"},{"tagname":"event","owner":"Ext.AbstractComponent","meta":{"since":"1.1.0"},"name":"show","id":"event-show"},{"tagname":"event","owner":"Ext.form.field.Base","meta":{},"name":"specialkey","id":"event-specialkey"},{"tagname":"event","owner":"Ext.state.Stateful","meta":{},"name":"staterestore","id":"event-staterestore"},{"tagname":"event","owner":"Ext.state.Stateful","meta":{},"name":"statesave","id":"event-statesave"},{"tagname":"event","owner":"Ext.form.field.Field","meta":{},"name":"validitychange","id":"event-validitychange"},{"tagname":"event","owner":"Ext.form.field.Base","meta":{},"name":"writeablechange","id":"event-writeablechange"}],"css_mixin":[]},"inheritable":null,"private":null,"component":true,"name":"Ext.form.field.File","singleton":false,"override":null,"inheritdoc":null,"id":"class-Ext.form.field.File","mixins":[],"mixedInto":[]});