X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/output/Ext.form.field.File.js?ds=inline diff --git a/docs/output/Ext.form.field.File.js b/docs/output/Ext.form.field.File.js index aaa18bdb..9b8d11e6 100644 --- a/docs/output/Ext.form.field.File.js +++ b/docs/output/Ext.form.field.File.js @@ -1,6082 +1 @@ -Ext.data.JsonP.Ext_form_field_File({ - "tagname": "class", - "name": "Ext.form.field.File", - "doc": "
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\nBecause 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
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",
- "extends": "Ext.form.field.Text",
- "mixins": [
-
- ],
- "alternateClassNames": [
- "Ext.form.FileUploadField",
- "Ext.ux.form.FileUploadField",
- "Ext.form.File"
- ],
- "xtype": "filefield",
- "author": null,
- "docauthor": null,
- "singleton": false,
- "private": false,
- "cfg": [
- {
- "tagname": "cfg",
- "name": "activeError",
- "member": "Ext.form.Labelable",
- "type": "String",
- "doc": "If specified, then the component will be displayed with this value as its active error when\nfirst rendered. Defaults to undefined. Use setActiveError or unsetActiveError to\nchange it after component creation.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 206, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-activeError", - "shortDoc": "If specified, then the component will be displayed with this value as its active error when\nfirst rendered. Defaults ..." - }, - { - "tagname": "cfg", - "name": "activeErrorsTpl", - "member": "Ext.form.Labelable", - "type": "Ext.XTemplate", - "doc": "The template used to format the Array of error messages passed to setActiveErrors\ninto a single HTML string. By default this renders each message as an item in an unordered list.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 50, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-activeErrorsTpl", - "shortDoc": "The template used to format the Array of error messages passed to setActiveErrors\ninto a single HTML string. By defau..." - }, - { - "tagname": "cfg", - "name": "allowBlank", - "member": "Ext.form.field.Text", - "type": "Boolean", - "doc": "Specify false to validate that the value's length is > 0 (defaults to\ntrue)
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 129, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-allowBlank" - }, - { - "tagname": "cfg", - "name": "autoEl", - "member": "Ext.AbstractComponent", - "type": "Mixed", - "doc": "A tag name or DomHelper spec used to create the Element which will\nencapsulate this Component.
\n\n\nYou do not normally need to specify this. For the base classes Ext.Component and Ext.container.Container,\nthis defaults to 'div'. The more complex Sencha classes use a more complex\nDOM structure specified by their own renderTpls.
\n\n\nThis is intended to allow the developer to create application-specific utility Components encapsulated by\ndifferent DOM elements. Example usage:
\n\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\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js",
- "linenr": 109,
- "html_filename": "AbstractComponent.html",
- "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-autoEl",
- "shortDoc": "A tag name or DomHelper spec used to create the Element which will\nencapsulate this Component.\n\n\nYou do not normally ..."
- },
- {
- "tagname": "cfg",
- "name": "autoFitErrors",
- "member": "Ext.form.Labelable",
- "type": "Boolean",
- "doc": "Whether to adjust the component's body area to make room for 'side' or 'under'\nerror messages. Defaults to true.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 184, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-autoFitErrors" - }, - { - "tagname": "cfg", - "name": "autoRender", - "member": "Ext.AbstractComponent", - "type": "Mixed", - "doc": "This config is intended mainly for floating Components which may or may not be shown. Instead\nof using renderTo in the configuration, and rendering upon construction, this allows a Component\nto render itself upon first show.
\n\n\nSpecify as true
to have this Component render to the document body upon first show.
Specify as an element, or the ID of an element to have this Component render to a specific element upon first show.
\n\n\nThis defaults to true
for the Window class.
true
to use overflow:'auto' on the components layout element and show scroll bars automatically when\nnecessary, false
to clip any overflowing content (defaults to false
).
True to automatically show the component upon creation.\nThis config option may only be used for floating components or components\nthat use autoRender. Defaults to false.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 471, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-autoShow", - "shortDoc": "True to automatically show the component upon creation.\nThis config option may only be used for floating components o..." - }, - { - "tagname": "cfg", - "name": "baseBodyCls", - "member": "Ext.form.Labelable", - "type": "String", - "doc": "The CSS class to be applied to the body content element. Defaults to 'x-form-item-body'.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 87, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-baseBodyCls" - }, - { - "tagname": "cfg", - "name": "baseCls", - "member": "Ext.AbstractComponent", - "type": "String", - "doc": "The base CSS class to apply to this components's element. This will also be prepended to\nelements within this component like Panel's body will get a class x-panel-body. This means\nthat if you create a subclass of Panel, and you want it to get all the Panels styling for the\nelement and the body, you leave the baseCls x-panel and use componentCls to add specific styling for this\ncomponent.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 252, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-baseCls", - "shortDoc": "The base CSS class to apply to this components's element. This will also be prepended to\nelements within this compone..." - }, - { - "tagname": "cfg", - "name": "blankText", - "member": "Ext.form.field.Text", - "type": "String", - "doc": "The error text to display if the allowBlank validation\nfails (defaults to 'This field is required')
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 169, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-blankText" - }, - { - "tagname": "cfg", - "name": "border", - "member": "Ext.AbstractComponent", - "type": "Number/String", - "doc": "Specifies the border for this component. The border can be a single numeric value to apply to all sides or\nit can be a CSS style specification for each style, for example: '10 5 3 10'.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 339, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-border", - "shortDoc": "Specifies the border for this component. The border can be a single numeric value to apply to all sides or\nit can be ..." - }, - { - "tagname": "cfg", - "name": "buttonConfig", - "member": "Ext.form.field.File", - "type": "Object", - "doc": "A standard Ext.button.Button config object.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/File.js", - "linenr": 83, - "html_filename": "File.html", - "href": "File.html#Ext-form-field-File-cfg-buttonConfig" - }, - { - "tagname": "cfg", - "name": "buttonMargin", - "member": "Ext.form.field.File", - "type": "Number", - "doc": "The number of pixels of space reserved between the button and the text field\n(defaults to 3). Note that this only applies if buttonOnly = false.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/File.js", - "linenr": 77, - "html_filename": "File.html", - "href": "File.html#Ext-form-field-File-cfg-buttonMargin", - "shortDoc": "The number of pixels of space reserved between the button and the text field\n(defaults to 3). Note that this only ap..." - }, - { - "tagname": "cfg", - "name": "buttonOnly", - "member": "Ext.form.field.File", - "type": "Boolean", - "doc": "True to display the file upload field as a button with no visible\ntext field (defaults to false). If true, all inherited Text members will still be available.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/File.js", - "linenr": 71, - "html_filename": "File.html", - "href": "File.html#Ext-form-field-File-cfg-buttonOnly", - "shortDoc": "True to display the file upload field as a button with no visible\ntext field (defaults to false). If true, all inher..." - }, - { - "tagname": "cfg", - "name": "buttonText", - "member": "Ext.form.field.File", - "type": "String", - "doc": "The button text to display on the upload button (defaults to\n'Browse...'). Note that if you supply a value for buttonConfig, the buttonConfig.text\nvalue will be used instead if available.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/File.js", - "linenr": 64, - "html_filename": "File.html", - "href": "File.html#Ext-form-field-File-cfg-buttonText", - "shortDoc": "The button text to display on the upload button (defaults to\n'Browse...'). Note that if you supply a value for butto..." - }, - { - "tagname": "cfg", - "name": "checkChangeBuffer", - "member": "Ext.form.field.Base", - "type": "Number", - "doc": "Defines a timeout in milliseconds for buffering checkChangeEvents that fire in rapid succession.\nDefaults to 50 milliseconds.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 185, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-cfg-checkChangeBuffer", - "shortDoc": "Defines a timeout in milliseconds for buffering checkChangeEvents that fire in rapid succession.\nDefaults to 50 milli..." - }, - { - "tagname": "cfg", - "name": "checkChangeEvents", - "member": "Ext.form.field.Base", - "type": "Array", - "doc": "A list of event names that will be listened for on the field's input element, which\nwill cause the field's value to be checked for changes. If a change is detected, the\nchange event will be fired, followed by validation if the validateOnChange\noption is enabled.
\n\n\nDefaults to ['change', 'propertychange'] in Internet Explorer, and ['change', 'input',\n'textInput', 'keyup', 'dragdrop'] in other browsers. This catches all the ways that field values\ncan be changed in most supported browsers; the only known exceptions at the time of writing are:
\n\n\nIf you need to guarantee on-the-fly change notifications including these edge cases, you can call the\ncheckChange method on a repeating interval, e.g. using Ext.TaskManager, or if the field is\nwithin a Ext.form.Panel, you can use the FormPanel's Ext.form.Panel.pollForChanges\nconfiguration to set up such a task automatically.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 161, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-cfg-checkChangeEvents", - "shortDoc": "A list of event names that will be listened for on the field's input element, which\nwill cause the field's value to b..." - }, - { - "tagname": "cfg", - "name": "clearCls", - "member": "Ext.form.Labelable", - "type": "String", - "doc": "The CSS class to be applied to the special clearing div rendered directly after the field\ncontents wrapper to provide field clearing (defaults to 'x-clear').
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 100, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-clearCls", - "shortDoc": "The CSS class to be applied to the special clearing div rendered directly after the field\ncontents wrapper to provide..." - }, - { - "tagname": "cfg", - "name": "cls", - "member": "Ext.AbstractComponent", - "type": "String", - "doc": "An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be\nuseful for adding customized styles to the component or any of its children using standard CSS rules.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 268, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-cls", - "shortDoc": "An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be\nuseful for ..." - }, - { - "tagname": "cfg", - "name": "componentCls", - "member": "Ext.AbstractComponent", - "type": "String", - "doc": "CSS Class to be added to a components root level element to give distinction to it\nvia styling.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 262, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-componentCls" - }, - { - "tagname": "cfg", - "name": "componentLayout", - "member": "Ext.AbstractComponent", - "type": "String/Object", - "doc": "The sizing and positioning of a Component's internal Elements is the responsibility of\nthe Component's layout manager which sizes a Component's internal structure in response to the Component being sized.
\n\n\nGenerally, developers will not use this configuration as all provided Components which need their internal\nelements sizing (Such as input fields) come with their own componentLayout managers.
\n\n\nThe default layout manager will be used on instances of the base Ext.Component class\nwhich simply sizes the Component's encapsulating element to the height and width specified in the setSize method.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 221, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-componentLayout", - "shortDoc": "The sizing and positioning of a Component's internal Elements is the responsibility of\nthe Component's layout manager..." - }, - { - "tagname": "cfg", - "name": "contentEl", - "member": "Ext.AbstractComponent", - "type": "String", - "doc": "Optional. Specify an existing HTML element, or the id
of an existing HTML element to use as the content\nfor this component.
layout
\nscheme that the Component may use. It is just HTML. Layouts operate on child items
.x-hidden
or the x-hide-display
CSS class to\nprevent a brief flicker of the content before it is rendered to the panel.The initial set of data to apply to the tpl
to\nupdate the content area of the Component.
The CSS class to use when the field value is dirty.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 156, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-cfg-dirtyCls" - }, - { - "tagname": "cfg", - "name": "disableKeyFilter", - "member": "Ext.form.field.Text", - "type": "Boolean", - "doc": "Specify true to disable input keystroke filtering (defaults\nto false)
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 124, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-disableKeyFilter" - }, - { - "tagname": "cfg", - "name": "disabled", - "member": "Ext.form.field.Field", - "type": "Boolean", - "doc": "True to disable the field (defaults to false). Disabled Fields will not be\nsubmitted.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 43, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-cfg-disabled" - }, - { - "tagname": "cfg", - "name": "disabledCls", - "member": "Ext.AbstractComponent", - "type": "String", - "doc": "CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 281, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-disabledCls" - }, - { - "tagname": "cfg", - "name": "draggable", - "member": "Ext.Component", - "type": "Mixed", - "doc": "Specify as true to make a floating Component draggable using the Component's encapsulating element as the drag handle.
\n\n\nThis may also be specified as a config object for the ComponentDragger which is instantiated to perform dragging.
\n\n\nFor example to create a Component which may only be dragged around using a certain internal element as the drag handle,\nuse the delegate option:
\n\n\nnew Ext.Component({\n constrain: true,\n floating:true,\n style: {\n backgroundColor: '#fff',\n border: '1px solid black'\n },\n html: '<h1 style=\"cursor:move\">The title</h1><p>The content</p>',\n draggable: {\n delegate: 'h1'\n }\n}).show();\n\n\n\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 234, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-cfg-draggable", - "shortDoc": "Specify as true to make a floating Component draggable using the Component's encapsulating element as the drag handle..." - }, - { - "tagname": "cfg", - "name": "emptyCls", - "member": "Ext.form.field.Text", - "type": "String", - "doc": "
The CSS class to apply to an empty field to style the emptyText\n(defaults to 'x-form-empty-field'). This class is automatically added and removed as needed\ndepending on the current field value.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 216, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-emptyCls", - "shortDoc": "The CSS class to apply to an empty field to style the emptyText\n(defaults to 'x-form-empty-field'). This class is au..." - }, - { - "tagname": "cfg", - "name": "emptyText", - "member": "Ext.form.field.Text", - "type": "String", - "doc": "The default text to place into an empty field (defaults to undefined).
\n\n\nNote that normally this value will be submitted to the server if this field is enabled; to prevent this\nyou can set the submitEmptyText option of\nExt.form.Basic.submit to false.
\n\n\nAlso note that if you use inputType:'file', emptyText is not\nsupported and should be avoided.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 206, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-emptyText", - "shortDoc": "The default text to place into an empty field (defaults to undefined).\n\n\nNote that normally this value will be submit..." - }, - { - "tagname": "cfg", - "name": "enableKeyEvents", - "member": "Ext.form.field.Text", - "type": "Boolean", - "doc": "true to enable the proxying of key events for the HTML input field (defaults to false)
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 225, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-enableKeyEvents" - }, - { - "tagname": "cfg", - "name": "enforceMaxLength", - "member": "Ext.form.field.Text", - "type": "Boolean", - "doc": "True to set the maxLength property on the underlying input field. Defaults to false
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 148, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-enforceMaxLength" - }, - { - "tagname": "cfg", - "name": "errorMsgCls", - "member": "Ext.form.Labelable", - "type": "String", - "doc": "The CSS class to be applied to the error message element. Defaults to 'x-form-error-msg'.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 81, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-errorMsgCls" - }, - { - "tagname": "cfg", - "name": "fieldBodyCls", - "member": "Ext.form.field.File", - "type": "String", - "doc": "An extra CSS class to be applied to the body content element in addition to fieldBodyCls.\nDefaults to 'x-form-file-wrap' for file upload field.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/File.js", - "linenr": 109, - "html_filename": "File.html", - "href": "File.html#Ext-form-field-File-cfg-fieldBodyCls", - "shortDoc": "An extra CSS class to be applied to the body content element in addition to fieldBodyCls.\nDefaults to 'x-form-file-wr..." - }, - { - "tagname": "cfg", - "name": "fieldCls", - "member": "Ext.form.field.Base", - "type": "String", - "doc": "The default CSS class for the field input (defaults to 'x-form-field')
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 140, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-cfg-fieldCls" - }, - { - "tagname": "cfg", - "name": "fieldLabel", - "member": "Ext.form.Labelable", - "type": "String", - "doc": "The label for the field. It gets appended with the labelSeparator, and its position\nand sizing is determined by the labelAlign, labelWidth, and labelPad\nconfigs. Defaults to undefined.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 113, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-fieldLabel", - "shortDoc": "The label for the field. It gets appended with the labelSeparator, and its position\nand sizing is determined by the l..." - }, - { - "tagname": "cfg", - "name": "fieldStyle", - "member": "Ext.form.field.Base", - "type": "String", - "doc": "Optional CSS style(s) to be applied to the field input element.\nShould be a valid argument to Ext.core.Element.applyStyles. Defaults to undefined. See also the\nsetFieldStyle method for changing the style after initialization.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 145, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-cfg-fieldStyle", - "shortDoc": "Optional CSS style(s) to be applied to the field input element.\nShould be a valid argument to Ext.core.Element.applyS..." - }, - { - "tagname": "cfg", - "name": "floating", - "member": "Ext.Component", - "type": "Boolean", - "doc": "Specify as true to float the Component outside of the document flow using CSS absolute positioning.
\n\n\nComponents such as Windows and Menus are floating\nby default.
\n\n\nFloating Components that are programatically rendered will register themselves with the global\nZIndexManager
\n\n\nA floating Component may be used as a child item of a Container. This just allows the floating Component to seek a ZIndexManager by\nexamining the ownerCt chain.
\n\n\nWhen configured as floating, Components acquire, at render time, a ZIndexManager which manages a stack\nof related floating Components. The ZIndexManager brings a single floating Component to the top of its stack when\nthe Component's toFront method is called.
\n\n\nThe ZIndexManager is found by traversing up the ownerCt chain to find an ancestor which itself is floating. This is so that\ndescendant floating Components of floating Containers (Such as a ComboBox dropdown within a Window) can have its zIndex managed relative\nto any siblings, but always above that floating ancestor Container.
\n\n\nIf no floating ancestor is found, a floating Component registers itself with the default ZIndexManager.
\n\n\nFloating components do not participate in the Container's layout. Because of this, they are not rendered until you explicitly\nshow them.
\n\n\nAfter rendering, the ownerCt reference is deleted, and the floatParent property is set to the found floating ancestor Container.\nIf no floating ancestor Container was found the floatParent property will not be set.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 175, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-cfg-floating", - "shortDoc": "Specify as true to float the Component outside of the document flow using CSS absolute positioning.\n\n\nComponents such..." - }, - { - "tagname": "cfg", - "name": "focusCls", - "member": "Ext.form.field.Base", - "type": "String", - "doc": "The CSS class to use when the field receives focus (defaults to 'x-form-focus')
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 151, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-cfg-focusCls" - }, - { - "tagname": "cfg", - "name": "focusOnToFront", - "member": "Ext.util.Floating", - "type": "Boolean", - "doc": "Specifies whether the floated component should be automatically focused when it is\nbrought to the front. Defaults to true.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Floating.js", - "linenr": 9, - "html_filename": "Floating.html", - "href": "Floating.html#Ext-util-Floating-cfg-focusOnToFront", - "shortDoc": "Specifies whether the floated component should be automatically focused when it is\nbrought to the front. Defaults to ..." - }, - { - "tagname": "cfg", - "name": "formItemCls", - "member": "Ext.form.Labelable", - "type": "String", - "doc": "A CSS class to be applied to the outermost element to denote that it is participating in the form\nfield layout. Defaults to 'x-form-item'.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 68, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-formItemCls", - "shortDoc": "A CSS class to be applied to the outermost element to denote that it is participating in the form\nfield layout. Defau..." - }, - { - "tagname": "cfg", - "name": "frame", - "member": "Ext.AbstractComponent", - "type": "Boolean", - "doc": "Specify as true
to have the Component inject framing elements within the Component at render time to\nprovide a graphical rounded frame around the Component content.
This is only necessary when running on outdated, or non standard-compliant browsers such as Microsoft's Internet Explorer\nprior to version 9 which do not support rounded corners natively.
\n\n\nThe extra space taken up by this framing is available from the read only property frameSize.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 198, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-frame", - "shortDoc": "Specify as true to have the Component inject framing elements within the Component at render time to\nprovide a graphi..." - }, - { - "tagname": "cfg", - "name": "grow", - "member": "Ext.form.field.Text", - "type": "Boolean", - "doc": "true if this field should automatically grow and shrink to its content\n(defaults to false)
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 89, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-grow" - }, - { - "tagname": "cfg", - "name": "growAppend", - "member": "Ext.form.field.Text", - "type": "String", - "doc": "A string that will be appended to the field's current value for the purposes of calculating the target\nfield size. Only used when the grow config is true. Defaults to a single capital \"W\"\n(the widest character in common fonts) to leave enough space for the next typed character and avoid the\nfield value shifting before the width is adjusted.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 106, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-growAppend", - "shortDoc": "A string that will be appended to the field's current value for the purposes of calculating the target\nfield size. On..." - }, - { - "tagname": "cfg", - "name": "growMax", - "member": "Ext.form.field.Text", - "type": "Number", - "doc": "The maximum width to allow when grow = true
(defaults\nto 800)
The minimum width to allow when grow = true
(defaults\nto 30)
The height of this component in pixels.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 334, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-height" - }, - { - "tagname": "cfg", - "name": "hidden", - "member": "Ext.AbstractComponent", - "type": "Boolean", - "doc": "Defaults to false.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 357, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-hidden" - }, - { - "tagname": "cfg", - "name": "hideEmptyLabel", - "member": "Ext.form.Labelable", - "type": "Boolean", - "doc": "When set to true, the label element (fieldLabel and labelSeparator) will be\nautomatically hidden if the fieldLabel is empty. Setting this to false will cause the empty\nlabel element to be rendered and space to be reserved for it; this is useful if you want a field without a label\nto line up with other labeled fields in the same form. Defaults to true.
\n\n\nIf you wish to unconditionall hide the label even if a non-empty fieldLabel is configured, then set\nthe hideLabel config to true.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 166, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-hideEmptyLabel", - "shortDoc": "When set to true, the label element (fieldLabel and labelSeparator) will be\nautomatically hidden if the fieldLabel is..." - }, - { - "tagname": "cfg", - "name": "hideLabel", - "member": "Ext.form.Labelable", - "type": "Boolean", - "doc": "Set to true to completely hide the label element (fieldLabel and labelSeparator).\nDefaults to false.
\n\n\nAlso see hideEmptyLabel, which controls whether space will be reserved for an empty fieldLabel.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 158, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-hideLabel", - "shortDoc": "Set to true to completely hide the label element (fieldLabel and labelSeparator).\nDefaults to false.\n\n\nAlso see hideE..." - }, - { - "tagname": "cfg", - "name": "hideMode", - "member": "Ext.AbstractComponent", - "type": "String", - "doc": "A String which specifies how this Component's encapsulating DOM element will be hidden.\nValues may be
'display'
: The Component will be hidden using the display: none
style.'visibility'
: The Component will be hidden using the visibility: hidden
style.'offsets'
: The Component will be hidden by absolutely positioning it out of the visible area of the document. This\nis useful when a hidden Component must maintain measurable dimensions. Hiding using display
results\nin a Component having zero dimensions.'display'
.\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js",
- "linenr": 388,
- "html_filename": "AbstractComponent.html",
- "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-hideMode",
- "shortDoc": "A String which specifies how this Component's encapsulating DOM element will be hidden.\nValues may be\n'display' : The..."
- },
- {
- "tagname": "cfg",
- "name": "html",
- "member": "Ext.AbstractComponent",
- "type": "String/Object",
- "doc": "An HTML fragment, or a DomHelper specification to use as the layout element\ncontent (defaults to ''). The HTML content is added after the component is rendered,\nso the document will not contain this HTML at the time the render event is fired.\nThis content is inserted into the body before any configured contentEl is appended.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 419, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-html", - "shortDoc": "An HTML fragment, or a DomHelper specification to use as the layout element\ncontent (defaults to ''). The HTML conten..." - }, - { - "tagname": "cfg", - "name": "id", - "member": "Ext.AbstractComponent", - "type": "String", - "doc": "The unique id of this component instance (defaults to an auto-assigned id).
\n\n\nIt should not be necessary to use this configuration except for singleton objects in your application.\nComponents created with an id may be accessed globally using Ext.getCmp.
\n\n\nInstead of using assigned ids, use the itemId config, and ComponentQuery which\nprovides selector-based searching for Sencha Components analogous to DOM querying. The Container\nclass contains shortcut methods to query its descendant Components by selector.
\n\n\nNote that this id will also be used as the element id for the containing HTML element\nthat is rendered to the page for this component. This allows you to write id-based CSS\nrules to style the specific instance of this component uniquely, and also to select\nsub-elements using this component's id as the parent.
\n\n\nNote: to avoid complications imposed by a unique id also see itemId
.
Note: to access the container of a Component see ownerCt
.
The id that will be given to the generated input DOM element. Defaults to an automatically generated id.\nIf you configure this manually, you must make sure it is unique in the document.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 210, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-cfg-inputId", - "shortDoc": "The id that will be given to the generated input DOM element. Defaults to an automatically generated id.\nIf you confi..." - }, - { - "tagname": "cfg", - "name": "inputType", - "member": "Ext.form.field.Base", - "type": "String", - "doc": "The type attribute for input fields -- e.g. radio, text, password, file (defaults to 'text').\nThe extended types supported by HTML5 inputs (url, email, etc.) may also be used, though using them\nwill cause older browsers to fall back to 'text'.
\n\n\nThe type 'password' must be used to render that field type currently -- there is no separate Ext\ncomponent for that. You can use Ext.form.field.File which creates a custom-rendered file upload\nfield, but if you want a plain unstyled file input you can use a BaseField with inputType:'file'.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 118, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-cfg-inputType", - "shortDoc": "The type attribute for input fields -- e.g. radio, text, password, file (defaults to 'text').\nThe extended types supp..." - }, - { - "tagname": "cfg", - "name": "invalidCls", - "member": "Ext.form.Labelable", - "type": "String", - "doc": "The CSS class to use when marking the component invalid (defaults to 'x-form-invalid')
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 107, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-invalidCls" - }, - { - "tagname": "cfg", - "name": "invalidText", - "member": "Ext.form.field.Base", - "type": "String", - "doc": "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')
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 134, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-cfg-invalidText", - "shortDoc": "The error text to use when marking a field invalid and no message is provided\n(defaults to 'The value in this field i..." - }, - { - "tagname": "cfg", - "name": "itemId", - "member": "Ext.AbstractComponent", - "type": "String", - "doc": "An itemId can be used as an alternative way to get a reference to a component\nwhen no object reference is available. Instead of using an id
with\nExt.getCmp, use itemId
with\nExt.container.Container.getComponent which will retrieve\nitemId
's or id's. Since itemId
's are an index to the\ncontainer's internal MixedCollection, the itemId
is scoped locally to the container --\navoiding potential conflicts with Ext.ComponentManager which requires a unique\nid
.
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\nAlso see id, query
, down
and child
.
Note: to access the container of an item see ownerCt.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 66, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-itemId", - "shortDoc": "An itemId can be used as an alternative way to get a reference to a component\nwhen no object reference is available. ..." - }, - { - "tagname": "cfg", - "name": "labelAlign", - "member": "Ext.form.Labelable", - "type": "String", - "doc": "Controls the position and alignment of the fieldLabel. Valid values are:
\n\n\nThe CSS class to be applied to the label element. Defaults to 'x-form-item-label'.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 75, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-labelCls" - }, - { - "tagname": "cfg", - "name": "labelPad", - "member": "Ext.form.Labelable", - "type": "Number", - "doc": "The amount of space in pixels between the fieldLabel and the input field. Defaults to 5.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 141, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-labelPad" - }, - { - "tagname": "cfg", - "name": "labelSeparator", - "member": "Ext.form.Labelable", - "type": "String", - "doc": "Character(s) to be inserted at the end of the label text.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 147, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-labelSeparator" - }, - { - "tagname": "cfg", - "name": "labelStyle", - "member": "Ext.form.Labelable", - "type": "String", - "doc": "A CSS style specification string to apply directly to this field's label. Defaults to undefined.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 153, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-labelStyle" - }, - { - "tagname": "cfg", - "name": "labelWidth", - "member": "Ext.form.Labelable", - "type": "Number", - "doc": "The width of the fieldLabel in pixels. Only applicable if the labelAlign is set\nto \"left\" or \"right\". Defaults to 100.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 134, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-labelWidth" - }, - { - "tagname": "cfg", - "name": "labelableRenderTpl", - "member": "Ext.form.Labelable", - "type": "Array/String/Ext.XTemplate", - "doc": "The rendering template for the field decorations. Component classes using this mixin should include\nlogic to use this as their renderTpl, and implement the\ngetSubTplMarkup method to generate the field body content.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 29, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-labelableRenderTpl", - "shortDoc": "The rendering template for the field decorations. Component classes using this mixin should include\nlogic to use this..." - }, - { - "tagname": "cfg", - "name": "listeners", - "member": "Ext.util.Observable", - "type": "Object", - "doc": "(optional)
A config object containing one or more event handlers to be added to this\nobject during initialization. This should be a valid listeners config object as specified in the\naddListener example for attaching multiple handlers at once.
\n\nDOM events from ExtJs Components
\n\n\nWhile some ExtJs Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this\n\n\n
is usually only done when extra value can be added. For example the DataView's\nclick
event passing the node clicked on. To access DOM\nevents directly from a child element of a Component, we need to specify the element
option to\nidentify the Component property to add a DOM listener to:
new Ext.panel.Panel({\n width: 400,\n height: 200,\n dockedItems: [{\n xtype: 'toolbar'\n }],\n listeners: {\n click: {\n element: 'el', //bind to the underlying el property on the panel\n fn: function(){ console.log('click el'); }\n },\n dblclick: {\n element: 'body', //bind to the underlying body property on the panel\n fn: function(){ console.log('dblclick body'); }\n }\n }\n});\n
\n\n\n\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
- "linenr": 103,
- "html_filename": "Observable.html",
- "href": "Observable.html#Ext-util-Observable-cfg-listeners",
- "shortDoc": "(optional) A config object containing one or more event handlers to be added to this\nobject during initialization. T..."
- },
- {
- "tagname": "cfg",
- "name": "loader",
- "member": "Ext.AbstractComponent",
- "type": "Ext.ComponentLoader/Object",
- "doc": "A configuration object or an instance of a Ext.ComponentLoader to load remote\ncontent for this Component.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 462, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-loader" - }, - { - "tagname": "cfg", - "name": "maintainFlex", - "member": "Ext.Component", - "type": "Boolean", - "doc": "Only valid when a sibling element of a Splitter within a VBox or\nHBox layout.
\n\n\nSpecifies that if an immediate sibling Splitter is moved, the Component on the other side is resized, and this\nComponent maintains its configured flex value.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 256, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-cfg-maintainFlex", - "shortDoc": "Only valid when a sibling element of a Splitter within a VBox or\nHBox layout.\n\n\nSpecifies that if an immediate siblin..." - }, - { - "tagname": "cfg", - "name": "margin", - "member": "Ext.AbstractComponent", - "type": "Number/String", - "doc": "Specifies the margin for this component. The margin can be a single numeric value to apply to all sides or\nit can be a CSS style specification for each style, for example: '10 5 3 10'.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 351, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-margin", - "shortDoc": "Specifies the margin for this component. The margin can be a single numeric value to apply to all sides or\nit can be ..." - }, - { - "tagname": "cfg", - "name": "maskRe", - "member": "Ext.form.field.Text", - "type": "RegExp", - "doc": "An input mask regular expression that will be used to filter keystrokes that do\nnot match (defaults to undefined)
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 119, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-maskRe" - }, - { - "tagname": "cfg", - "name": "maxHeight", - "member": "Ext.AbstractComponent", - "type": "Number", - "doc": "The maximum value in pixels which this Component will set its height to.
\n\n\nWarning: This will override any size management applied by layout managers.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 451, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-maxHeight", - "shortDoc": "The maximum value in pixels which this Component will set its height to.\n\n\nWarning: This will override any size manag..." - }, - { - "tagname": "cfg", - "name": "maxLength", - "member": "Ext.form.field.Text", - "type": "Number", - "doc": "Maximum input field length allowed by validation (defaults to Number.MAX_VALUE).\nThis behavior is intended to provide instant feedback to the user by improving usability to allow pasting\nand editing or overtyping and back tracking. To restrict the maximum number of characters that can be\nentered into the field use the enforceMaxLength option.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 140, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-maxLength", - "shortDoc": "Maximum input field length allowed by validation (defaults to Number.MAX_VALUE).\nThis behavior is intended to provide..." - }, - { - "tagname": "cfg", - "name": "maxLengthText", - "member": "Ext.form.field.Text", - "type": "String", - "doc": "Error text to display if the maximum length\nvalidation fails (defaults to 'The maximum length for this field is {maxLength}')
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 158, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-maxLengthText", - "shortDoc": "Error text to display if the maximum length\nvalidation fails (defaults to 'The maximum length for this field is {maxL..." - }, - { - "tagname": "cfg", - "name": "maxWidth", - "member": "Ext.AbstractComponent", - "type": "Number", - "doc": "The maximum value in pixels which this Component will set its width to.
\n\n\nWarning: This will override any size management applied by layout managers.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 456, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-maxWidth", - "shortDoc": "The maximum value in pixels which this Component will set its width to.\n\n\nWarning: This will override any size manage..." - }, - { - "tagname": "cfg", - "name": "minHeight", - "member": "Ext.AbstractComponent", - "type": "Number", - "doc": "The minimum value in pixels which this Component will set its height to.
\n\n\nWarning: This will override any size management applied by layout managers.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 441, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-minHeight", - "shortDoc": "The minimum value in pixels which this Component will set its height to.\n\n\nWarning: This will override any size manag..." - }, - { - "tagname": "cfg", - "name": "minLength", - "member": "Ext.form.field.Text", - "type": "Number", - "doc": "Minimum input field length required (defaults to 0)
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 135, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-minLength" - }, - { - "tagname": "cfg", - "name": "minLengthText", - "member": "Ext.form.field.Text", - "type": "String", - "doc": "Error text to display if the minimum length\nvalidation fails (defaults to 'The minimum length for this field is {minLength}')
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 152, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-minLengthText", - "shortDoc": "Error text to display if the minimum length\nvalidation fails (defaults to 'The minimum length for this field is {minL..." - }, - { - "tagname": "cfg", - "name": "minWidth", - "member": "Ext.AbstractComponent", - "type": "Number", - "doc": "The minimum value in pixels which this Component will set its width to.
\n\n\nWarning: This will override any size management applied by layout managers.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 446, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-minWidth", - "shortDoc": "The minimum value in pixels which this Component will set its width to.\n\n\nWarning: This will override any size manage..." - }, - { - "tagname": "cfg", - "name": "msgTarget", - "member": "Ext.form.Labelable", - "type": "String", - "doc": "The location where the error message text should display.\nMust be one of the following values:
\n\n\nqtip
Display a quick tip containing the message when the user hovers over the field. This is the default.\ntitle
Display the message in a default browser title attribute popup.under
Add a block div beneath the field containing the error message.side
Add an error icon to the right of the field, displaying the message in a popup on hover.none
Don't display any error message. This might be useful if you are implementing custom error display.[element id]
Add the error message directly to the innerHTML of the specified element.The name of the field (defaults to undefined). This is used as the parameter\nname when including the field value in a form submit(). If no name is\nconfigured, it falls back to the inputId. To prevent the field from being included in the\nform submit, set submitValue to false.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 111, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-cfg-name", - "shortDoc": "The name of the field (defaults to undefined). This is used as the parameter\nname when including the field value in a..." - }, - { - "tagname": "cfg", - "name": "overCls", - "member": "Ext.AbstractComponent", - "type": "String", - "doc": "An optional extra CSS class that will be added to this component's Element when the mouse moves\nover the Element, and removed when the mouse moves out. (defaults to ''). This can be\nuseful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 274, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-overCls", - "shortDoc": "An optional extra CSS class that will be added to this component's Element when the mouse moves\nover the Element, and..." - }, - { - "tagname": "cfg", - "name": "padding", - "member": "Ext.AbstractComponent", - "type": "Number/String", - "doc": "Specifies the padding for this component. The padding can be a single numeric value to apply to all sides or\nit can be a CSS style specification for each style, for example: '10 5 3 10'.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 345, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-padding", - "shortDoc": "Specifies the padding for this component. The padding can be a single numeric value to apply to all sides or\nit can b..." - }, - { - "tagname": "cfg", - "name": "plugins", - "member": "Ext.AbstractComponent", - "type": "Object/Array", - "doc": "An object or array of objects that will provide custom functionality for this component. The only\nrequirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component.\nWhen a component is created, if any plugins are available, the component will call the init method on each\nplugin, passing a reference to itself. Each plugin can then call methods or respond to events on the\ncomponent as needed to provide its functionality.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 491, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-plugins", - "shortDoc": "An object or array of objects that will provide custom functionality for this component. The only\nrequirement for a ..." - }, - { - "tagname": "cfg", - "name": "preventMark", - "member": "Ext.form.Labelable", - "type": "Boolean", - "doc": "true to disable displaying any error message set on this object.\nDefaults to false.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 177, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-cfg-preventMark" - }, - { - "tagname": "cfg", - "name": "readOnly", - "member": "Ext.form.field.Base", - "type": "Boolean", - "doc": "true to mark the field as readOnly in HTML\n(defaults to false).
\n\nNote: this only sets the element's readOnly DOM attribute.\n\n\n
Setting readOnly=true
, for example, will not disable triggering a\nComboBox or Date; it gives you the option of forcing the user to choose\nvia the trigger without typing in the text box. To hide the trigger use\nhideTrigger
.
The CSS class applied to the component's main element when it is readOnly.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 205, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-cfg-readOnlyCls" - }, - { - "tagname": "cfg", - "name": "regex", - "member": "Ext.form.field.Text", - "type": "RegExp", - "doc": "A JavaScript RegExp object to be tested against the field value during validation\n(defaults to undefined). If the test fails, the field will be marked invalid using\nregexText.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 194, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-regex", - "shortDoc": "A JavaScript RegExp object to be tested against the field value during validation\n(defaults to undefined). If the tes..." - }, - { - "tagname": "cfg", - "name": "regexText", - "member": "Ext.form.field.Text", - "type": "String", - "doc": "The error text to display if regex is used and the\ntest fails during validation (defaults to '')
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 200, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-regexText" - }, - { - "tagname": "cfg", - "name": "renderSelectors", - "member": "Ext.AbstractComponent", - "type": "Object", - "doc": "An object containing properties specifying DomQuery selectors which identify child elements\ncreated by the render process.
\n\nAfter the Component's internal structure is rendered according to the renderTpl, this object is iterated through,\nand the found Elements are added as properties to the Component using the renderSelector
property name.
For example, a Component which rendered an image, and description into its element might use the following properties\ncoded into its prototype:
\n\nrenderTpl: '<img src=\"{imageUrl}\" class=\"x-image-component-img\"><div class=\"x-image-component-desc\">{description}>/div<',\n\nrenderSelectors: {\n image: 'img.x-image-component-img',\n descEl: 'div.x-image-component-desc'\n}\n
\n\nAfter rendering, the Component would have a property image
referencing its child img
Element,\nand a property descEl
referencing the div
Element which contains the description.
Specify the id of the element, a DOM element or an existing Element that this component\nwill be rendered into.
\n\n\nSee render
also.
An XTemplate used to create the internal structure inside this Component's\nencapsulating Element.
\n\n\nYou do not normally need to specify this. For the base classes Ext.Component\nand Ext.container.Container, this defaults to null
which means that they will be initially rendered\nwith no internal structure; they render their Element empty. The more specialized ExtJS and Touch classes\nwhich use a more complex DOM structure, provide their own template definitions.
This is intended to allow the developer to create application-specific utility Components with customized\ninternal structure.
\n\n\nUpon rendering, any created child elements may be automatically imported into object properties using the\nrenderSelectors option.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 143, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-renderTpl", - "shortDoc": "An XTemplate used to create the internal structure inside this Component's\nencapsulating Element.\n\n\nYou do not normal..." - }, - { - "tagname": "cfg", - "name": "resizable", - "member": "Ext.Component", - "type": "Mixed", - "doc": "Specify as true
to apply a Resizer to this Component\nafter rendering.
May also be specified as a config object to be passed to the constructor of Resizer\nto override any defaults. By default the Component passes its minimum and maximum size, and uses\nExt.resizer.Resizer.dynamic: false
A valid Ext.resizer.Resizer handles config string (defaults to 'all'). Only applies when resizable = true.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 163, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-cfg-resizeHandles" - }, - { - "tagname": "cfg", - "name": "saveBuffer", - "member": "Ext.state.Stateful", - "type": "Number", - "doc": "A buffer to be applied if many state events are fired within\na short period. Defaults to 100.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/state/Stateful.js", - "linenr": 74, - "html_filename": "Stateful.html", - "href": "Stateful.html#Ext-state-Stateful-cfg-saveBuffer" - }, - { - "tagname": "cfg", - "name": "selectOnFocus", - "member": "Ext.form.field.Text", - "type": "Boolean", - "doc": "true to automatically select any existing field text when the field\nreceives input focus (defaults to false)
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 164, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-selectOnFocus" - }, - { - "tagname": "cfg", - "name": "shadow", - "member": "Ext.util.Floating", - "type": "String/Boolean", - "doc": "Specifies whether the floating component should be given a shadow. Set to\ntrue to automatically create an Ext.Shadow, or a string indicating the\nshadow's display Ext.Shadow.mode. Set to false to disable the shadow.\n(Defaults to 'sides'.)
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Floating.js", - "linenr": 16, - "html_filename": "Floating.html", - "href": "Floating.html#Ext-util-Floating-cfg-shadow", - "shortDoc": "Specifies whether the floating component should be given a shadow. Set to\ntrue to automatically create an Ext.Shadow,..." - }, - { - "tagname": "cfg", - "name": "size", - "member": "Ext.form.field.Text", - "type": "Number", - "doc": "An initial value for the 'size' attribute on the text input element. This is only\nused if the field has no configured width and is not given a width by its container's layout.\nDefaults to 20.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 82, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-size", - "shortDoc": "An initial value for the 'size' attribute on the text input element. This is only\nused if the field has no configured..." - }, - { - "tagname": "cfg", - "name": "stateEvents", - "member": "Ext.state.Stateful", - "type": "Array", - "doc": "An array of events that, when fired, should trigger this object to\nsave its state (defaults to none). stateEvents
may be any type\nof event supported by this object, including browser or custom events\n(e.g., ['click', 'customerchange']).
See stateful
for an explanation of saving and\nrestoring object state.
The unique id for this object to use for state management purposes.
\n\nSee stateful for an explanation of saving and restoring state.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/state/Stateful.js", - "linenr": 58, - "html_filename": "Stateful.html", - "href": "Stateful.html#Ext-state-Stateful-cfg-stateId", - "shortDoc": "The unique id for this object to use for state management purposes.\n\nSee stateful for an explanation of saving and re..." - }, - { - "tagname": "cfg", - "name": "stateful", - "member": "Ext.state.Stateful", - "type": "Boolean", - "doc": "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. \nAuto-generated ids are not guaranteed to be stable across page loads and \ncannot be relied upon to save and restore the same state for a object.
\n
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.
\nTo set the state provider for the current page:
\nExt.state.Manager.setProvider(new Ext.state.CookieProvider({\n expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now\n}));\n
\nA stateful object attempts to save state when one of the events\nlisted in the stateEvents
configuration fires.
To save state, a stateful object first serializes its state by\ncalling getState
. By default, this function does\nnothing. The developer must provide an implementation which returns an\nobject hash which represents the restorable state of the object.
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
During construction, a stateful object attempts to restore\nits state by calling Ext.state.Manager.get passing the\nstateId
The resulting object is passed to applyState
.\nThe default implementation of applyState
simply copies\nproperties into the object, but a developer may override this to support\nmore behaviour.
You can perform extra processing on state save and restore by attaching\nhandlers to the beforestaterestore, staterestore,\nbeforestatesave and statesave events.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/state/Stateful.js", - "linenr": 18, - "html_filename": "Stateful.html", - "href": "Stateful.html#Ext-state-Stateful-cfg-stateful", - "shortDoc": "A flag which causes the object to attempt to restore the state of\ninternal properties from a saved state on startup. ..." - }, - { - "tagname": "cfg", - "name": "stripCharsRe", - "member": "Ext.form.field.Text", - "type": "RegExp", - "doc": "A JavaScript RegExp object used to strip unwanted content from the value\nbefore validation (defaults to undefined).
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 77, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-stripCharsRe" - }, - { - "tagname": "cfg", - "name": "style", - "member": "Ext.AbstractComponent", - "type": "String", - "doc": "A custom style specification to be applied to this component's Element. Should be a valid argument to\nExt.core.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\n",
- "private": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js",
- "linenr": 300,
- "html_filename": "AbstractComponent.html",
- "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-style",
- "shortDoc": "A custom style specification to be applied to this component's Element. Should be a valid argument to\nExt.core.Eleme..."
- },
- {
- "tagname": "cfg",
- "name": "styleHtmlCls",
- "member": "Ext.AbstractComponent",
- "type": "String",
- "doc": "The class that is added to the content target when you set styleHtmlContent to true.\nDefaults to 'x-html'
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 434, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlCls" - }, - { - "tagname": "cfg", - "name": "styleHtmlContent", - "member": "Ext.AbstractComponent", - "type": "Boolean", - "doc": "True to automatically style the html inside the content target of this component (body for panels).\nDefaults to false.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 427, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlContent" - }, - { - "tagname": "cfg", - "name": "submitValue", - "member": "Ext.form.field.Field", - "type": "Boolean", - "doc": "Setting this to false will prevent the field from being\nsubmitted even when it is not disabled. Defaults to true.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 49, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-cfg-submitValue" - }, - { - "tagname": "cfg", - "name": "tabIndex", - "member": "Ext.form.field.Base", - "type": "Number", - "doc": "The tabIndex for this field. Note this only applies to fields that are rendered,\nnot those which are built via applyTo (defaults to undefined).
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 129, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-cfg-tabIndex", - "shortDoc": "The tabIndex for this field. Note this only applies to fields that are rendered,\nnot those which are built via applyT..." - }, - { - "tagname": "cfg", - "name": "toFrontOnShow", - "member": "Ext.Component", - "type": "Boolean", - "doc": "True to automatically call toFront when the show method is called\non an already visible, floating component (default is true
).
An data
and\ntplWriteMode
configurations.
The Ext.(X)Template method to use when\nupdating the content area of the Component. Defaults to 'overwrite'
\n(see Ext.XTemplate.overwrite
).
A set style for a component. Can be a string or an Array of multiple strings (UIs)
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 287, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-ui" - }, - { - "tagname": "cfg", - "name": "validateOnBlur", - "member": "Ext.form.field.Base", - "type": "Boolean", - "doc": "Whether the field should validate when it loses focus (defaults to true). This will cause fields\nto be validated as the user steps through the fields in the form regardless of whether they are making\nchanges to those fields along the way. See also validateOnChange.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 216, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-cfg-validateOnBlur", - "shortDoc": "Whether the field should validate when it loses focus (defaults to true). This will cause fields\nto be validated as t..." - }, - { - "tagname": "cfg", - "name": "validateOnChange", - "member": "Ext.form.field.Field", - "type": "Boolean", - "doc": "Specifies whether this field should be validated immediately whenever a change in its value is detected.\nDefaults to true. If the validation results in a change in the field's validity, a\nvaliditychange event will be fired. This allows the field to show feedback about the\nvalidity of its contents immediately as the user is typing.
\n\n\nWhen set to false, feedback will not be immediate. However the form will still be validated\nbefore submitting if the clientValidation option to Ext.form.Basic.doAction is\nenabled, or if the field or form are validated manually.
\n\n\nSee also Ext.form.field.Base.checkChangeEventsfor controlling how changes to the field's value are detected.
\n\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 55, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-cfg-validateOnChange", - "shortDoc": "Specifies whether this field should be validated immediately whenever a change in its value is detected.\nDefaults to ..." - }, - { - "tagname": "cfg", - "name": "validator", - "member": "Ext.form.field.Text", - "type": "Function", - "doc": "A custom validation function to be called during field validation (getErrors)\n(defaults to undefined). If specified, this function will be called first, allowing the\ndeveloper to override the default validation process.
\n\n\nThis function will be passed the following Parameters:
\n\n\nvalue
: Mixed\nThis function is to Return:
\n\n\ntrue
: Boolean\ntrue
if the value is validmsg
: String\nA value to initialize this field with (defaults to undefined).
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 33, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-cfg-value" - }, - { - "tagname": "cfg", - "name": "vtype", - "member": "Ext.form.field.Text", - "type": "String", - "doc": "A validation type name as defined in Ext.form.field.VTypes (defaults to undefined)
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 115, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-cfg-vtype" - }, - { - "tagname": "cfg", - "name": "vtypeText", - "member": "Ext.form.field.Text", - "type": "String", - "doc": "A custom error message to display in place of the default message provided\nfor the vtype
currently set for this field (defaults to undefined).\nNote: only applies if vtype
is set, else ignored.
The width of this component in pixels.
\n", - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 329, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-cfg-width" - } - ], - "method": [ - { - "tagname": "method", - "name": "File", - "member": "Ext.form.field.File", - "doc": "Create a new File field
\n", - "params": [ - { - "type": "Object", - "name": "config", - "doc": "Configuration options
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/File.js", - "linenr": 1, - "html_filename": "File.html", - "href": "File.html#Ext-form-field-File-method-constructor", - "shortDoc": "Create a new File field
\n" - }, - { - "tagname": "method", - "name": "addClass", - "member": "Ext.AbstractComponent", - "doc": "@deprecated 4.0 Replaced by addCls\nAdds a CSS class to the top level element representing this component.
\n", - "params": [ - { - "type": "String", - "name": "cls", - "doc": "The CSS class name to add
\n", - "optional": false - } - ], - "return": { - "type": "Ext.Component", - "doc": "Returns the Component to allow method chaining.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2161, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-addClass", - "shortDoc": "@deprecated 4.0 Replaced by addCls\nAdds a CSS class to the top level element representing this component.
\n" - }, - { - "tagname": "method", - "name": "addCls", - "member": "Ext.AbstractComponent", - "doc": "Adds a CSS class to the top level element representing this component.
\n", - "params": [ - { - "type": "String", - "name": "cls", - "doc": "The CSS class name to add
\n", - "optional": false - } - ], - "return": { - "type": "Ext.Component", - "doc": "Returns the Component to allow method chaining.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2139, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-addCls", - "shortDoc": "Adds a CSS class to the top level element representing this component.
\n" - }, - { - "tagname": "method", - "name": "addClsWithUI", - "member": "Ext.AbstractComponent", - "doc": "Adds a cls to the uiCls array, which will also call addUIClsToElement and adds\nto all elements of this component.
\n", - "params": [ - { - "type": "String/Array", - "name": "cls", - "doc": "A string or an array of strings to add to the uiCls
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1346, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-addClsWithUI", - "shortDoc": "Adds a cls to the uiCls array, which will also call addUIClsToElement and adds\nto all elements of this component.
\n" - }, - { - "tagname": "method", - "name": "addEvents", - "member": "Ext.util.Observable", - "doc": "Adds the specified events to the list of events which this Observable may fire.
\n", - "params": [ - { - "type": "Object/String", - "name": "o", - "doc": "Either an object with event names as properties with a value of true
\nor the first event name string if multiple event names are being passed as separate parameters.
[additional] Optional additional event names if multiple event names are being passed as separate parameters.\nUsage:
\n\nthis.addEvents('storeloaded', 'storecleared');\n
\n\n",
- "optional": false
- }
- ],
- "return": {
- "type": "void",
- "doc": "\n"
- },
- "private": false,
- "static": false,
- "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js",
- "linenr": 452,
- "html_filename": "Observable.html",
- "href": "Observable.html#Ext-util-Observable-method-addEvents",
- "shortDoc": "Adds the specified events to the list of events which this Observable may fire.
\n" - }, - { - "tagname": "method", - "name": "addListener", - "member": "Ext.util.Observable", - "doc": "Appends an event handler to this object.
\n", - "params": [ - { - "type": "String", - "name": "eventName", - "doc": "The name of the event to listen for. May also be an object who's property names are event names. See
\n", - "optional": false - }, - { - "type": "Function", - "name": "handler", - "doc": "The method the event invokes.
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope (this
reference) in which the handler function is executed.\nIf omitted, defaults to the object which fired the event.
(optional) An object containing handler configuration.\nproperties. This may contain any of the following properties:
this
reference) in which the handler function is executed.\nIf omitted, defaults to the object which fired the event.This option is useful during Component construction to add DOM event listeners to elements of Components which\nwill exist only after the Component is rendered. For example, to add a click listener to a Panel's body:\n
new Ext.panel.Panel({\n title: 'The title',\n listeners: {\n click: this.handlePanelClick,\n element: 'body'\n }\n});\n
\n\n\nWhen added in this way, the options available are the options applicable to Ext.core.Element.addListener
\n\n\n\nCombining Options
\nUsing the options argument, it is possible to combine different types of listeners:
\n
\nA delayed, one-time listener.\n
myPanel.on('hide', this.handleClick, this, {\nsingle: true,\ndelay: 100\n});
\n\nAttaching multiple handlers in 1 call
\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple events. For example:\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\n", - "optional": true - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 271, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-addListener", - "shortDoc": "
Appends an event handler to this object.
\n" - }, - { - "tagname": "method", - "name": "addManagedListener", - "member": "Ext.util.Observable", - "doc": "Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n", - "params": [ - { - "type": "Observable/Element", - "name": "item", - "doc": "
The item to which to add a listener/listeners.
\n", - "optional": false - }, - { - "type": "Object/String", - "name": "ename", - "doc": "The event name, or an object containing event name properties.
\n", - "optional": false - }, - { - "type": "Function", - "name": "fn", - "doc": "Optional. If the ename
parameter was an event name, this\nis the handler function.
Optional. If the ename
parameter was an event name, this\nis the scope (this
reference) in which the handler function is executed.
Optional. If the ename
parameter was an event name, this\nis the addListener options.
Adds listeners to any Observable object (or Element) which are automatically removed when this Component\nis destroyed.\n\n" - }, - { - "tagname": "method", - "name": "addStateEvents", - "member": "Ext.state.Stateful", - "doc": "
Add events that will trigger the state to be saved.
\n", - "params": [ - { - "type": "String/Array", - "name": "events", - "doc": "The event name or an array of event names.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/state/Stateful.js", - "linenr": 159, - "html_filename": "Stateful.html", - "href": "Stateful.html#Ext-state-Stateful-method-addStateEvents", - "shortDoc": "Add events that will trigger the state to be saved.
\n" - }, - { - "tagname": "method", - "name": "afterComponentLayout", - "member": "Ext.AbstractComponent", - "doc": "\n", - "params": [ - { - "type": "Number", - "name": "adjWidth", - "doc": "The box-adjusted width that was set
\n", - "optional": false - }, - { - "type": "Number", - "name": "adjHeight", - "doc": "The box-adjusted height that was set
\n", - "optional": false - }, - { - "type": "Boolean", - "name": "isSetSize", - "doc": "Whether or not the height/width are stored on the component permanently
\n", - "optional": false - }, - { - "type": "Ext.Component", - "name": "layoutOwner", - "doc": "Component which sent the layout. Only used when isSetSize is false.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2481, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-afterComponentLayout", - "shortDoc": "\n" - }, - { - "tagname": "method", - "name": "alignTo", - "member": "Ext.util.Floating", - "doc": "Aligns this floating Component to the specified element
\n", - "params": [ - { - "type": "Mixed", - "name": "element", - "doc": "The element or Ext.Component to align to. If passing a component, it must\nbe a omponent instance. If a string id is passed, it will be used as an element id.
\n", - "optional": false - }, - { - "type": "String", - "name": "position", - "doc": "(optional, defaults to \"tl-bl?\") The position to align to (see Ext.core.Element.alignTo for more details).
\n", - "optional": false - }, - { - "type": "Array", - "name": "offsets", - "doc": "(optional) Offset the positioning by [x, y]
\n", - "optional": true - } - ], - "return": { - "type": "Component", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Floating.js", - "linenr": 171, - "html_filename": "Floating.html", - "href": "Floating.html#Ext-util-Floating-method-alignTo", - "shortDoc": "Aligns this floating Component to the specified element
\n" - }, - { - "tagname": "method", - "name": "animate", - "member": "Ext.util.Animate", - "doc": "Perform custom animation on this object.
\n
This method is applicable to both the the Component class and the Element class.\nIt performs animated transitions of certain properties of this object over a specified timeline.
\nThe sole parameter is an object which specifies start property values, end property values, and properties which\ndescribe the timeline. Of the properties listed below, only to
is mandatory.
Properties include
from
to
duration
easing
\n- ease
\n- easeIn
\n- easeOut
\n- easeInOut
\n- backIn
\n- backOut
\n- elasticIn
\n- elasticOut
\n- bounceIn
\n- bounceOut
\n
keyframes
listeners
beforeanimate
event or the afteranimate
event.from
, to
, and keyframe
objects:x
y
left
left
value. Units must be supplied.top
top
value. Units must be supplied.width
width
value. Units must be supplied.height
height
value. Units must be supplied.scrollLeft
scrollLeft
value.scrollTop
scrollLeft
value.opacity
opacity
value. This must be a value between 0
and 1
.Be aware than animating an Element which is being used by an Ext Component without in some way informing the Component about the changed element state\nwill result in incorrect Component behaviour. This is because the Component will be using the old state of the element. To avoid this problem, it is now possible to\ndirectly animate certain properties of Components.
\nfrom
, to
, and keyframe
objects:x
y
left
left
value in pixels.top
top
value in pixels.width
width
value in pixels.width
width
value in pixels.dynamic
For example, to animate a Window to a new size, ensuring that its internal layout, and any shadow is correct:
\nmyWindow = Ext.create('Ext.window.Window', {\n title: 'Test Component animation',\n width: 500,\n height: 300,\n layout: {\n type: 'hbox',\n align: 'stretch'\n },\n items: [{\n title: 'Left: 33%',\n margins: '5 0 5 5',\n flex: 1\n }, {\n title: 'Left: 66%',\n margins: '5 5 5 5',\n flex: 2\n }]\n});\nmyWindow.show();\nmyWindow.header.el.on('click', function() {\n myWindow.animate({\n to: {\n width: (myWindow.getWidth() == 500) ? 700 : 500,\n height: (myWindow.getHeight() == 300) ? 400 : 300,\n }\n });\n});\n
\nFor performance reasons, by default, the internal layout is only updated when the Window reaches its final \"to\"
size. If dynamic updating of the Window's child\nComponents is required, then configure the animation with dynamic: true
and the two child items will maintain their proportions during the animation.
An object containing properties which describe the animation's start and end states, and the timeline of the animation.
\n", - "optional": false - } - ], - "return": { - "type": "Object", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 207, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-animate", - "shortDoc": "Perform custom animation on this object.\nThis method is applicable to both the the Component class and the Element cl..." - }, - { - "tagname": "method", - "name": "applyState", - "member": "Ext.state.Stateful", - "doc": "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", - "params": [ - { - "type": "Object", - "name": "state", - "doc": "The state
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/state/Stateful.js", - "linenr": 225, - "html_filename": "Stateful.html", - "href": "Stateful.html#Ext-state-Stateful-method-applyState", - "shortDoc": "Applies the state to the object. This should be overridden in subclasses to do\nmore complex state operations. By defa..." - }, - { - "tagname": "method", - "name": "autoSize", - "member": "Ext.form.field.Text", - "doc": "Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.\nThis only takes effect if grow = true, and fires the autosize event if the\nwidth changes.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 636, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-method-autoSize", - "shortDoc": "Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.\nThis only ta..." - }, - { - "tagname": "method", - "name": "batchChanges", - "member": "Ext.form.field.Field", - "doc": "A utility for grouping a set of modifications which may trigger value changes into a single\ntransaction, to prevent excessive firing of change events. This is useful for instance\nif the field has sub-fields which are being updated as a group; you don't want the container\nfield to check its own changed state for each subfield change.
\n", - "params": [ - { - "type": "Object", - "name": "fn", - "doc": "A function containing the transaction code
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 348, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-method-batchChanges", - "shortDoc": "A utility for grouping a set of modifications which may trigger value changes into a single\ntransaction, to prevent e..." - }, - { - "tagname": "method", - "name": "beforeComponentLayout", - "member": "Ext.AbstractComponent", - "doc": "Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout\nfrom being executed.
\n", - "params": [ - { - "type": "Number", - "name": "adjWidth", - "doc": "The box-adjusted width that was set
\n", - "optional": false - }, - { - "type": "Number", - "name": "adjHeight", - "doc": "The box-adjusted height that was set
\n", - "optional": false - }, - { - "type": "Boolean", - "name": "isSetSize", - "doc": "Whether or not the height/width are stored on the component permanently
\n", - "optional": false - }, - { - "type": "Ext.Component", - "name": "layoutOwner", - "doc": "Component which sent the layout. Only used when isSetSize is false.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2491, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-beforeComponentLayout", - "shortDoc": "Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout\nfrom being ex..." - }, - { - "tagname": "method", - "name": "bubble", - "member": "Ext.Component", - "doc": "Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of\nfunction call will be the scope provided or the current component. The arguments to the function\nwill be the args provided or the current component. If the function returns false at any point,\nthe bubble is stopped.
\n", - "params": [ - { - "type": "Function", - "name": "fn", - "doc": "The function to call
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope of the function (defaults to current node)
\n", - "optional": true - }, - { - "type": "Array", - "name": "args", - "doc": "(optional) The args to call the function with (default to passing the current component)
\n", - "optional": true - } - ], - "return": { - "type": "Ext.Component", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 1004, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-bubble", - "shortDoc": "Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of..." - }, - { - "tagname": "method", - "name": "capture", - "member": "Ext.util.Observable", - "doc": "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\nbefore the event is fired. If the supplied function returns false,\nthe event will not fire.
\n", - "params": [ - { - "type": "Observable", - "name": "o", - "doc": "The Observable to capture events from.
\n", - "optional": false - }, - { - "type": "Function", - "name": "fn", - "doc": "The function to call when an event is fired.
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope (this
reference) in which the function is executed. Defaults to the Observable firing the event.
Center this Component in its container.
\n", - "params": [ - - ], - "return": { - "type": "Component", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Floating.js", - "linenr": 249, - "html_filename": "Floating.html", - "href": "Floating.html#Ext-util-Floating-method-center", - "shortDoc": "Center this Component in its container.
\n" - }, - { - "tagname": "method", - "name": "checkChange", - "member": "Ext.form.field.Field", - "doc": "Checks whether the value of the field has changed since the last time it was checked. If the value\nhas changed, it:
\n\n\nChecks the isDirty state of the field and if it has changed since the last time\nit was checked, fires the dirtychange event.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 286, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-method-checkDirty", - "shortDoc": "Checks the isDirty state of the field and if it has changed since the last time\nit was checked, fires the dirtychange..." - }, - { - "tagname": "method", - "name": "clearInvalid", - "member": "Ext.form.field.Base", - "doc": "Clear any invalid styles/messages for this field.
\n\n\nNote: this method does not cause the Field's validate or isValid methods to\nreturn true
if the value does not pass validation. So simply clearing a field's errors\nwill not necessarily allow submission of forms submitted with the Ext.form.action.Submit.clientValidation\noption set.
Removes all listeners for this object including the managed listeners
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 383, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-clearListeners", - "shortDoc": "Removes all listeners for this object including the managed listeners
\n" - }, - { - "tagname": "method", - "name": "clearManagedListeners", - "member": "Ext.util.Observable", - "doc": "Removes all managed listeners for this object.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 412, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-clearManagedListeners", - "shortDoc": "Removes all managed listeners for this object.
\n" - }, - { - "tagname": "method", - "name": "cloneConfig", - "member": "Ext.Component", - "doc": "Clone the current component using the original config values passed into this instance by default.
\n", - "params": [ - { - "type": "Object", - "name": "overrides", - "doc": "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", - "optional": false - } - ], - "return": { - "type": "Ext.Component", - "doc": "clone The cloned copy of this component
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 944, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-cloneConfig", - "shortDoc": "Clone the current component using the original config values passed into this instance by default.
\n" - }, - { - "tagname": "method", - "name": "destroy", - "member": "Ext.AbstractComponent", - "doc": "Destroys the Component.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2672, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-destroy", - "shortDoc": "Destroys the Component.
\n" - }, - { - "tagname": "method", - "name": "disable", - "member": "Ext.AbstractComponent", - "doc": "Disable the component.
\n", - "params": [ - { - "type": "Boolean", - "name": "silent", - "doc": "Passing true, will supress the 'disable' event from being fired.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2078, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-disable", - "shortDoc": "Disable the component.
\n" - }, - { - "tagname": "method", - "name": "doAutoRender", - "member": "Ext.AbstractComponent", - "doc": "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", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 816, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-doAutoRender", - "shortDoc": "Handles autoRender.\nFloating Components may have an ownerCt. If they are asking to be constrained, constrain them wit..." - }, - { - "tagname": "method", - "name": "doComponentLayout", - "member": "Ext.AbstractComponent", - "doc": "This method needs to be called whenever you change something on this component that requires the Component's\nlayout to be recalculated.
\n", - "params": [ - { - "type": "Object", - "name": "width", - "doc": "\n", - "optional": false - }, - { - "type": "Object", - "name": "height", - "doc": "\n", - "optional": false - }, - { - "type": "Object", - "name": "isSetSize", - "doc": "\n", - "optional": false - }, - { - "type": "Object", - "name": "ownerCt", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Ext.container.Container", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2437, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-doComponentLayout", - "shortDoc": "This method needs to be called whenever you change something on this component that requires the Component's\nlayout t..." - }, - { - "tagname": "method", - "name": "doConstrain", - "member": "Ext.util.Floating", - "doc": "Moves this floating Component into a constrain region.
\n\n\nBy default, this Component is constrained to be within the container it was added to, or the element\nit was rendered to.
\n\n\nAn alternative constraint may be passed.
\n\n", - "params": [ - { - "type": "Mixed", - "name": "constrainTo", - "doc": "Optional. The Element or Region into which this Component is to be constrained.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Floating.js", - "linenr": 133, - "html_filename": "Floating.html", - "href": "Floating.html#Ext-util-Floating-method-doConstrain", - "shortDoc": "Moves this floating Component into a constrain region.\n\n\nBy default, this Component is constrained to be within the c..." - }, - { - "tagname": "method", - "name": "enable", - "member": "Ext.AbstractComponent", - "doc": "Enable the component
\n", - "params": [ - { - "type": "Boolean", - "name": "silent", - "doc": "Passing false will supress the 'enable' event from being fired.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2055, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-enable", - "shortDoc": "Enable the component
\n" - }, - { - "tagname": "method", - "name": "enableBubble", - "member": "Ext.util.Observable", - "doc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling\nthis.getBubbleTarget()
if present. There is no implementation in the Observable base class.
This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default\nimplementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to\naccess the required target more quickly.
\n\n\nExample:
\n\n\nExt.override(Ext.form.field.Base, {\n// Add functionality to Field's initComponent to enable the change event to bubble\ninitComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {\n this.enableBubble('change');\n}),\n\n// We know that we want Field's events to bubble directly to the FormPanel.\ngetBubbleTarget : function() {\n if (!this.formPanel) {\n this.formPanel = this.findParentByType('form');\n }\n return this.formPanel;\n}\n});\n\nvar myForm = new Ext.formPanel({\ntitle: 'User Details',\nitems: [{\n ...\n}],\nlisteners: {\n change: function() {\n // Title goes red if form has been modified.\n myForm.header.setStyle('color', 'red');\n }\n}\n});\n
\n\n",
- "params": [
- {
- "type": "String/Array",
- "name": "events",
- "doc": "The event name to bubble, or an Array of event names.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 554, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-enableBubble", - "shortDoc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling\nthis.getBubbleTarget() if present...." - }, - { - "tagname": "method", - "name": "extractFileInput", - "member": "Ext.form.field.Field", - "doc": "Only relevant if the instance's isFileUpload method returns true. Returns a reference\nto the file input DOM element holding the user's selected file. The input will be appended into\nthe submission form and will not be returned, so this method should also create a replacement.
\n", - "params": [ - - ], - "return": { - "type": "HTMLInputElement", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 373, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-method-extractFileInput", - "shortDoc": "Only relevant if the instance's isFileUpload method returns true. Returns a reference\nto the file input DOM element h..." - }, - { - "tagname": "method", - "name": "findLayoutController", - "member": "Ext.AbstractComponent", - "doc": "This method finds the topmost active layout who's processing will eventually determine the size and position of this\nComponent.
\n
This method is useful when dynamically adding Components into Containers, and some processing must take place after the\nfinal sizing and positioning of the Component has been performed.
\n\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 772, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-findLayoutController", - "shortDoc": "This method finds the topmost active layout who's processing will eventually determine the size and position of this\n..." - }, - { - "tagname": "method", - "name": "findParentBy", - "member": "Ext.Component", - "doc": "Find a container above this component at any level by a custom function. If the passed function returns\ntrue, the container will be returned.
\n", - "params": [ - { - "type": "Function", - "name": "fn", - "doc": "The custom function to call with the arguments (container, this component).
\n", - "optional": false - } - ], - "return": { - "type": "Ext.container.Container", - "doc": "The first Container for which the custom function returns true
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 975, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-findParentBy", - "shortDoc": "Find a container above this component at any level by a custom function. If the passed function returns\ntrue, the con..." - }, - { - "tagname": "method", - "name": "findParentByType", - "member": "Ext.Component", - "doc": "Find a container above this component at any level by xtype or class
\n\n\nSee also the up method.
\n\n", - "params": [ - { - "type": "String/Class", - "name": "xtype", - "doc": "The xtype string for a component, or the class of the component directly
\n", - "optional": false - } - ], - "return": { - "type": "Ext.container.Container", - "doc": "The first Container which matches the given xtype or class
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 989, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-findParentByType", - "shortDoc": "Find a container above this component at any level by xtype or class
\n\n\nSee also the up method.
\n\n" - }, - { - "tagname": "method", - "name": "fireEvent", - "member": "Ext.util.Observable", - "doc": "Fires the specified event with the passed parameters (minus the event name).
\n\n\nAn event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget)\nby calling enableBubble.
\n\n", - "params": [ - { - "type": "String", - "name": "eventName", - "doc": "The name of the event to fire.
\n", - "optional": false - }, - { - "type": "Object...", - "name": "args", - "doc": "Variable number of parameters are passed to handlers.
\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "returns false if any of the handlers return false otherwise it returns true.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 232, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-fireEvent", - "shortDoc": "Fires the specified event with the passed parameters (minus the event name).\n\n\nAn event may be set to bubble up an Ob..." - }, - { - "tagname": "method", - "name": "focus", - "member": "Ext.Component", - "doc": "Try to focus this component.
\n", - "params": [ - { - "type": "Boolean", - "name": "selectText", - "doc": "(optional) If applicable, true to also select the text in this component
\n", - "optional": true - }, - { - "type": "Boolean/Number", - "name": "delay", - "doc": "(optional) Delay the focus this number of milliseconds (true for 10 milliseconds).
\n", - "optional": true - } - ], - "return": { - "type": "Ext.Component", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 853, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-focus", - "shortDoc": "Try to focus this component.
\n" - }, - { - "tagname": "method", - "name": "getActiveAnimation", - "member": "Ext.util.Animate", - "doc": "Returns thq current animation if this object has any effects actively running or queued, else returns false.
\n", - "params": [ - - ], - "return": { - "type": "Mixed", - "doc": "anim if element has active effects, else false
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 377, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-getActiveAnimation", - "shortDoc": "Returns thq current animation if this object has any effects actively running or queued, else returns false.
\n" - }, - { - "tagname": "method", - "name": "getActiveError", - "member": "Ext.form.Labelable", - "doc": "Gets the active error message for this component, if any. This does not trigger\nvalidation on its own, it merely returns any message that the component may already hold.
\n", - "params": [ - - ], - "return": { - "type": "String", - "doc": "The active error message on the component; if there is no error, an empty string is returned.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 330, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-method-getActiveError", - "shortDoc": "Gets the active error message for this component, if any. This does not trigger\nvalidation on its own, it merely retu..." - }, - { - "tagname": "method", - "name": "getActiveErrors", - "member": "Ext.form.Labelable", - "doc": "Gets an Array of any active error messages currently applied to the field. This does not trigger\nvalidation on its own, it merely returns any messages that the component may already hold.
\n", - "params": [ - - ], - "return": { - "type": "Array", - "doc": "The active error messages on the component; if there are no errors, an empty Array is returned.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 360, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-method-getActiveErrors", - "shortDoc": "Gets an Array of any active error messages currently applied to the field. This does not trigger\nvalidation on its ow..." - }, - { - "tagname": "method", - "name": "getBox", - "member": "Ext.Component", - "doc": "Gets the current box measurements of the component's underlying element.
\n", - "params": [ - { - "type": "Boolean", - "name": "local", - "doc": "(optional) If true the element's left and top are returned instead of page XY (defaults to false)
\n", - "optional": true - } - ], - "return": { - "type": "Object", - "doc": "box An object in the format {x, y, width, height}
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 538, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-getBox", - "shortDoc": "Gets the current box measurements of the component's underlying element.
\n" - }, - { - "tagname": "method", - "name": "getBubbleTarget", - "member": "Ext.AbstractComponent", - "doc": "Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.
\n", - "params": [ - - ], - "return": { - "type": "Ext.container.Container", - "doc": "the Container which owns this Component.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2276, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-getBubbleTarget", - "shortDoc": "Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.
\n" - }, - { - "tagname": "method", - "name": "getEl", - "member": "Ext.AbstractComponent", - "doc": "Retrieves the top level element representing this component.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1892, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-getEl", - "shortDoc": "Retrieves the top level element representing this component.
\n" - }, - { - "tagname": "method", - "name": "getErrors", - "member": "Ext.form.field.Text", - "doc": "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\nField specific validator
\n\n A validator offers a way to customize and reuse a validation specification.\n If a field is configured with a validator
\n function, it will be passed the current field value. The validator
\n function is expected to return either:
true
if the value is valid (validation continues).Basic Validation
\n\n If the validator
has not halted validation,\n basic validation proceeds as follows:
allowBlank
: (Invalid message = emptyText
)
Depending on the configuration of allowBlank
, a\n blank field will cause validation to halt at this step and return\n Boolean true or false accordingly.
minLength
: (Invalid message = minLengthText
)
If the passed value does not satisfy the minLength
\n specified, validation halts.
maxLength
: (Invalid message = maxLengthText
)
If the passed value does not satisfy the maxLength
\n specified, validation halts.
Preconfigured Validation Types (VTypes)
\n\n If none of the prior validation steps halts validation, a field\n configured with a vtype
will utilize the\n corresponding VTypes validation function.\n If invalid, either the field's vtypeText
or\n the VTypes vtype Text property will be used for the invalid message.\n Keystrokes on the field will be filtered according to the VTypes\n vtype Mask property.
Field specific regex test
\n\n If none of the prior validation steps halts validation, a field's\n configured regex
test will be processed.\n The invalid message for this test is configured with regexText
The value to validate. The processed raw value will be used if nothing is passed
\n", - "optional": false - } - ], - "return": { - "type": "Array", - "doc": "Array of any validation errors
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 499, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-method-getErrors", - "shortDoc": "Validates a value according to the field's validation rules and returns an array of errors\nfor any failing validation..." - }, - { - "tagname": "method", - "name": "getFieldLabel", - "member": "Ext.form.Labelable", - "doc": "Returns the label for the field. Defaults to simply returning the fieldLabel config. Can be\noverridden to provide
\n", - "params": [ - - ], - "return": { - "type": "String", - "doc": "The configured field label, or empty string if not defined
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 232, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-method-getFieldLabel", - "shortDoc": "Returns the label for the field. Defaults to simply returning the fieldLabel config. Can be\noverridden to provide
\n" - }, - { - "tagname": "method", - "name": "getHeight", - "member": "Ext.AbstractComponent", - "doc": "Gets the current height of the component's underlying element.
\n", - "params": [ - - ], - "return": { - "type": "Number", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2579, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-getHeight", - "shortDoc": "Gets the current height of the component's underlying element.
\n" - }, - { - "tagname": "method", - "name": "getId", - "member": "Ext.AbstractComponent", - "doc": "Retrieves the id of this component.\nWill autogenerate an id if one has not already been set.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1880, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-getId", - "shortDoc": "Retrieves the id of this component.\nWill autogenerate an id if one has not already been set.
\n" - }, - { - "tagname": "method", - "name": "getInputId", - "member": "Ext.form.field.Base", - "doc": "Returns the input id for this field. If none was specified via the inputId config,\nthen an id will be automatically generated.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 298, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-method-getInputId", - "shortDoc": "Returns the input id for this field. If none was specified via the inputId config,\nthen an id will be automatically g..." - }, - { - "tagname": "method", - "name": "getInsertPosition", - "member": "Ext.AbstractComponent", - "doc": "This function takes the position argument passed to onRender and returns a\nDOM element that you can use in the insertBefore.
\n", - "params": [ - { - "type": "String/Number/Element/HTMLElement", - "name": "position", - "doc": "Index, element id or element you want\nto put this component before.
\n", - "optional": false - } - ], - "return": { - "type": "HTMLElement", - "doc": "DOM element that you can use in the insertBefore
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1513, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-getInsertPosition", - "shortDoc": "This function takes the position argument passed to onRender and returns a\nDOM element that you can use in the insert..." - }, - { - "tagname": "method", - "name": "getLoader", - "member": "Ext.AbstractComponent", - "doc": "Gets the Ext.ComponentLoader for this Component.
\n", - "params": [ - - ], - "return": { - "type": "Ext.ComponentLoader", - "doc": "The loader instance, null if it doesn't exist.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2587, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-getLoader", - "shortDoc": "Gets the Ext.ComponentLoader for this Component.
\n" - }, - { - "tagname": "method", - "name": "getModelData", - "member": "Ext.form.field.Field", - "doc": "Returns the value(s) that should be saved to the Ext.data.Model instance for this field, when\nExt.form.Basic.updateRecord is called. Typically this will be an object with a single name-value\npair, the name being this field's name and the value being its current data value. More\nadvanced field implementations may return more than one name-value pair. The returned values will be\nsaved to the corresponding field names in the Model.
\n\n\nNote that the values returned from this method are not guaranteed to have been successfully\nvalidated.
\n\n", - "params": [ - - ], - "return": { - "type": "Object", - "doc": "A mapping of submit parameter names to values; each value should be a string, or an array\nof strings if that particular name has multiple values. It can also return null if there are no\nparameters to be submitted.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 190, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-method-getModelData", - "shortDoc": "Returns the value(s) that should be saved to the Ext.data.Model instance for this field, when\nExt.form.Basic.updateRe..." - }, - { - "tagname": "method", - "name": "getName", - "member": "Ext.form.field.Field", - "doc": "Returns the name attribute of the field. This is used as the parameter\nname when including the field value in a form submit().
\n", - "params": [ - - ], - "return": { - "type": "String", - "doc": "name The field name
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 128, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-method-getName", - "shortDoc": "Returns the name attribute of the field. This is used as the parameter\nname when including the field value in a form ..." - }, - { - "tagname": "method", - "name": "getPlugin", - "member": "Ext.AbstractComponent", - "doc": "Retrieves a plugin by its pluginId which has been bound to this\ncomponent.
\n", - "params": [ - { - "type": "Object", - "name": "pluginId", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Ext.AbstractPlugin", - "doc": "pluginInstance
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2715, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-getPlugin", - "shortDoc": "Retrieves a plugin by its pluginId which has been bound to this\ncomponent.
\n" - }, - { - "tagname": "method", - "name": "getPosition", - "member": "Ext.Component", - "doc": "Gets the current XY position of the component's underlying element.
\n", - "params": [ - { - "type": "Boolean", - "name": "local", - "doc": "(optional) If true the element's left and top are returned instead of page XY (defaults to false)
\n", - "optional": true - } - ], - "return": { - "type": "Array", - "doc": "The XY position of the element (e.g., [100, 200])
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 603, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-getPosition", - "shortDoc": "Gets the current XY position of the component's underlying element.
\n" - }, - { - "tagname": "method", - "name": "getRawValue", - "member": "Ext.form.field.Text", - "doc": "Returns the raw String value of the field, without performing any normalization, conversion, or validation.\nGets the 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", - "params": [ - - ], - "return": { - "type": "String", - "doc": "value The raw String value of the field
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 464, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-method-getRawValue", - "shortDoc": "Returns the raw String value of the field, without performing any normalization, conversion, or validation.\nGets the ..." - }, - { - "tagname": "method", - "name": "getSize", - "member": "Ext.AbstractComponent", - "doc": "Gets the current size of the component's underlying element.
\n", - "params": [ - - ], - "return": { - "type": "Object", - "doc": "An object containing the element's size {width: (element width), height: (element height)}
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2563, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-getSize", - "shortDoc": "Gets the current size of the component's underlying element.
\n" - }, - { - "tagname": "method", - "name": "getState", - "member": "Ext.state.Stateful", - "doc": "Gets the current state of the object. By default this function returns null,\nit should be overridden in subclasses to implement methods for getting the state.
\n", - "params": [ - - ], - "return": { - "type": "Object", - "doc": "The current state
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/state/Stateful.js", - "linenr": 216, - "html_filename": "Stateful.html", - "href": "Stateful.html#Ext-state-Stateful-method-getState", - "shortDoc": "Gets the current state of the object. By default this function returns null,\nit should be overridden in subclasses to..." - }, - { - "tagname": "method", - "name": "getStateId", - "member": "Ext.state.Stateful", - "doc": "Gets the state id for this object.
\n", - "params": [ - - ], - "return": { - "type": "String", - "doc": "The state id, null if not found.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/state/Stateful.js", - "linenr": 237, - "html_filename": "Stateful.html", - "href": "Stateful.html#Ext-state-Stateful-method-getStateId", - "shortDoc": "Gets the state id for this object.
\n" - }, - { - "tagname": "method", - "name": "getSubmitData", - "member": "Ext.form.field.Field", - "doc": "Returns the parameter(s) that would be included in a standard form submit for this field. Typically this\nwill be an object with a single name-value pair, the name being this field's name and the\nvalue being its current stringified value. More advanced field implementations may return more than one\nname-value pair.
\n\n\nNote that the values returned from this method are not guaranteed to have been successfully\nvalidated.
\n\n", - "params": [ - - ], - "return": { - "type": "Object", - "doc": "A mapping of submit parameter names to values; each value should be a string, or an array\nof strings if that particular name has multiple values. It can also return null if there are no\nparameters to be submitted.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 169, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-method-getSubmitData", - "shortDoc": "Returns the parameter(s) that would be included in a standard form submit for this field. Typically this\nwill be an o..." - }, - { - "tagname": "method", - "name": "getSubmitValue", - "member": "Ext.form.field.Base", - "doc": "Returns the value that would be included in a standard form submit for this field. This will be combined\nwith the field's name to form a name=value pair in the submitted parameters.\nIf an empty string is returned then just the name= will be submitted; if null is returned\nthen nothing will be submitted.
\n\n\nNote that the value returned will have been processed but may or may not have\nbeen successfully validated.
\n\n", - "params": [ - - ], - "return": { - "type": "String", - "doc": "The value to be submitted, or null.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 440, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-method-getSubmitValue", - "shortDoc": "Returns the value that would be included in a standard form submit for this field. This will be combined\nwith the fie..." - }, - { - "tagname": "method", - "name": "getValue", - "member": "Ext.form.field.Base", - "doc": "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", - "params": [ - - ], - "return": { - "type": "Mixed", - "doc": "value The field value
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 524, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-method-getValue", - "shortDoc": "Returns the current data value of the field. The type of value returned is particular to the type of the\nparticular f..." - }, - { - "tagname": "method", - "name": "getWidth", - "member": "Ext.AbstractComponent", - "doc": "Gets the current width of the component's underlying element.
\n", - "params": [ - - ], - "return": { - "type": "Number", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2571, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-getWidth", - "shortDoc": "Gets the current width of the component's underlying element.
\n" - }, - { - "tagname": "method", - "name": "getXType", - "member": "Ext.Component", - "doc": "Gets the xtype for this component as registered with Ext.ComponentManager. For a list of all\navailable xtypes, see the Ext.Component header. Example usage:
\n\nvar t = new Ext.form.field.Text();\nalert(t.getXType()); // alerts 'textfield'\n
\n\n",
- "params": [
-
- ],
- "return": {
- "type": "String",
- "doc": "The xtype
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 962, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-getXType", - "shortDoc": "Gets the xtype for this component as registered with Ext.ComponentManager. For a list of all\navailable xtypes, see th..." - }, - { - "tagname": "method", - "name": "getXTypes", - "member": "Ext.AbstractComponent", - "doc": "Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all\navailable xtypes, see the Ext.Component header.
\n\n\nIf using your own subclasses, be aware that a Component must register its own xtype\nto participate in determination of inherited xtypes.
\n\n\nExample usage:
\n\n\nvar t = new Ext.form.field.Text();\nalert(t.getXTypes()); // alerts 'component/field/textfield'\n
\n\n",
- "params": [
-
- ],
- "return": {
- "type": "String",
- "doc": "The xtype hierarchy string
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1938, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-getXTypes", - "shortDoc": "Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all\navailable xtypes, see the Ext..." - }, - { - "tagname": "method", - "name": "hasActiveError", - "member": "Ext.form.Labelable", - "doc": "Tells whether the field currently has an active error message. This does not trigger\nvalidation on its own, it merely looks for any message that the component may already hold.
\n", - "params": [ - - ], - "return": { - "type": "Boolean", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 339, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-method-hasActiveError", - "shortDoc": "Tells whether the field currently has an active error message. This does not trigger\nvalidation on its own, it merely..." - }, - { - "tagname": "method", - "name": "hasActiveFx", - "member": "Ext.util.Animate", - "doc": "@deprecated 4.0 Replaced by getActiveAnimation\nReturns thq current animation if this object has any effects actively running or queued, else returns false.
\n", - "params": [ - - ], - "return": { - "type": "Mixed", - "doc": "anim if element has active effects, else false
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 369, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-hasActiveFx", - "shortDoc": "@deprecated 4.0 Replaced by getActiveAnimation\nReturns thq current animation if this object has any effects actively ..." - }, - { - "tagname": "method", - "name": "hasListener", - "member": "Ext.util.Observable", - "doc": "Checks to see if this object has any listeners for a specified event
\n", - "params": [ - { - "type": "String", - "name": "eventName", - "doc": "The name of the event to check for
\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "True if the event is being listened for, else false
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 480, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-hasListener", - "shortDoc": "Checks to see if this object has any listeners for a specified event
\n" - }, - { - "tagname": "method", - "name": "hasUICls", - "member": "Ext.AbstractComponent", - "doc": "Checks if there is currently a specified uiCls
\n", - "params": [ - { - "type": "String", - "name": "cls", - "doc": "The cls to check
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1389, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-hasUICls", - "shortDoc": "Checks if there is currently a specified uiCls
\n" - }, - { - "tagname": "method", - "name": "hide", - "member": "Ext.Component", - "doc": "Hides this Component, setting it to invisible using the configured hideMode.
\n", - "params": [ - { - "type": "String/Element/Component", - "name": "animateTarget", - "doc": "Optional, and only valid for floating Components such as\nWindows or ToolTips, or regular Components which have been configured\nwith floating: true
..\nThe target to which the Component should animate while hiding (defaults to null with no animation)
(optional) A callback function to call after the Component is hidden.
\n", - "optional": true - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope (this
reference) in which the callback is executed. Defaults to this Component.
this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 748, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-hide", - "shortDoc": "Hides this Component, setting it to invisible using the configured hideMode.
\n" - }, - { - "tagname": "method", - "name": "initField", - "member": "Ext.form.field.Field", - "doc": "Initializes this Field mixin on the current instance. Components using this mixin should call\nthis method during their own initialization process.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 73, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-method-initField", - "shortDoc": "Initializes this Field mixin on the current instance. Components using this mixin should call\nthis method during thei..." - }, - { - "tagname": "method", - "name": "initLabelable", - "member": "Ext.form.Labelable", - "doc": "Performs initialization of this mixin. Component classes using this mixin should call this method\nduring their own initialization.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 214, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-method-initLabelable", - "shortDoc": "Performs initialization of this mixin. Component classes using this mixin should call this method\nduring their own in..." - }, - { - "tagname": "method", - "name": "is", - "member": "Ext.AbstractComponent", - "doc": "Tests whether this Component matches the selector string.
\n", - "params": [ - { - "type": "String", - "name": "selector", - "doc": "The selector string to test against.
\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "True if this Component matches the selector.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1719, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-is", - "shortDoc": "Tests whether this Component matches the selector string.
\n" - }, - { - "tagname": "method", - "name": "isDescendantOf", - "member": "Ext.AbstractComponent", - "doc": "Determines whether this component is the descendant of a particular container.
\n", - "params": [ - { - "type": "Ext.Container", - "name": "container", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "isDescendant
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2731, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-isDescendantOf", - "shortDoc": "Determines whether this component is the descendant of a particular container.
\n" - }, - { - "tagname": "method", - "name": "isDirty", - "member": "Ext.form.field.Field", - "doc": "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\nNote that if the owning form was configured with\ntrackResetOnLoad\nthen the originalValue is updated when the values are loaded by\nExt.form.Basic.setValues.
\n\n", - "params": [ - - ], - "return": { - "type": "Boolean", - "doc": "True if this field has been changed from its original value (and\nis not disabled), false otherwise.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 271, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-method-isDirty", - "shortDoc": "Returns true if the value of this Field has been changed from its originalValue.\nWill always return false if the fiel..." - }, - { - "tagname": "method", - "name": "isDisabled", - "member": "Ext.AbstractComponent", - "doc": "Method to determine whether this Component is currently disabled.
\n", - "params": [ - - ], - "return": { - "type": "Boolean", - "doc": "the disabled state of this Component.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2115, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-isDisabled", - "shortDoc": "Method to determine whether this Component is currently disabled.
\n" - }, - { - "tagname": "method", - "name": "isDraggable", - "member": "Ext.AbstractComponent", - "doc": "Method to determine whether this Component is draggable.
\n", - "params": [ - - ], - "return": { - "type": "Boolean", - "doc": "the draggable state of this component.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2292, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-isDraggable", - "shortDoc": "Method to determine whether this Component is draggable.
\n" - }, - { - "tagname": "method", - "name": "isDroppable", - "member": "Ext.AbstractComponent", - "doc": "Method to determine whether this Component is droppable.
\n", - "params": [ - - ], - "return": { - "type": "Boolean", - "doc": "the droppable state of this component.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2300, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-isDroppable", - "shortDoc": "Method to determine whether this Component is droppable.
\n" - }, - { - "tagname": "method", - "name": "isEqual", - "member": "Ext.form.field.Field", - "doc": "Returns whether two field values are logically equal. Field implementations may override\nthis to provide custom comparison logic appropriate for the particular field's data type.
\n", - "params": [ - { - "type": "Mixed", - "name": "value1", - "doc": "The first value to compare
\n", - "optional": false - }, - { - "type": "Mixed", - "name": "value2", - "doc": "The second value to compare
\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "True if the values are equal, false if inequal.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 158, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-method-isEqual", - "shortDoc": "Returns whether two field values are logically equal. Field implementations may override\nthis to provide custom compa..." - }, - { - "tagname": "method", - "name": "isFileUpload", - "member": "Ext.form.field.Field", - "doc": "Returns whether this Field is a file upload field; if it returns true, forms will use\nspecial techniques for submitting the form via AJAX. See\nExt.form.Basic.hasUpload for details. If this returns true, the extractFileInput\nmethod must also be implemented to return the corresponding file input element.
\n", - "params": [ - - ], - "return": { - "type": "Boolean", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 362, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-method-isFileUpload", - "shortDoc": "Returns whether this Field is a file upload field; if it returns true, forms will use\nspecial techniques for submitti..." - }, - { - "tagname": "method", - "name": "isFloating", - "member": "Ext.AbstractComponent", - "doc": "Method to determine whether this Component is floating.
\n", - "params": [ - - ], - "return": { - "type": "Boolean", - "doc": "the floating state of this component.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2284, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-isFloating", - "shortDoc": "Method to determine whether this Component is floating.
\n" - }, - { - "tagname": "method", - "name": "isHidden", - "member": "Ext.AbstractComponent", - "doc": "Method to determine whether this Component is currently set to hidden.
\n", - "params": [ - - ], - "return": { - "type": "Boolean", - "doc": "the hidden state of this Component.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2131, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-isHidden", - "shortDoc": "Method to determine whether this Component is currently set to hidden.
\n" - }, - { - "tagname": "method", - "name": "isValid", - "member": "Ext.form.field.Base", - "doc": "Returns whether or not the field value is currently valid by\nvalidating the processed raw value\nof the field. Note: disabled fields are always treated as valid.
\n", - "params": [ - - ], - "return": { - "type": "Boolean", - "doc": "True if the value is valid, else false
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 691, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-method-isValid", - "shortDoc": "Returns whether or not the field value is currently valid by\nvalidating the processed raw value\nof the field. Note: d..." - }, - { - "tagname": "method", - "name": "isVisible", - "member": "Ext.AbstractComponent", - "doc": "Returns true if this component is visible.
\n", - "params": [ - { - "type": "Boolean", - "name": "deep", - "doc": ".
Optional. Pass true
to interrogate the visibility status of all\nparent Containers to determine whether this Component is truly visible to the user.
Generally, to determine whether a Component is hidden, the no argument form is needed. For example\nwhen creating dynamically laid out UIs in a hidden Container before showing them.
\n\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "True if this component is visible, false otherwise.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2015, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-isVisible", - "shortDoc": "Returns true if this component is visible.
\n" - }, - { - "tagname": "method", - "name": "isXType", - "member": "Ext.AbstractComponent", - "doc": "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\nIf using your own subclasses, be aware that a Component must register its own xtype\nto participate in determination of inherited xtypes.
\n\n\nFor a list of all available xtypes, see the Ext.Component header.
\n\n\nExample usage:
\n\n\nvar t = new Ext.form.field.Text();\nvar isText = t.isXType('textfield'); // true\nvar isBoxSubclass = t.isXType('field'); // true, descended from Ext.form.field.Base\nvar isBoxInstance = t.isXType('field', true); // false, not a direct Ext.form.field.Base instance\n
\n\n",
- "params": [
- {
- "type": "String",
- "name": "xtype",
- "doc": "The xtype to check for this Component
\n", - "optional": false - }, - { - "type": "Boolean", - "name": "shallow", - "doc": "(optional) False to check whether this Component is descended from the xtype (this is\nthe default), or true to check whether this Component is directly of the specified xtype.
\n", - "optional": true - } - ], - "return": { - "type": "Boolean", - "doc": "True if this component descends from the specified xtype, false otherwise.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1907, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-isXType", - "shortDoc": "Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended\nfrom th..." - }, - { - "tagname": "method", - "name": "markInvalid", - "member": "Ext.form.field.Base", - "doc": "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\nNote: this method does not cause the Field's validate or isValid methods to\nreturn false
if the value does pass validation. So simply marking a Field as invalid\nwill not prevent submission of forms submitted with the Ext.form.action.Submit.clientValidation\noption set.
The validation message(s) to display.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 726, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-method-markInvalid", - "shortDoc": "Display one or more error messages associated with this field, using msgTarget to determine how to\ndisplay the messag..." - }, - { - "tagname": "method", - "name": "nextNode", - "member": "Ext.AbstractComponent", - "doc": "Returns the next node in the Component tree in tree traversal order.
\n\n\nNote that this is not limited to siblings, and if invoked upon a node with no matching siblings, will\nwalk the tree to attempt to find a match. Contrast with pnextSibling.
\n\n", - "params": [ - { - "type": "String", - "name": "selector", - "doc": "Optional A ComponentQuery selector to filter the following nodes.
\n", - "optional": false - }, - { - "type": "Object", - "name": "includeSelf", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "The next node (or the next node which matches the selector). Returns null if there is no matching node.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1845, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-nextNode", - "shortDoc": "Returns the next node in the Component tree in tree traversal order.\n\n\nNote that this is not limited to siblings, and..." - }, - { - "tagname": "method", - "name": "nextSibling", - "member": "Ext.AbstractComponent", - "doc": "Returns the next sibling of this Component.
\n\n\nOptionally selects the next sibling which matches the passed ComponentQuery selector.
\n\n\nMay also be refered to as next()
Note that this is limited to siblings, and if no siblings of the item match, null
is returned. Contrast with nextNode
Optional A ComponentQuery selector to filter the following items.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "The next sibling (or the next sibling which matches the selector). Returns null if there is no matching sibling.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1749, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-nextSibling", - "shortDoc": "Returns the next sibling of this Component.\n\n\nOptionally selects the next sibling which matches the passed ComponentQ..." - }, - { - "tagname": "method", - "name": "observe", - "member": "Ext.util.Observable", - "doc": "Sets observability on the passed class constructor.
\n\nThis makes any event fired on any instance of the passed class also fire a single event through\nthe class allowing for central handling of events on many instances at once.
\n\nUsage:
\n\nExt.util.Observable.observe(Ext.data.Connection);\nExt.data.Connection.on('beforerequest', function(con, options) {\n console.log('Ajax request made to ' + options.url);\n});\n
\n",
- "params": [
- {
- "type": "Function",
- "name": "c",
- "doc": "The class constructor to make observable.
\n", - "optional": false - }, - { - "type": "Object", - "name": "listeners", - "doc": "An object containing a series of listeners to add. See addListener.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 69, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-observe", - "shortDoc": "Sets observability on the passed class constructor.\n\nThis makes any event fired on any instance of the passed class a..." - }, - { - "tagname": "method", - "name": "on", - "member": "Ext.util.Observable", - "doc": "Appends an event handler to this object (shorthand for addListener.)
\n", - "params": [ - { - "type": "String", - "name": "eventName", - "doc": "The type of event to listen for
\n", - "optional": false - }, - { - "type": "Function", - "name": "handler", - "doc": "The method the event invokes
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope (this
reference) in which the handler function is executed.\nIf omitted, defaults to the object which fired the event.
(optional) An object containing handler configuration.
\n", - "optional": true - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 616, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-on", - "shortDoc": "Appends an event handler to this object (shorthand for addListener.)
\n" - }, - { - "tagname": "method", - "name": "previousNode", - "member": "Ext.AbstractComponent", - "doc": "Returns the previous node in the Component tree in tree traversal order.
\n\n\nNote that this is not limited to siblings, and if invoked upon a node with no matching siblings, will\nwalk the tree in reverse order to attempt to find a match. Contrast with previousSibling.
\n\n", - "params": [ - { - "type": "String", - "name": "selector", - "doc": "Optional. A ComponentQuery selector to filter the preceding nodes.
\n", - "optional": false - }, - { - "type": "Object", - "name": "includeSelf", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "The previous node (or the previous node which matches the selector). Returns null if there is no matching node.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1809, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-previousNode", - "shortDoc": "Returns the previous node in the Component tree in tree traversal order.\n\n\nNote that this is not limited to siblings,..." - }, - { - "tagname": "method", - "name": "previousSibling", - "member": "Ext.AbstractComponent", - "doc": "Returns the previous sibling of this Component.
\n\n\nOptionally selects the previous sibling which matches the passed ComponentQuery selector.
\n\n\nMay also be refered to as prev()
Note that this is limited to siblings, and if no siblings of the item match, null
is returned. Contrast with previousNode
Optional. A ComponentQuery selector to filter the preceding items.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "The previous sibling (or the previous sibling which matches the selector). Returns null if there is no matching sibling.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1779, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-previousSibling", - "shortDoc": "Returns the previous sibling of this Component.\n\n\nOptionally selects the previous sibling which matches the passed Co..." - }, - { - "tagname": "method", - "name": "processRawValue", - "member": "Ext.form.field.Text", - "doc": "Performs any necessary manipulation of a raw String value to prepare it for conversion\nand/or validation. For text fields this applies the configured stripCharsRe to the\nraw value.
\n", - "params": [ - { - "type": "String", - "name": "value", - "doc": "The unprocessed string value
\n", - "optional": false - } - ], - "return": { - "type": "String", - "doc": "The processed string value
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 328, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-method-processRawValue", - "shortDoc": "Performs any necessary manipulation of a raw String value to prepare it for conversion\nand/or validation. For text fi..." - }, - { - "tagname": "method", - "name": "rawToValue", - "member": "Ext.form.field.Base", - "doc": "Converts a raw input field value into a mixed-type value that is suitable for this particular field type.\nThis allows controlling the normalization and conversion of user-entered values into field-type-appropriate\nvalues, e.g. a Date object for Ext.form.field.Date, and is invoked by getValue.
\n\n\nIt is up to individual implementations to decide how to handle raw values that cannot be successfully\nconverted to the desired object type.
\n\n\nSee valueToRaw for the opposite conversion.
\n\n\nThe base implementation does no conversion, returning the raw value untouched.
\n\n", - "params": [ - { - "type": "Mixed", - "name": "rawValue", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Mixed", - "doc": "The converted value.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 498, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-method-rawToValue", - "shortDoc": "Converts a raw input field value into a mixed-type value that is suitable for this particular field type.\nThis allows..." - }, - { - "tagname": "method", - "name": "relayEvents", - "member": "Ext.util.Observable", - "doc": "Relays selected events from the specified Observable as if the events were fired by this
.
The Observable whose events this object is to relay.
\n", - "optional": false - }, - { - "type": "Array", - "name": "events", - "doc": "Array of event names to relay.
\n", - "optional": false - }, - { - "type": "Object", - "name": "prefix", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 520, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-relayEvents", - "shortDoc": "Relays selected events from the specified Observable as if the events were fired by this
.
Removes all added captures from the Observable.
\n", - "params": [ - { - "type": "Observable", - "name": "o", - "doc": "The Observable to release
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": true, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 46, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-releaseCapture", - "shortDoc": "Removes all added captures from the Observable.
\n" - }, - { - "tagname": "method", - "name": "removeCls", - "member": "Ext.AbstractComponent", - "doc": "Removes a CSS class from the top level element representing this component.
\n", - "params": [ - { - "type": "Object", - "name": "className", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Ext.Component", - "doc": "Returns the Component to allow method chaining.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2171, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-removeCls", - "shortDoc": "Removes a CSS class from the top level element representing this component.
\n" - }, - { - "tagname": "method", - "name": "removeClsWithUI", - "member": "Ext.AbstractComponent", - "doc": "Removes a cls to the uiCls array, which will also call removeUIClsToElement and removes\nit from all elements of this component.
\n", - "params": [ - { - "type": "String/Array", - "name": "cls", - "doc": "A string or an array of strings to remove to the uiCls
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1368, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-removeClsWithUI", - "shortDoc": "Removes a cls to the uiCls array, which will also call removeUIClsToElement and removes\nit from all elements of this ..." - }, - { - "tagname": "method", - "name": "removeListener", - "member": "Ext.util.Observable", - "doc": "Removes an event handler.
\n", - "params": [ - { - "type": "String", - "name": "eventName", - "doc": "The type of event the handler was associated with.
\n", - "optional": false - }, - { - "type": "Function", - "name": "handler", - "doc": "The handler to remove. This must be a reference to the function passed into the addListener call.
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope originally specified for the handler.
\n", - "optional": true - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 352, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-removeListener", - "shortDoc": "Removes an event handler.
\n" - }, - { - "tagname": "method", - "name": "removeManagedListener", - "member": "Ext.util.Observable", - "doc": "Removes listeners that were added by the mon method.
\n", - "params": [ - { - "type": "Observable|Element", - "name": "item", - "doc": "The item from which to remove a listener/listeners.
\n", - "optional": false - }, - { - "type": "Object|String", - "name": "ename", - "doc": "The event name, or an object containing event name properties.
\n", - "optional": false - }, - { - "type": "Function", - "name": "fn", - "doc": "Optional. If the ename
parameter was an event name, this\nis the handler function.
Optional. If the ename
parameter was an event name, this\nis the scope (this
reference) in which the handler function is executed.
Removes listeners that were added by the mon method.
\n" - }, - { - "tagname": "method", - "name": "reset", - "member": "Ext.form.field.Text", - "doc": "Resets the current field value to the originally-loaded value and clears any validation messages.\nAlso adds emptyText and emptyCls if the\noriginal value was blank.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 378, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-method-reset", - "shortDoc": "Resets the current field value to the originally-loaded value and clears any validation messages.\nAlso adds emptyText..." - }, - { - "tagname": "method", - "name": "resetOriginalValue", - "member": "Ext.form.field.Field", - "doc": "Resets the field's originalValue property so it matches the current value.\nThis is called by Ext.form.Basic.setValues if the form's\ntrackResetOnLoad property is set to true.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 225, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-method-resetOriginalValue", - "shortDoc": "Resets the field's originalValue property so it matches the current value.\nThis is called by Ext.form.Basic.setValues..." - }, - { - "tagname": "method", - "name": "resumeEvents", - "member": "Ext.util.Observable", - "doc": "Resume firing events. (see suspendEvents)\nIf events were suspended using the queueSuspended
parameter, then all\nevents fired during event suspension will be sent to any listeners now.
Selects text in this field
\n", - "params": [ - { - "type": "Number", - "name": "start", - "doc": "(optional) The index where the selection should start (defaults to 0)
\n", - "optional": true - }, - { - "type": "Number", - "name": "end", - "doc": "(optional) The index where the selection should end (defaults to the text length)
\n", - "optional": true - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 604, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-method-selectText", - "shortDoc": "Selects text in this field
\n" - }, - { - "tagname": "method", - "name": "sequenceFx", - "member": "Ext.util.Animate", - "doc": "Ensures that all effects queued after sequenceFx is called on this object are\nrun in sequence. This is the opposite of syncFx.
\n", - "params": [ - - ], - "return": { - "type": "Object", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 357, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-sequenceFx", - "shortDoc": "Ensures that all effects queued after sequenceFx is called on this object are\nrun in sequence. This is the opposite ..." - }, - { - "tagname": "method", - "name": "setActive", - "member": "Ext.util.Floating", - "doc": "This method is called internally by Ext.ZIndexManager to signal that a floating\nComponent has either been moved to the top of its zIndex stack, or pushed from the top of its zIndex stack.
\n\n\nIf a Window is superceded by another Window, deactivating it hides its shadow.
\n\n\nThis method also fires the activate or deactivate event depending on which action occurred.
\n\n", - "params": [ - { - "type": "Boolean", - "name": "active", - "doc": "True to activate the Component, false to deactivate it (defaults to false)
\n", - "optional": false - }, - { - "type": "Component", - "name": "newActive", - "doc": "The newly active Component which is taking over topmost zIndex position.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Floating.js", - "linenr": 216, - "html_filename": "Floating.html", - "href": "Floating.html#Ext-util-Floating-method-setActive", - "shortDoc": "This method is called internally by Ext.ZIndexManager to signal that a floating\nComponent has either been moved to th..." - }, - { - "tagname": "method", - "name": "setActiveError", - "member": "Ext.form.Labelable", - "doc": "Sets the active error message to the given string. This replaces the entire error message\ncontents with the given string. Also see setActiveErrors which accepts an Array of\nmessages and formats them according to the activeErrorsTpl.
\n", - "params": [ - { - "type": "String", - "name": "msg", - "doc": "The error message
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 348, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-method-setActiveError", - "shortDoc": "Sets the active error message to the given string. This replaces the entire error message\ncontents with the given str..." - }, - { - "tagname": "method", - "name": "setActiveErrors", - "member": "Ext.form.Labelable", - "doc": "Set the active error message to an Array of error messages. The messages are formatted into\na single message string using the activeErrorsTpl. Also see setActiveError\nwhich allows setting the entire error contents with a single string.
\n", - "params": [ - { - "type": "Array", - "name": "errors", - "doc": "The error messages
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 369, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-method-setActiveErrors", - "shortDoc": "Set the active error message to an Array of error messages. The messages are formatted into\na single message string u..." - }, - { - "tagname": "method", - "name": "setAutoScroll", - "member": "Ext.Component", - "doc": "Sets the overflow on the content element of the component.
\n", - "params": [ - { - "type": "Boolean", - "name": "scroll", - "doc": "True to allow the Component to auto scroll.
\n", - "optional": false - } - ], - "return": { - "type": "Ext.Component", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 359, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-setAutoScroll", - "shortDoc": "Sets the overflow on the content element of the component.
\n" - }, - { - "tagname": "method", - "name": "setDisabled", - "member": "Ext.AbstractComponent", - "doc": "Enable or disable the component.
\n", - "params": [ - { - "type": "Boolean", - "name": "disabled", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2123, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-setDisabled", - "shortDoc": "Enable or disable the component.
\n" - }, - { - "tagname": "method", - "name": "setDocked", - "member": "Ext.AbstractComponent", - "doc": "Sets the dock position of this component in its parent panel. Note that\nthis only has effect if this item is part of the dockedItems collection\nof a parent that has a DockLayout (note that any Panel has a DockLayout\nby default)
\n", - "params": [ - { - "type": "Object", - "name": "dock", - "doc": "\n", - "optional": false - }, - { - "type": "Object", - "name": "layoutParent", - "doc": "\n", - "optional": false - } - ], - "return": { - "type": "Component", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2646, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-setDocked", - "shortDoc": "Sets the dock position of this component in its parent panel. Note that\nthis only has effect if this item is part of ..." - }, - { - "tagname": "method", - "name": "setFieldDefaults", - "member": "Ext.form.Labelable", - "doc": "Applies a set of default configuration values to this Labelable instance. For each of the\nproperties in the given object, check if this component hasOwnProperty that config; if not\nthen it's inheriting a default value from its prototype and we should apply the default value.
\n", - "params": [ - { - "type": "Object", - "name": "defaults", - "doc": "The defaults to apply to the object.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 417, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-method-setFieldDefaults", - "shortDoc": "Applies a set of default configuration values to this Labelable instance. For each of the\nproperties in the given obj..." - }, - { - "tagname": "method", - "name": "setFieldStyle", - "member": "Ext.form.field.Base", - "doc": "Set the CSS style of the field input element.
\n", - "params": [ - { - "type": "String/Object/Function", - "name": "style", - "doc": "The style(s) to apply. Should be a valid argument to\nExt.core.Element.applyStyles.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 348, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-method-setFieldStyle", - "shortDoc": "Set the CSS style of the field input element.
\n" - }, - { - "tagname": "method", - "name": "setHeight", - "member": "Ext.AbstractComponent", - "doc": "Sets the height of the component. This method fires the resize event.
\n", - "params": [ - { - "type": "Number", - "name": "height", - "doc": "The new height to set. This may be one of:
this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2550, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-setHeight", - "shortDoc": "Sets the height of the component. This method fires the resize event.
\n" - }, - { - "tagname": "method", - "name": "setLoading", - "member": "Ext.AbstractComponent", - "doc": "This method allows you to show or hide a LoadMask on top of this component.
\n", - "params": [ - { - "type": "Boolean/Object/String", - "name": "load", - "doc": "True to show the default LoadMask, a config object\nthat will be passed to the LoadMask constructor, or a message String to show. False to\nhide the current LoadMask.
\n", - "optional": false - }, - { - "type": "Boolean", - "name": "targetEl", - "doc": "True to mask the targetEl of this Component instead of the this.el.\nFor example, setting this to true on a Panel will cause only the body to be masked. (defaults to false)
\n", - "optional": false - } - ], - "return": { - "type": "Ext.LoadMask", - "doc": "The LoadMask instance that has just been shown.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2611, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-setLoading", - "shortDoc": "This method allows you to show or hide a LoadMask on top of this component.
\n" - }, - { - "tagname": "method", - "name": "setPagePosition", - "member": "Ext.Component", - "doc": "Sets the page XY position of the component. To set the left and top instead, use setPosition.\nThis method fires the move event.
\n", - "params": [ - { - "type": "Number", - "name": "x", - "doc": "The new x position
\n", - "optional": false - }, - { - "type": "Number", - "name": "y", - "doc": "The new y position
\n", - "optional": false - }, - { - "type": "Mixed", - "name": "animate", - "doc": "If passed, the Component is animated into its new position. If this parameter\nis a number, it is used as the animation duration in milliseconds.
\n", - "optional": false - } - ], - "return": { - "type": "Ext.Component", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 501, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-setPagePosition", - "shortDoc": "Sets the page XY position of the component. To set the left and top instead, use setPosition.\nThis method fires the ..." - }, - { - "tagname": "method", - "name": "setPosition", - "member": "Ext.Component", - "doc": "Sets the left and top of the component. To set the page XY position instead, use setPagePosition.\nThis method fires the move event.
\n", - "params": [ - { - "type": "Number", - "name": "left", - "doc": "The new left
\n", - "optional": false - }, - { - "type": "Number", - "name": "top", - "doc": "The new top
\n", - "optional": false - }, - { - "type": "Mixed", - "name": "animate", - "doc": "If true, the Component is animated into its new position. You may also pass an animation configuration.
\n", - "optional": false - } - ], - "return": { - "type": "Ext.Component", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 417, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-setPosition", - "shortDoc": "Sets the left and top of the component. To set the page XY position instead, use setPagePosition.\nThis method fires ..." - }, - { - "tagname": "method", - "name": "setRawValue", - "member": "Ext.form.field.Base", - "doc": "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", - "params": [ - { - "type": "Mixed", - "name": "value", - "doc": "The value to set
\n", - "optional": false - } - ], - "return": { - "type": "Mixed", - "doc": "value The field value that is set
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 465, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-method-setRawValue", - "shortDoc": "Sets the field's raw value directly, bypassing value conversion, change detection, and\nvalidation. To set the value w..." - }, - { - "tagname": "method", - "name": "setReadOnly", - "member": "Ext.form.field.Base", - "doc": "Sets the read only state of this field.
\n", - "params": [ - { - "type": "Boolean", - "name": "readOnly", - "doc": "Whether the field should be read only.
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 570, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-method-setReadOnly", - "shortDoc": "Sets the read only state of this field.
\n" - }, - { - "tagname": "method", - "name": "setSize", - "member": "Ext.AbstractComponent", - "doc": "Sets the width and height of this Component. This method fires the resize event. This method can accept\neither width and height as separate arguments, or you can pass a size object like {width:10, height:20}
.
The new width to set. This may be one of:
{width: widthValue, height: heightValue}
.undefined
to leave the width unchanged.The new height to set (not required if a size object is passed as the first arg).\nThis may be one of:
undefined
to leave the height unchanged.this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2340, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-setSize", - "shortDoc": "Sets the width and height of this Component. This method fires the resize event. This method can accept\neither width ..." - }, - { - "tagname": "method", - "name": "setUI", - "member": "Ext.AbstractComponent", - "doc": "Sets the UI for the component. This will remove any existing UIs on the component. It will also\nloop through any uiCls set on the component and rename them so they include the new UI
\n", - "params": [ - { - "type": "String", - "name": "ui", - "doc": "The new UI for the component
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1309, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-setUI", - "shortDoc": "Sets the UI for the component. This will remove any existing UIs on the component. It will also\nloop through any uiCl..." - }, - { - "tagname": "method", - "name": "setValue", - "member": "Ext.form.field.Text", - "doc": "Sets a data value into the field and runs the change detection and validation. Also applies any configured\nemptyText for text fields. To set the value directly without these inspections see setRawValue.
\n", - "params": [ - { - "type": "Mixed", - "name": "value", - "doc": "The value to set
\n", - "optional": false - } - ], - "return": { - "type": "Ext.form.field.Text", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 479, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-method-setValue", - "shortDoc": "Sets a data value into the field and runs the change detection and validation. Also applies any configured\nemptyText ..." - }, - { - "tagname": "method", - "name": "setVisible", - "member": "Ext.AbstractComponent", - "doc": "Convenience function to hide or show this component by boolean.
\n", - "params": [ - { - "type": "Boolean", - "name": "visible", - "doc": "True to show, false to hide
\n", - "optional": false - } - ], - "return": { - "type": "Ext.Component", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2006, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-setVisible", - "shortDoc": "Convenience function to hide or show this component by boolean.
\n" - }, - { - "tagname": "method", - "name": "setWidth", - "member": "Ext.AbstractComponent", - "doc": "Sets the width of the component. This method fires the resize event.
\n", - "params": [ - { - "type": "Number", - "name": "width", - "doc": "The new width to setThis may be one of:
this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 2538, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-setWidth", - "shortDoc": "Sets the width of the component. This method fires the resize event.
\n" - }, - { - "tagname": "method", - "name": "show", - "member": "Ext.Component", - "doc": "Shows this Component, rendering it first if autoRender or {"floating are true
.
After being shown, a floating Component (such as a Ext.window.Window), is activated it and brought to the front of\nits z-index stack.
\n\n", - "params": [ - { - "type": "String/Element", - "name": "animateTarget", - "doc": "Optional, and only valid for floating Components such as\nWindows or ToolTips, or regular Components which have been configured\nwith floating: true
. The target from which the Component should\nanimate from while opening (defaults to null with no animation)
(optional) A callback function to call after the Component is displayed. Only necessary if animation was specified.
\n", - "optional": true - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope (this
reference) in which the callback is executed. Defaults to this Component.
this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 645, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-show", - "shortDoc": "Shows this Component, rendering it first if autoRender or {"floating are true.\n\n\nAfter being shown, a floating C..." - }, - { - "tagname": "method", - "name": "stopAnimation", - "member": "Ext.util.Animate", - "doc": "Stops any running effects and clears this object's internal effects queue if it contains\nany additional effects that haven't started yet.
\n", - "params": [ - - ], - "return": { - "type": "Ext.core.Element", - "doc": "The Element
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 335, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-stopAnimation", - "shortDoc": "Stops any running effects and clears this object's internal effects queue if it contains\nany additional effects that ..." - }, - { - "tagname": "method", - "name": "stopFx", - "member": "Ext.util.Animate", - "doc": "@deprecated 4.0 Replaced by stopAnimation\nStops any running effects and clears this object's internal effects queue if it contains\nany additional effects that haven't started yet.
\n", - "params": [ - - ], - "return": { - "type": "Ext.core.Element", - "doc": "The Element
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 326, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-stopFx", - "shortDoc": "@deprecated 4.0 Replaced by stopAnimation\nStops any running effects and clears this object's internal effects queue i..." - }, - { - "tagname": "method", - "name": "suspendEvents", - "member": "Ext.util.Observable", - "doc": "Suspend the firing of all events. (see resumeEvents)
\n", - "params": [ - { - "type": "Boolean", - "name": "queueSuspended", - "doc": "Pass as true to queue up suspended events to be fired\nafter the resumeEvents call instead of discarding all suspended events;
\n", - "optional": false - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 490, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-suspendEvents", - "shortDoc": "Suspend the firing of all events. (see resumeEvents)
\n" - }, - { - "tagname": "method", - "name": "syncFx", - "member": "Ext.util.Animate", - "doc": "Ensures that all effects queued after syncFx is called on this object are\nrun concurrently. This is the opposite of sequenceFx.
\n", - "params": [ - - ], - "return": { - "type": "Object", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Animate.js", - "linenr": 345, - "html_filename": "Animate.html", - "href": "Animate.html#Ext-util-Animate-method-syncFx", - "shortDoc": "Ensures that all effects queued after syncFx is called on this object are\nrun concurrently. This is the opposite of ..." - }, - { - "tagname": "method", - "name": "toBack", - "member": "Ext.util.Floating", - "doc": "Sends this Component to the back of (lower z-index than) any other visible windows
\n", - "params": [ - - ], - "return": { - "type": "Component", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Floating.js", - "linenr": 240, - "html_filename": "Floating.html", - "href": "Floating.html#Ext-util-Floating-method-toBack", - "shortDoc": "Sends this Component to the back of (lower z-index than) any other visible windows
\n" - }, - { - "tagname": "method", - "name": "toFront", - "member": "Ext.util.Floating", - "doc": "Brings this floating Component to the front of any other visible, floating Components managed by the same ZIndexManager
\n\n\nIf this Component is modal, inserts the modal mask just below this Component in the z-index stack.
\n\n", - "params": [ - { - "type": "Boolean", - "name": "preventFocus", - "doc": "(optional) Specify true
to prevent the Component from being focused.
this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/util/Floating.js", - "linenr": 188, - "html_filename": "Floating.html", - "href": "Floating.html#Ext-util-Floating-method-toFront", - "shortDoc": "Brings this floating Component to the front of any other visible, floating Components managed by the same ZIndexManag..." - }, - { - "tagname": "method", - "name": "un", - "member": "Ext.util.Observable", - "doc": "Removes an event handler (shorthand for removeListener.)
\n", - "params": [ - { - "type": "String", - "name": "eventName", - "doc": "The type of event the handler was associated with.
\n", - "optional": false - }, - { - "type": "Function", - "name": "handler", - "doc": "The handler to remove. This must be a reference to the function passed into the addListener call.
\n", - "optional": false - }, - { - "type": "Object", - "name": "scope", - "doc": "(optional) The scope originally specified for the handler.
\n", - "optional": true - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/util/Observable.js", - "linenr": 608, - "html_filename": "Observable.html", - "href": "Observable.html#Ext-util-Observable-method-un", - "shortDoc": "Removes an event handler (shorthand for removeListener.)
\n" - }, - { - "tagname": "method", - "name": "unsetActiveError", - "member": "Ext.form.Labelable", - "doc": "Clears the active error.
\n", - "params": [ - - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 381, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-method-unsetActiveError", - "shortDoc": "Clears the active error.
\n" - }, - { - "tagname": "method", - "name": "up", - "member": "Ext.AbstractComponent", - "doc": "Walks up the ownerCt
axis looking for an ancestor Container which matches\nthe passed simple selector.
Example:\n
var owningTabPanel = grid.up('tabpanel');\n
\n\n",
- "params": [
- {
- "type": "String",
- "name": "selector",
- "doc": "Optional. The simple selector to test.
\n", - "optional": false - } - ], - "return": { - "type": "Container", - "doc": "The matching ancestor Container (or undefined
if no match was found).
Update the content area of a component.
\n", - "params": [ - { - "type": "Mixed", - "name": "htmlOrData", - "doc": "If this component has been configured with a template via the tpl config\nthen it will use this argument as data to populate the template.\nIf this component was not configured with a template, the components\ncontent area will be updated via Ext.core.Element update
\n", - "optional": false - }, - { - "type": "Boolean", - "name": "loadScripts", - "doc": "(optional) Only legitimate when using the html configuration. Defaults to false
\n", - "optional": true - }, - { - "type": "Function", - "name": "callback", - "doc": "(optional) Only legitimate when using the html configuration. Callback to execute when scripts have finished loading
\n", - "optional": true - } - ], - "return": { - "type": "void", - "doc": "\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 1974, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-method-update", - "shortDoc": "Update the content area of a component.
\n" - }, - { - "tagname": "method", - "name": "updateBox", - "member": "Ext.Component", - "doc": "Sets the current box measurements of the component's underlying element.
\n", - "params": [ - { - "type": "Object", - "name": "box", - "doc": "An object in the format {x, y, width, height}
\n", - "optional": false - } - ], - "return": { - "type": "Ext.Component", - "doc": "this
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 551, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-method-updateBox", - "shortDoc": "Sets the current box measurements of the component's underlying element.
\n" - }, - { - "tagname": "method", - "name": "validate", - "member": "Ext.form.field.Field", - "doc": "Returns whether or not the field value is currently valid by validating the\nfield's current value, and fires the validitychange event if the field's validity has\nchanged since the last validation. Note: disabled fields are always treated as valid.
\n\n\nCustom implementations of this method are allowed to have side-effects such as triggering error\nmessage display. To validate without side-effects, use isValid.
\n\n", - "params": [ - - ], - "return": { - "type": "Boolean", - "doc": "True if the value is valid, else false
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 330, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-method-validate", - "shortDoc": "Returns whether or not the field value is currently valid by validating the\nfield's current value, and fires the vali..." - }, - { - "tagname": "method", - "name": "validateValue", - "member": "Ext.form.field.Base", - "doc": "Uses getErrors to build an array of validation errors. If any errors are found, they are passed\nto markInvalid and false is returned, otherwise true is returned.
\n\n\nPreviously, subclasses were invited to provide an implementation of this to process validations - from 3.2\nonwards getErrors should be overridden instead.
\n\n", - "params": [ - { - "type": "Mixed", - "name": "value", - "doc": "The value to validate
\n", - "optional": false - } - ], - "return": { - "type": "Boolean", - "doc": "True if all validations passed, false if one or more failed
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 703, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-method-validateValue", - "shortDoc": "Uses getErrors to build an array of validation errors. If any errors are found, they are passed\nto markInvalid and fa..." - }, - { - "tagname": "method", - "name": "valueToRaw", - "member": "Ext.form.field.Base", - "doc": "Converts a mixed-type value to a raw representation suitable for displaying in the field. This allows\ncontrolling how value objects passed to setValue are shown to the user, including localization.\nFor instance, for a Ext.form.field.Date, this would control how a Date object passed to setValue\nwould be converted to a String for display in the field.
\n\n\nSee rawToValue for the opposite conversion.
\n\n\nThe base implementation simply does a standard toString conversion, and converts\nempty values to an empty string.
\n\n", - "params": [ - { - "type": "Mixed", - "name": "value", - "doc": "The mixed-type value to convert to the raw representation.
\n", - "optional": false - } - ], - "return": { - "type": "Mixed", - "doc": "The converted raw value.
\n" - }, - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 483, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-method-valueToRaw", - "shortDoc": "Converts a mixed-type value to a raw representation suitable for displaying in the field. This allows\ncontrolling how..." - } - ], - "property": [ - { - "tagname": "property", - "name": "bodyEl", - "member": "Ext.form.Labelable", - "type": "Ext.core.Element", - "doc": "The div Element wrapping the component's contents. Only available after the component has been rendered.
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 293, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-property-bodyEl" - }, - { - "tagname": "property", - "name": "button", - "member": "Ext.form.field.File", - "type": "Ext.button.Button", - "doc": "A reference to the trigger Button component created for this upload field. Only\npopulated after this component is rendered.
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/File.js", - "linenr": 102, - "html_filename": "File.html", - "href": "File.html#Ext-form-field-File-property-button", - "shortDoc": "A reference to the trigger Button component created for this upload field. Only\npopulated after this component is ren..." - }, - { - "tagname": "property", - "name": "draggable", - "member": "Ext.AbstractComponent", - "type": "Boolean", - "doc": "Read-only property indicating whether or not the component can be dragged
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 374, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-property-draggable" - }, - { - "tagname": "property", - "name": "errorEl", - "member": "Ext.form.Labelable", - "type": "Ext.core.Element", - "doc": "The div Element that will contain the component's error message(s). Note that depending on the\nconfigured msgTarget, this element may be hidden in favor of some other form of\npresentation, but will always be present in the DOM for use by assistive technologies.
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 300, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-property-errorEl", - "shortDoc": "The div Element that will contain the component's error message(s). Note that depending on the\nconfigured msgTarget, ..." - }, - { - "tagname": "property", - "name": "fileInputEl", - "member": "Ext.form.field.File", - "type": "Ext.core.Element", - "doc": "A reference to the invisible file input element created for this upload field. Only\npopulated after this component is rendered.
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/File.js", - "linenr": 95, - "html_filename": "File.html", - "href": "File.html#Ext-form-field-File-property-fileInputEl", - "shortDoc": "A reference to the invisible file input element created for this upload field. Only\npopulated after this component is..." - }, - { - "tagname": "property", - "name": "floatParent", - "member": "Ext.Component", - "type": "Ext.Container", - "doc": "Optional. Only present for floating Components which were inserted as descendant items of floating Containers.
\n\n\nFloating Components that are programatically rendered will not have a floatParent
property.
For floating Components which are child items of a Container, the floatParent will be the floating ancestor Container which is\nresponsible for the base z-index value of all its floating descendants. It provides a ZIndexManager which provides\nz-indexing services for all its descendant floating Components.
\n\n\nFor example, the dropdown BoundList of a ComboBox which is in a Window will have the Window as its\nfloatParent
See floating and zIndexManager
\n\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 221, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-property-floatParent", - "shortDoc": "Optional. Only present for floating Components which were inserted as descendant items of floating Containers.\n\n\nFloa..." - }, - { - "tagname": "property", - "name": "frameSize", - "member": "Ext.AbstractComponent", - "type": "Object", - "doc": "Read-only property indicating the width of any framing elements which were added within the encapsulating element\nto provide graphical, rounded borders. See the frame config.
\n\n\nThis is an object containing the frame width in pixels for all four sides of the Component containing\nthe following properties:
\n\n\ntop
The width of the top framing element in pixels.right
The width of the right framing element in pixels.bottom
The width of the bottom framing element in pixels.left
The width of the left framing element in pixels.The input Element for this Field. Only available after the field has been rendered.
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 371, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-property-inputEl" - }, - { - "tagname": "property", - "name": "isFieldLabelable", - "member": "Ext.form.Labelable", - "type": "Boolean", - "doc": "Flag denoting that this object is labelable as a field. Always true.
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 61, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-property-isFieldLabelable" - }, - { - "tagname": "property", - "name": "isFormField", - "member": "Ext.form.field.Field", - "type": "Boolean", - "doc": "Flag denoting that this component is a Field. Always true.
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 26, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-property-isFormField" - }, - { - "tagname": "property", - "name": "labelEl", - "member": "Ext.form.Labelable", - "type": "Ext.core.Element", - "doc": "The label Element for this component. Only available after the component has been rendered.
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 286, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-property-labelEl" - }, - { - "tagname": "property", - "name": "maskOnDisable", - "member": "Ext.AbstractComponent", - "type": "Boolean", - "doc": "This is an internal flag that you use when creating custom components.\nBy default this is set to true which means that every component gets a mask when its disabled.\nComponents like FieldContainer, FieldSet, Field, Button, Tab override this property to false\nsince they want to implement custom disable logic.
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 513, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-property-maskOnDisable", - "shortDoc": "This is an internal flag that you use when creating custom components.\nBy default this is set to true which means tha..." - }, - { - "tagname": "property", - "name": "originalValue", - "member": "Ext.form.field.Field", - "type": "Mixed", - "doc": "The original value of the field as configured in the value configuration, or as loaded by\nthe last form load operation if the form's trackResetOnLoad\nsetting is true
.
This Component's owner Container (defaults to undefined, and is set automatically when\nthis Component is added to a Container). Read-only.
\n\nNote: to access items within the Container see itemId.
\n\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 101, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-property-ownerCt", - "shortDoc": "This Component's owner Container (defaults to undefined, and is set automatically when\nthis Component is added to a C..." - }, - { - "tagname": "property", - "name": "rendered", - "member": "Ext.AbstractComponent", - "type": "Boolean", - "doc": "Read-only property indicating whether or not the component has been rendered.
\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 500, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-property-rendered" - }, - { - "tagname": "property", - "name": "zIndexManager", - "member": "Ext.Component", - "type": "Ext.ZIndexManager", - "doc": "Optional. Only present for floating Components after they have been rendered.
\n\n\nA reference to the ZIndexManager which is managing this Component's z-index.
\n\n\nThe ZIndexManager maintains a stack of floating Component z-indices, and also provides a single modal\nmask which is insert just beneath the topmost visible modal floating Component.
\n\n\nFloating Components may be brought to the front or sent to the back of the z-index stack.
\n\n\nThis defaults to the global ZIndexManager for floating Components that are programatically\nrendered.
\n\n\nFor floating Components which are added to a Container, the ZIndexManager is acquired from the first ancestor Container found\nwhich is floating, or if not found the global ZIndexManager is used.
\n\n\nSee floating and floatParent
\n\n", - "private": false, - "static": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/Component.js", - "linenr": 206, - "html_filename": "Component.html", - "href": "Component.html#Ext-Component-property-zIndexManager", - "shortDoc": "Optional. Only present for floating Components after they have been rendered.\n\n\nA reference to the ZIndexManager whic..." - } - ], - "event": [ - { - "tagname": "event", - "name": "activate", - "member": "Ext.AbstractComponent", - "doc": "Fires after a Component has been visually activated.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 540, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-activate", - "shortDoc": "Fires after a Component has been visually activated.
\n" - }, - { - "tagname": "event", - "name": "added", - "member": "Ext.AbstractComponent", - "doc": "Fires after a Component had been added to a Container.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - }, - { - "type": "Ext.container.Container", - "name": "container", - "doc": "Parent Container
\n", - "optional": false - }, - { - "type": "Number", - "name": "pos", - "doc": "position of Component
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 560, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-added", - "shortDoc": "Fires after a Component had been added to a Container.
\n" - }, - { - "tagname": "event", - "name": "afterrender", - "member": "Ext.AbstractComponent", - "doc": "Fires after the component rendering is finished.
\n\n\nThe afterrender event is fired after this Component has been rendered, been postprocesed\nby any afterRender method defined for the Component.
\n\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 627, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-afterrender", - "shortDoc": "Fires after the component rendering is finished.\n\n\nThe afterrender event is fired after this Component has been rende..." - }, - { - "tagname": "event", - "name": "autosize", - "member": "Ext.form.field.Text", - "doc": "Fires when the autoSize function is triggered and the field is\nresized according to the grow/growMin/growMax configs as a result.\nThis event provides a hook for the developer to apply additional logic at runtime to resize the\nfield if needed.
\n", - "params": [ - { - "type": "Ext.form.field.Text", - "name": "this", - "doc": "This text field
\n", - "optional": false - }, - { - "type": "Number", - "name": "width", - "doc": "The new field width
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 234, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-event-autosize", - "shortDoc": "Fires when the autoSize function is triggered and the field is\nresized according to the grow/growMin/growMax configs ..." - }, - { - "tagname": "event", - "name": "beforeactivate", - "member": "Ext.AbstractComponent", - "doc": "Fires before a Component has been visually activated.\nReturning false from an event listener can prevent the activate\nfrom occurring.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 532, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-beforeactivate", - "shortDoc": "Fires before a Component has been visually activated.\nReturning false from an event listener can prevent the activate..." - }, - { - "tagname": "event", - "name": "beforedeactivate", - "member": "Ext.AbstractComponent", - "doc": "Fires before a Component has been visually deactivated.\nReturning false from an event listener can prevent the deactivate\nfrom occurring.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 546, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-beforedeactivate", - "shortDoc": "Fires before a Component has been visually deactivated.\nReturning false from an event listener can prevent the deacti..." - }, - { - "tagname": "event", - "name": "beforedestroy", - "member": "Ext.AbstractComponent", - "doc": "Fires before the component is destroyed. Return false from an event handler to stop the destroy.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 635, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-beforedestroy", - "shortDoc": "Fires before the component is destroyed. Return false from an event handler to stop the destroy.
\n" - }, - { - "tagname": "event", - "name": "beforehide", - "member": "Ext.AbstractComponent", - "doc": "Fires before the component is hidden when calling the hide method.\nReturn false from an event handler to stop the hide.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 593, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-beforehide", - "shortDoc": "Fires before the component is hidden when calling the hide method.\nReturn false from an event handler to stop the hide.
\n" - }, - { - "tagname": "event", - "name": "beforerender", - "member": "Ext.AbstractComponent", - "doc": "Fires before the component is rendered. Return false from an\nevent handler to stop the render.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 614, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-beforerender", - "shortDoc": "Fires before the component is rendered. Return false from an\nevent handler to stop the render.
\n" - }, - { - "tagname": "event", - "name": "beforeshow", - "member": "Ext.AbstractComponent", - "doc": "Fires before the component is shown when calling the show method.\nReturn false from an event handler to stop the show.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 580, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-beforeshow", - "shortDoc": "Fires before the component is shown when calling the show method.\nReturn false from an event handler to stop the show.
\n" - }, - { - "tagname": "event", - "name": "beforestaterestore", - "member": "Ext.state.Stateful", - "doc": "Fires before the state of the object is restored. Return false from an event handler to stop the restore.
\n", - "params": [ - { - "type": "Ext.state.Stateful", - "name": "this", - "doc": "\n", - "optional": false - }, - { - "type": "Object", - "name": "state", - "doc": "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", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/state/Stateful.js", - "linenr": 101, - "html_filename": "Stateful.html", - "href": "Stateful.html#Ext-state-Stateful-event-beforestaterestore", - "shortDoc": "Fires before the state of the object is restored. Return false from an event handler to stop the restore.
\n" - }, - { - "tagname": "event", - "name": "beforestatesave", - "member": "Ext.state.Stateful", - "doc": "Fires before the state of the object is saved to the configured state provider. Return false to stop the save.
\n", - "params": [ - { - "type": "Ext.state.Stateful", - "name": "this", - "doc": "\n", - "optional": false - }, - { - "type": "Object", - "name": "state", - "doc": "The hash of state values. This is determined by calling\ngetState() on the object. This method must be provided by the\ndeveloper to return whetever representation of state is required, by default, Ext.state.Stateful\nhas a null implementation.
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/state/Stateful.js", - "linenr": 122, - "html_filename": "Stateful.html", - "href": "Stateful.html#Ext-state-Stateful-event-beforestatesave", - "shortDoc": "Fires before the state of the object is saved to the configured state provider. Return false to stop the save.
\n" - }, - { - "tagname": "event", - "name": "blur", - "member": "Ext.form.field.Base", - "doc": "Fires when this field loses input focus.
\n", - "params": [ - { - "type": "Ext.form.field.Base", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 246, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-event-blur", - "shortDoc": "Fires when this field loses input focus.
\n" - }, - { - "tagname": "event", - "name": "change", - "member": "Ext.form.field.File", - "doc": "Fires when the underlying file input field's value has changed from the user\nselecting a new file from the system file selection dialog.
\n", - "params": [ - { - "type": "Ext.ux.form.FileUploadField", - "name": "this", - "doc": "\n", - "optional": false - }, - { - "type": "String", - "name": "value", - "doc": "The file value returned by the underlying file input field
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/File.js", - "linenr": 87, - "html_filename": "File.html", - "href": "File.html#Ext-form-field-File-event-change", - "shortDoc": "Fires when the underlying file input field's value has changed from the user\nselecting a new file from the system fil..." - }, - { - "tagname": "event", - "name": "deactivate", - "member": "Ext.AbstractComponent", - "doc": "Fires after a Component has been visually deactivated.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 554, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-deactivate", - "shortDoc": "Fires after a Component has been visually deactivated.
\n" - }, - { - "tagname": "event", - "name": "destroy", - "member": "Ext.AbstractComponent", - "doc": "Fires after the component is destroyed.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 641, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-destroy", - "shortDoc": "Fires after the component is destroyed.
\n" - }, - { - "tagname": "event", - "name": "dirtychange", - "member": "Ext.form.field.Field", - "doc": "Fires when a change in the field's isDirty state is detected.
\n", - "params": [ - { - "type": "Ext.form.field.Field", - "name": "this", - "doc": "\n", - "optional": false - }, - { - "type": "Boolean", - "name": "isDirty", - "doc": "Whether or not the field is now dirty
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 94, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-event-dirtychange", - "shortDoc": "Fires when a change in the field's isDirty state is detected.
\n" - }, - { - "tagname": "event", - "name": "disable", - "member": "Ext.AbstractComponent", - "doc": "Fires after the component is disabled.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 568, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-disable", - "shortDoc": "Fires after the component is disabled.
\n" - }, - { - "tagname": "event", - "name": "enable", - "member": "Ext.AbstractComponent", - "doc": "Fires after the component is enabled.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 574, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-enable", - "shortDoc": "Fires after the component is enabled.
\n" - }, - { - "tagname": "event", - "name": "errorchange", - "member": "Ext.form.Labelable", - "doc": "Fires when the active error message is changed via setActiveError.
\n", - "params": [ - { - "type": "Ext.form.Labelable", - "name": "this", - "doc": "\n", - "optional": false - }, - { - "type": "String", - "name": "error", - "doc": "The active error message
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/Labelable.js", - "linenr": 222, - "html_filename": "Labelable.html", - "href": "Labelable.html#Ext-form-Labelable-event-errorchange", - "shortDoc": "Fires when the active error message is changed via setActiveError.
\n" - }, - { - "tagname": "event", - "name": "focus", - "member": "Ext.form.field.Base", - "doc": "Fires when this field receives input focus.
\n", - "params": [ - { - "type": "Ext.form.field.Base", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 240, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-event-focus", - "shortDoc": "Fires when this field receives input focus.
\n" - }, - { - "tagname": "event", - "name": "hide", - "member": "Ext.AbstractComponent", - "doc": "Fires after the component is hidden.\nFires after the component is hidden when calling the hide method.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 600, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-hide", - "shortDoc": "Fires after the component is hidden.\nFires after the component is hidden when calling the hide method.
\n" - }, - { - "tagname": "event", - "name": "keydown", - "member": "Ext.form.field.Text", - "doc": "Keydown input field event. This event only fires if enableKeyEvents\nis set to true.
\n", - "params": [ - { - "type": "Ext.form.field.Text", - "name": "this", - "doc": "This text field
\n", - "optional": false - }, - { - "type": "Ext.EventObject", - "name": "e", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 245, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-event-keydown", - "shortDoc": "Keydown input field event. This event only fires if enableKeyEvents\nis set to true.
\n" - }, - { - "tagname": "event", - "name": "keypress", - "member": "Ext.form.field.Text", - "doc": "Keypress input field event. This event only fires if enableKeyEvents\nis set to true.
\n", - "params": [ - { - "type": "Ext.form.field.Text", - "name": "this", - "doc": "This text field
\n", - "optional": false - }, - { - "type": "Ext.EventObject", - "name": "e", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 261, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-event-keypress", - "shortDoc": "Keypress input field event. This event only fires if enableKeyEvents\nis set to true.
\n" - }, - { - "tagname": "event", - "name": "keyup", - "member": "Ext.form.field.Text", - "doc": "Keyup input field event. This event only fires if enableKeyEvents\nis set to true.
\n", - "params": [ - { - "type": "Ext.form.field.Text", - "name": "this", - "doc": "This text field
\n", - "optional": false - }, - { - "type": "Ext.EventObject", - "name": "e", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Text.js", - "linenr": 253, - "html_filename": "Text.html", - "href": "Text.html#Ext-form-field-Text-event-keyup", - "shortDoc": "Keyup input field event. This event only fires if enableKeyEvents\nis set to true.
\n" - }, - { - "tagname": "event", - "name": "move", - "member": "Ext.AbstractComponent", - "doc": "Fires after the component is moved.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - }, - { - "type": "Number", - "name": "x", - "doc": "The new x position
\n", - "optional": false - }, - { - "type": "Number", - "name": "y", - "doc": "The new y position
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 655, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-move", - "shortDoc": "Fires after the component is moved.
\n" - }, - { - "tagname": "event", - "name": "removed", - "member": "Ext.AbstractComponent", - "doc": "Fires when a component is removed from an Ext.container.Container
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - }, - { - "type": "Ext.container.Container", - "name": "ownerCt", - "doc": "Container which holds the component
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 607, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-removed", - "shortDoc": "Fires when a component is removed from an Ext.container.Container
\n" - }, - { - "tagname": "event", - "name": "render", - "member": "Ext.AbstractComponent", - "doc": "Fires after the component markup is rendered.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 621, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-render", - "shortDoc": "Fires after the component markup is rendered.
\n" - }, - { - "tagname": "event", - "name": "resize", - "member": "Ext.AbstractComponent", - "doc": "Fires after the component is resized.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - }, - { - "type": "Number", - "name": "adjWidth", - "doc": "The box-adjusted width that was set
\n", - "optional": false - }, - { - "type": "Number", - "name": "adjHeight", - "doc": "The box-adjusted height that was set
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 647, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-resize", - "shortDoc": "Fires after the component is resized.
\n" - }, - { - "tagname": "event", - "name": "show", - "member": "Ext.AbstractComponent", - "doc": "Fires after the component is shown when calling the show method.
\n", - "params": [ - { - "type": "Ext.Component", - "name": "this", - "doc": "\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/AbstractComponent.js", - "linenr": 587, - "html_filename": "AbstractComponent.html", - "href": "AbstractComponent.html#Ext-AbstractComponent-event-show", - "shortDoc": "Fires after the component is shown when calling the show method.
\n" - }, - { - "tagname": "event", - "name": "specialkey", - "member": "Ext.form.field.Base", - "doc": "Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.\nTo handle other keys see Ext.panel.Panel.keys or Ext.util.KeyMap.\nYou can check Ext.EventObject.getKey to determine which key was pressed.\nFor example:
\n\nvar form = new Ext.form.Panel({\n ...\n items: [{\n fieldLabel: 'Field 1',\n name: 'field1',\n allowBlank: false\n },{\n fieldLabel: 'Field 2',\n name: 'field2',\n listeners: {\n specialkey: function(field, e){\n // e.HOME, e.END, e.PAGE_UP, e.PAGE_DOWN,\n // e.TAB, e.ESC, arrow keys: e.LEFT, e.RIGHT, e.UP, e.DOWN\n if (e.getKey() == e.ENTER) {\n var form = field.up('form').getForm();\n form.submit();\n }\n }\n }\n }\n ],\n ...\n});\n
\n\n",
- "params": [
- {
- "type": "Ext.form.field.Base",
- "name": "this",
- "doc": "\n",
- "optional": false
- },
- {
- "type": "Ext.EventObject",
- "name": "e",
- "doc": "The event object
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Base.js", - "linenr": 252, - "html_filename": "Base.html", - "href": "Base.html#Ext-form-field-Base-event-specialkey", - "shortDoc": "Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.\nTo handle other keys see Ext.pan..." - }, - { - "tagname": "event", - "name": "staterestore", - "member": "Ext.state.Stateful", - "doc": "Fires after the state of the object is restored.
\n", - "params": [ - { - "type": "Ext.state.Stateful", - "name": "this", - "doc": "\n", - "optional": false - }, - { - "type": "Object", - "name": "state", - "doc": "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", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/state/Stateful.js", - "linenr": 112, - "html_filename": "Stateful.html", - "href": "Stateful.html#Ext-state-Stateful-event-staterestore", - "shortDoc": "Fires after the state of the object is restored.
\n" - }, - { - "tagname": "event", - "name": "statesave", - "member": "Ext.state.Stateful", - "doc": "Fires after the state of the object is saved to the configured state provider.
\n", - "params": [ - { - "type": "Ext.state.Stateful", - "name": "this", - "doc": "\n", - "optional": false - }, - { - "type": "Object", - "name": "state", - "doc": "The hash of state values. This is determined by calling\ngetState() on the object. This method must be provided by the\ndeveloper to return whetever representation of state is required, by default, Ext.state.Stateful\nhas a null implementation.
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/platform/src/state/Stateful.js", - "linenr": 133, - "html_filename": "Stateful.html", - "href": "Stateful.html#Ext-state-Stateful-event-statesave", - "shortDoc": "Fires after the state of the object is saved to the configured state provider.
\n" - }, - { - "tagname": "event", - "name": "validitychange", - "member": "Ext.form.field.Field", - "doc": "Fires when a change in the field's validity is detected.
\n", - "params": [ - { - "type": "Ext.form.field.Field", - "name": "this", - "doc": "\n", - "optional": false - }, - { - "type": "Boolean", - "name": "isValid", - "doc": "Whether or not the field is now valid
\n", - "optional": false - } - ], - "private": false, - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/Field.js", - "linenr": 87, - "html_filename": "Field.html", - "href": "Field.html#Ext-form-field-Field-event-validitychange", - "shortDoc": "Fires when a change in the field's validity is detected.
\n" - } - ], - "filename": "/Users/nick/Projects/sencha/SDK/extjs/src/form/field/File.js", - "linenr": 1, - "html_filename": "File.html", - "href": "File.html#Ext-form-field-File", - "cssVar": [ - - ], - "cssMixin": [ - - ], - "component": true, - "superclasses": [ - "Ext.AbstractComponent", - "Ext.Component", - "Ext.form.field.Base", - "Ext.form.field.Text" - ], - "subclasses": [ - - ], - "mixedInto": [ - - ], - "allMixins": [ - "Ext.form.Labelable", - "Ext.form.field.Field", - "Ext.util.Floating", - "Ext.util.Observable", - "Ext.util.Animate", - "Ext.state.Stateful" - ] -}); \ No newline at end of file +Ext.data.JsonP.Ext_form_field_File({"tagname":"class","html":"Alternate names
Ext.form.FileUploadFieldExt.ux.form.FileUploadFieldExt.form.FileHierarchy
Mixins
Uses
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\nBecause 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.
IMPORTANT: File uploads are not performed using normal 'Ajax' techniques; see the description for\nExt.form.Basic.hasUpload for details.
\n\nExt.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
\nIf specified, then the component will be displayed with this value as its active error when\nfirst rendered. Use setActiveError or unsetActiveError to\nchange it after component creation.
\nThe template used to format the Array of error messages passed to setActiveErrors\ninto a single HTML string. By default this renders each message as an item in an unordered list.
\nDefaults to: ["<tpl if="errors && errors.length">", "<ul><tpl for="errors"><li<tpl if="xindex == xcount"> class="last"</tpl>>{.}</li></tpl></ul>", "</tpl>"]
Specify false to validate that the value's length is > 0
\nDefaults to: true
A tag name or DomHelper spec used to create the Element which will\nencapsulate this Component.
\n\nYou do not normally need to specify this. For the base classes Ext.Component and\nExt.container.Container, this defaults to 'div'. The more complex Sencha classes use a more\ncomplex DOM structure specified by their own renderTpls.
\n\nThis is intended to allow the developer to create application-specific utility Components encapsulated by\ndifferent DOM elements. Example usage:
\n\n{\n xtype: 'component',\n autoEl: {\n tag: 'img',\n src: 'http://www.example.com/example.jpg'\n }\n}, {\n xtype: 'component',\n autoEl: {\n tag: 'blockquote',\n html: 'autoEl is cool!'\n }\n}, {\n xtype: 'container',\n autoEl: 'ul',\n cls: 'ux-unordered-list',\n items: {\n xtype: 'component',\n autoEl: 'li',\n html: 'First list item'\n }\n}\n
\nWhether to adjust the component's body area to make room for 'side' or 'under'\nerror messages.
\nDefaults to: true
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 omited as if it is true
.
Specify as true
to have this Component render to the document body upon first show.
Specify as an element, or the ID of an element to have this Component render to a specific element upon first\nshow.
\n\nThis defaults to true
for the Window class.
Defaults to: false
true
to use overflow:'auto' on the components layout element and show scroll bars automatically when necessary,\nfalse
to clip any overflowing content.
Defaults to: false
True to automatically show the component upon creation. This config option may only be used for\nfloating components or components that use autoRender. Defaults to false.
\nDefaults to: false
The CSS class to be applied to the body content element.
\nDefaults to: "x-form-item-body"
The base CSS class to apply to this components's element. This will also be prepended to elements within this\ncomponent like Panel's body will get a class x-panel-body. This means that if you create a subclass of Panel, and\nyou want it to get all the Panels styling for the element and the body, you leave the baseCls x-panel and use\ncomponentCls to add specific styling for this component.
\nDefaults to: "x-component"
The error text to display if the allowBlank validation fails
\nDefaults to: "This field is required"
Specifies the border 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'.
\nDefines a timeout in milliseconds for buffering checkChangeEvents that fire in rapid succession.\nDefaults to 50 milliseconds.
\nDefaults to: 50
A list of event names that will be listened for on the field's input element, which will cause\nthe field's value to be checked for changes. If a change is detected, the change event will be\nfired, followed by validation if the validateOnChange option is enabled.
\n\nDefaults to ['change', 'propertychange'] in Internet Explorer, and ['change', 'input', 'textInput', 'keyup',\n'dragdrop'] in other browsers. This catches all the ways that field values can be changed in most supported\nbrowsers; the only known exceptions at the time of writing are:
\n\nIf you need to guarantee on-the-fly change notifications including these edge cases, you can call the\ncheckChange method on a repeating interval, e.g. using Ext.TaskManager, or if the field is within\na Ext.form.Panel, you can use the FormPanel's Ext.form.Panel.pollForChanges configuration to set up\nsuch a task automatically.
\nAn array describing the child elements of the Component. Each member of the array\nis an object with these properties:
\n\nname
- The property name on the Component for the child element.itemId
- The id to combine with the Component's id that is the id of the child element.id
- The id of the child element.If the array member is a string, it is equivalent to { name: m, itemId: m }
.
For example, a Component which renders a title and body text:
\n\nExt.create('Ext.Component', {\n renderTo: Ext.getBody(),\n renderTpl: [\n '<h1 id=\"{id}-title\">{title}</h1>',\n '<p>{msg}</p>',\n ],\n renderData: {\n title: \"Error\",\n msg: \"Something went wrong\"\n },\n childEls: [\"title\"],\n listeners: {\n afterrender: function(cmp){\n // After rendering the component will have a title property\n cmp.title.setStyle({color: \"red\"});\n }\n }\n});\n
\n\nA more flexible, but somewhat slower, approach is renderSelectors.
\nThe CSS class to be applied to the special clearing div rendered directly after the field\ncontents wrapper to provide field clearing.
\nDefaults to: "x-clear"
An optional extra CSS class that will be added to this component's Element. This can be useful\nfor adding customized styles to the component or any of its children using standard CSS rules.
\nDefaults to: ""
CSS Class to be added to a components root level element to give distinction to it via styling.
\nCSS Class to be added to a components root level element to give distinction to it via styling.
\nThe sizing and positioning of a Component's internal Elements is the responsibility of the Component's layout\nmanager which sizes a Component's internal structure in response to the Component being sized.
\n\nGenerally, developers will not use this configuration as all provided Components which need their internal\nelements sizing (Such as input fields) come with their own componentLayout managers.
\n\nThe default layout manager will be used on instances of the base Ext.Component\nclass which simply sizes the Component's encapsulating element to the height and width specified in the\nsetSize method.
\nSpecify an existing HTML element, or the id
of an existing HTML element to use as the content for this component.
This config option is used to take an existing HTML element and place it in the layout element of a new component\n(it simply moves the specified DOM element after the Component is rendered to use as the content.
\n\nNotes:
\n\nThe specified HTML element is appended to the layout element of the component after any configured\nHTML has been inserted, and so the document will not contain this element at the time\nthe render event is fired.
\n\nThe specified HTML element used will not participate in any layout
\nscheme that the Component may use. It is just HTML. Layouts operate on child\nitems
.
Add either the x-hidden
or the x-hide-display
CSS class to prevent a brief flicker of the content before it\nis rendered to the panel.
The CSS class to use when the field value is dirty.
\nDefaults to: "x-form-dirty"
Specify true to disable input keystroke filtering
\nDefaults to: false
True to disable the field. Disabled Fields will not be submitted.
\nDefaults to: false
CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.
\nDefaults to: "x-item-disabled"
Specify as true to make a floating Component draggable using the Component's encapsulating element as\nthe drag handle.
\n\nThis may also be specified as a config object for the ComponentDragger which is\ninstantiated to perform dragging.
\n\nFor example to create a Component which may only be dragged around using a certain internal element as the drag\nhandle, use the delegate option:
\n\nnew Ext.Component({\n constrain: true,\n floating: true,\n style: {\n backgroundColor: '#fff',\n border: '1px solid black'\n },\n html: '<h1 style=\"cursor:move\">The title</h1><p>The content</p>',\n draggable: {\n delegate: 'h1'\n }\n}).show();\n
\nDefaults to: false
The CSS class to apply to an empty field to style the emptyText.\nThis class is automatically added and removed as needed depending on the current field value.
\nDefaults to: "x-form-empty-field"
The default text to place into an empty field.
\n\nNote that normally this value will be submitted to the server if this field is enabled; to prevent this you can\nset the submitEmptyText option of Ext.form.Basic.submit to\nfalse.
\n\nAlso note that if you use inputType:'file', emptyText is not supported and should be\navoided.
\ntrue to enable the proxying of key events for the HTML input field
\nDefaults to: false
True to set the maxLength property on the underlying input field. Defaults to false
\nThe CSS class to be applied to the error message element.
\nDefaults to: "x-form-error-msg"
An extra CSS class to be applied to the body content element in addition to fieldBodyCls.
\nDefaults to: "x-form-file-wrap"
The default CSS class for the field input
\nDefaults to: "x-form-field"
The label for the field. It gets appended with the labelSeparator, and its position\nand sizing is determined by the labelAlign, labelWidth, and labelPad\nconfigs.
\nOptional CSS style(s) to be applied to the field input element. Should be a valid argument to\nExt.Element.applyStyles. Defaults to undefined. See also the setFieldStyle method for changing\nthe style after initialization.
\nThe content of the field body is defined by this config option.
\nDefaults to: ["<input id="{id}" type="{type}" ", "<tpl if="name">name="{name}" </tpl>", "<tpl if="size">size="{size}" </tpl>", "<tpl if="tabIdx">tabIndex="{tabIdx}" </tpl>", "class="{fieldCls} {typeCls}" autocomplete="off" />", {compiled: true, disableFormats: true}]
Specify as true to float the Component outside of the document flow using CSS absolute positioning.
\n\nComponents such as Windows and Menus are floating by default.
\n\nFloating Components that are programatically rendered will register themselves with\nthe global ZIndexManager
\n\nA floating Component may be used as a child item of a Container. This just allows the floating Component to seek\na ZIndexManager by examining the ownerCt chain.
\n\nWhen configured as floating, Components acquire, at render time, a ZIndexManager which\nmanages a stack of related floating Components. The ZIndexManager brings a single floating Component to the top\nof its stack when the Component's toFront method is called.
\n\nThe ZIndexManager is found by traversing up the ownerCt chain to find an ancestor which itself is\nfloating. This is so that descendant floating Components of floating Containers (Such as a ComboBox dropdown\nwithin a Window) can have its zIndex managed relative to any siblings, but always above that floating\nancestor Container.
\n\nIf no floating ancestor is found, a floating Component registers itself with the default ZIndexManager.
\n\nFloating components do not participate in the Container's layout. Because of this, they are not rendered until\nyou explicitly show them.
\n\nAfter rendering, the ownerCt reference is deleted, and the floatParent property is set to the found\nfloating ancestor Container. If no floating ancestor Container was found the floatParent property will\nnot be set.
\nDefaults to: false
The CSS class to use when the field receives focus
\nDefaults to: "x-form-focus"
Specifies whether the floated component should be automatically focused when\nit is brought to the front.
\nDefaults to: true
A CSS class to be applied to the outermost element to denote that it is participating in the form\nfield layout.
\nDefaults to: "x-form-item"
Specify as true
to have the Component inject framing elements within the Component at render time to provide a\ngraphical rounded frame around the Component content.
This is only necessary when running on outdated, or non standard-compliant browsers such as Microsoft's Internet\nExplorer prior to version 9 which do not support rounded corners natively.
\n\nThe extra space taken up by this framing is available from the read only property frameSize.
\ntrue if this field should automatically grow and shrink to its content
\nDefaults to: false
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.
\nDefaults to: "W"
The maximum width to allow when grow = true
Defaults to: 800
The minimum width to allow when grow = true
Defaults to: 30
When set to true, the label element (fieldLabel and labelSeparator) will be\nautomatically hidden if the fieldLabel is empty. Setting this to false will cause the empty\nlabel element to be rendered and space to be reserved for it; this is useful if you want a field without a label\nto line up with other labeled fields in the same form.
\n\n\nIf you wish to unconditionall hide the label even if a non-empty fieldLabel is configured, then set\nthe hideLabel config to true.
\n\nDefaults to: true
Set to true to completely hide the label element (fieldLabel and labelSeparator).\nAlso see hideEmptyLabel, which controls whether space will be reserved for an empty fieldLabel.
\nDefaults to: false
A String which specifies how this Component's encapsulating DOM element will be hidden. Values may be:
\n\n'display'
: The Component will be hidden using the display: none
style.'visibility'
: The Component will be hidden using the visibility: hidden
style.'offsets'
: The Component will be hidden by absolutely positioning it out of the visible area of the document.\nThis is useful when a hidden Component must maintain measurable dimensions. Hiding using display
results in a\nComponent having zero dimensions.Defaults to: "display"
An HTML fragment, or a DomHelper specification to use as the layout element content.\nThe HTML content is added after the component is rendered, so the document will not contain this HTML at the time\nthe render event is fired. This content is inserted into the body before any configured contentEl\nis appended.
\nDefaults to: ""
The unique id of this component instance.
\n\nIt should not be necessary to use this configuration except for singleton objects in your application. Components\ncreated with an id may be accessed globally using Ext.getCmp.
\n\nInstead of using assigned ids, use the itemId config, and ComponentQuery\nwhich provides selector-based searching for Sencha Components analogous to DOM querying. The Container class contains shortcut methods to query\nits descendant Components by selector.
\n\nNote that this id will also be used as the element id for the containing HTML element that is rendered to the\npage for this component. This allows you to write id-based CSS rules to style the specific instance of this\ncomponent uniquely, and also to select sub-elements using this component's id as the parent.
\n\nNote: to avoid complications imposed by a unique id also see itemId
.
Note: to access the container of a Component see ownerCt
.
Defaults to an auto-assigned id.
\nThe id that will be given to the generated input DOM element. Defaults to an automatically generated id. If you\nconfigure this manually, you must make sure it is unique in the document.
\nThe type attribute for input fields -- e.g. radio, text, password, file. The extended types\nsupported by HTML5 inputs (url, email, etc.) may also be used, though using them will cause older browsers to\nfall back to 'text'.
\n\nThe type 'password' must be used to render that field type currently -- there is no separate Ext component for\nthat. You can use Ext.form.field.File which creates a custom-rendered file upload field, but if you want\na plain unstyled file input you can use a BaseField with inputType:'file'.
\nDefaults to: "text"
The CSS class to use when marking the component invalid.
\nDefaults to: "x-form-invalid"
The error text to use when marking a field invalid and no message is provided
\nDefaults to: "The value in this field is invalid"
An itemId can be used as an alternative way to get a reference to a component when no object reference is\navailable. Instead of using an id
with Ext.getCmp, use itemId
with\nExt.container.Container.getComponent which will retrieve\nitemId
's or id's. Since itemId
's are an index to the container's internal MixedCollection, the\nitemId
is scoped locally to the container -- avoiding potential conflicts with Ext.ComponentManager\nwhich requires a unique id
.
var c = new Ext.panel.Panel({ //\n height: 300,\n renderTo: document.body,\n layout: 'auto',\n items: [\n {\n itemId: 'p1',\n title: 'Panel 1',\n height: 150\n },\n {\n itemId: 'p2',\n title: 'Panel 2',\n height: 150\n }\n ]\n})\np1 = c.getComponent('p1'); // not the same as Ext.getCmp()\np2 = p1.ownerCt.getComponent('p2'); // reference via a sibling\n
\n\nAlso see id, Ext.container.Container.query
, Ext.container.Container.down
and\nExt.container.Container.child
.
Note: to access the container of an item see ownerCt.
\nControls the position and alignment of the fieldLabel. Valid values are:
\n\n\nDefaults to: "left"
The CSS class to be applied to the label element.\nThis (single) CSS class is used to formulate the renderSelector and drives the field\nlayout where it is concatenated with a hyphen ('-') and labelAlign. To add\nadditional classes, use labelClsExtra.
\nDefaults to: "x-form-item-label"
An optional string of one or more additional CSS classes to add to the label element.\nDefaults to empty.
\nThe amount of space in pixels between the fieldLabel and the input field.
\nDefaults to: 5
Character(s) to be inserted at the end of the label text.
\nDefaults to: ":"
A CSS style specification string to apply directly to this field's label.
\nA CSS style specification string to apply directly to this field's label.
\nThe width of the fieldLabel in pixels. Only applicable if the labelAlign is set\nto \"left\" or \"right\".
\nDefaults to: 100
The rendering template for the field decorations. Component classes using this mixin should include\nlogic to use this as their renderTpl, and implement the\ngetSubTplMarkup method to generate the field body content.
\nDefaults to: ["<tpl if="!hideLabel && !(!fieldLabel && hideEmptyLabel)">", "<label id="{id}-labelEl"<tpl if="inputId"> for="{inputId}"</tpl> class="{labelCls}"", "<tpl if="labelStyle"> style="{labelStyle}"</tpl>>", "<tpl if="fieldLabel">{fieldLabel}{labelSeparator}</tpl>", "</label>", "</tpl>", "<div class="{baseBodyCls} {fieldBodyCls}" id="{id}-bodyEl" role="presentation">{subTplMarkup}</div>", "<div id="{id}-errorEl" class="{errorMsgCls}" style="display:none"></div>", "<div class="{clearCls}" role="presentation"><!-- --></div>", {compiled: true, disableFormats: true}]
A config object containing one or more event handlers to be added to this object during initialization. This\nshould be a valid listeners config object as specified in the addListener example for attaching multiple\nhandlers at once.
\n\nDOM events from Ext JS Components
\n\nWhile some Ext JS Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this is usually\nonly done when extra value can be added. For example the DataView's itemclick
event passing the node clicked on. To access DOM events directly from a\nchild element of a Component, we need to specify the element
option to identify the Component property to add a\nDOM listener to:
new Ext.panel.Panel({\n width: 400,\n height: 200,\n dockedItems: [{\n xtype: 'toolbar'\n }],\n listeners: {\n click: {\n element: 'el', //bind to the underlying el property on the panel\n fn: function(){ console.log('click el'); }\n },\n dblclick: {\n element: 'body', //bind to the underlying body property on the panel\n fn: function(){ console.log('dblclick body'); }\n }\n }\n});\n
\nA configuration object or an instance of a Ext.ComponentLoader to load remote content for this Component.
\nA configuration object or an instance of a Ext.ComponentLoader to load remote content for this Component.
\nSpecifies the margin for this component. The margin can be a single numeric value to apply to all sides or it can\nbe a CSS style specification for each style, for example: '10 5 3 10'.
\nAn input mask regular expression that will be used to filter keystrokes (character being\ntyped) that do not match.\nNote: It dose not filter characters already in the input.
\nThe maximum value in pixels which this Component will set its height to.
\n\nWarning: This will override any size management applied by layout managers.
\nMaximum input field length allowed by validation (defaults to Number.MAX_VALUE). 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 enforceMaxLength option.
\nError text to display if the maximum length validation fails
\nDefaults to: "The maximum length for this field is {0}"
The maximum value in pixels which this Component will set its width to.
\n\nWarning: This will override any size management applied by layout managers.
\nThe minimum value in pixels which this Component will set its height to.
\n\nWarning: This will override any size management applied by layout managers.
\nError text to display if the minimum length validation fails.
\nDefaults to: "The minimum length for this field is {0}"
The minimum value in pixels which this Component will set its width to.
\n\nWarning: This will override any size management applied by layout managers.
\nThe location where the error message text should display.\nMust be one of the following values:
\n\n\nqtip
Display a quick tip containing the message when the user hovers over the field. This is the default.\ntitle
Display the message in a default browser title attribute popup.under
Add a block div beneath the field containing the error message.side
Add an error icon to the right of the field, displaying the message in a popup on hover.none
Don't display any error message. This might be useful if you are implementing custom error display.[element id]
Add the error message directly to the innerHTML of the specified element.Defaults to: "qtip"
The name of the field. This is used as the parameter name when including the field value\nin a form submit(). If no name is configured, it falls back to the inputId.\nTo prevent the field from being included in the form submit, set submitValue to false.
\nAn optional extra CSS class that will be added to this component's Element when the mouse moves over the Element,\nand removed when the mouse moves out. This can be useful for adding customized 'active' or 'hover' styles to the\ncomponent or any of its children using standard CSS rules.
\nDefaults to: ""
Specifies the padding for this component. The padding can be a single numeric value to apply to all sides or it\ncan be a CSS style specification for each style, for example: '10 5 3 10'.
\nAn object or array of objects that will provide custom functionality for this component. The only requirement for\na valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component\nis created, if any plugins are available, the component will call the init method on each plugin, passing a\nreference to itself. Each plugin can then call methods or respond to events on the component as needed to provide\nits functionality.
\ntrue to disable displaying any error message set on this object.
\nDefaults to: false
Unlike with other form fields, the readOnly config defaults to true in File field.
\nDefaults to: true
The CSS class applied to the component's main element when it is readOnly.
\nDefaults to: "x-form-readonly"
A JavaScript RegExp object to be tested against the field value during validation.\nIf the test fails, the field will be marked invalid using\neither regexText or invalidText.
\nThe error text to display if regex is used and the test fails during validation
\nDefaults to: ""
The data used by renderTpl in addition to the following property values of the component:
\n\nSee renderSelectors and childEls for usage examples.
\nAn object containing properties specifying DomQuery selectors which identify child elements\ncreated by the render process.
\n\nAfter the Component's internal structure is rendered according to the renderTpl, this object is iterated through,\nand the found Elements are added as properties to the Component using the renderSelector
property name.
For example, a Component which renderes a title and description into its element:
\n\nExt.create('Ext.Component', {\n renderTo: Ext.getBody(),\n renderTpl: [\n '<h1 class=\"title\">{title}</h1>',\n '<p>{desc}</p>'\n ],\n renderData: {\n title: \"Error\",\n desc: \"Something went wrong\"\n },\n renderSelectors: {\n titleEl: 'h1.title',\n descEl: 'p'\n },\n listeners: {\n afterrender: function(cmp){\n // After rendering the component will have a titleEl and descEl properties\n cmp.titleEl.setStyle({color: \"red\"});\n }\n }\n});\n
\n\nFor a faster, but less flexible, alternative that achieves the same end result (properties for child elements on the\nComponent after render), see childEls and addChildEls.
\nSpecify the id of the element, a DOM element or an existing Element that this component will be rendered into.
\n\nNotes:
\n\nDo not use this option if the Component is to be a child item of a Container.\nIt is the responsibility of the Container's\nlayout manager to render and manage its child items.
\n\nWhen using this config, a call to render() is not required.
\n\nSee render
also.
An XTemplate used to create the internal structure inside this Component's encapsulating\nElement.
\n\nYou do not normally need to specify this. For the base classes Ext.Component and\nExt.container.Container, this defaults to null
which means that they will be initially rendered\nwith no internal structure; they render their Element empty. The more specialized ExtJS and Touch\nclasses which use a more complex DOM structure, provide their own template definitions.
This is intended to allow the developer to create application-specific utility Components with customized\ninternal structure.
\n\nUpon rendering, any created child elements may be automatically imported into object properties using the\nrenderSelectors and childEls options.
\nDefaults to: null
Specify as true
to apply a Resizer to this Component after rendering.
May also be specified as a config object to be passed to the constructor of Resizer\nto override any defaults. By default the Component passes its minimum and maximum size, and uses\nExt.resizer.Resizer.dynamic: false
A valid Ext.resizer.Resizer handles config string. Only applies when resizable = true.
\nDefaults to: "all"
A buffer to be applied if many state events are fired within a short period.
\nDefaults to: 100
true to automatically select any existing field text when the field receives input focus
\nDefaults to: false
Specifies whether the floating component should be given a shadow. Set to true to automatically create an Ext.Shadow, or a string indicating the shadow's display Ext.Shadow.mode. Set to false to disable the\nshadow.
\nDefaults to: "sides"
An initial value for the 'size' attribute on the text input element. This is only used if the field has no\nconfigured width and is not given a width by its container's layout. Defaults to 20.
\nDefaults to: 20
An array of events that, when fired, should trigger this object to\nsave its state. Defaults to none. stateEvents
may be any type\nof event supported by this object, including browser or custom events\n(e.g., ['click', 'customerchange']).
See stateful
for an explanation of saving and\nrestoring object state.
The unique id for this object to use for state management purposes.
\n\nSee stateful for an explanation of saving and restoring state.
\n\nA flag which causes the object to attempt to restore the state of\ninternal properties from a saved state on startup. The object must have\na stateId
for state to be managed.\nAuto-generated ids are not guaranteed to be stable across page loads and\ncannot be relied upon to save and restore the same state for a object.
\n
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.
\nTo set the state provider for the current page:
\nExt.state.Manager.setProvider(new Ext.state.CookieProvider({\n expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now\n}));\n
\nA stateful object attempts to save state when one of the events\nlisted in the stateEvents
configuration fires.
To save state, a stateful object first serializes its state by\ncalling getState
. By default, this function does\nnothing. The developer must provide an implementation which returns an\nobject hash which represents the restorable state of the object.
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
.
During construction, a stateful object attempts to restore\nits state by calling Ext.state.Manager.get passing the\nstateId
The resulting object is passed to applyState
.\nThe default implementation of applyState
simply copies\nproperties into the object, but a developer may override this to support\nmore behaviour.
You can perform extra processing on state save and restore by attaching\nhandlers to the beforestaterestore, staterestore,\nbeforestatesave and statesave events.
\n\nDefaults to: true
A JavaScript RegExp object used to strip unwanted content from the value\nbefore validation. If stripCharsRe is specified,\nevery character matching stripCharsRe will be removed before fed to validation.\nThis does not change the value of the field.
\nA custom style specification to be applied to this component's Element. Should be a valid argument to\nExt.Element.applyStyles.
\n\nnew Ext.panel.Panel({\n title: 'Some Title',\n renderTo: Ext.getBody(),\n width: 400, height: 300,\n layout: 'form',\n items: [{\n xtype: 'textarea',\n style: {\n width: '95%',\n marginBottom: '10px'\n }\n },\n new Ext.button.Button({\n text: 'Send',\n minWidth: '100',\n style: {\n marginBottom: '10px'\n }\n })\n ]\n});\n
\nThe class that is added to the content target when you set styleHtmlContent to true.
\nDefaults to: "x-html"
True to automatically style the html inside the content target of this component (body for panels).
\nDefaults to: false
Setting this to false will prevent the field from being submitted even when it is\nnot disabled.
\nDefaults to: true
The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via\napplyTo
\nAn Ext.Template, Ext.XTemplate or an array of strings to form an Ext.XTemplate. Used in\nconjunction with the data
and tplWriteMode
configurations.
The Ext.(X)Template method to use when updating the content area of the Component.\nSee Ext.XTemplate.overwrite
for information on default mode.
Defaults to: "overwrite"
A set style for a component. Can be a string or an Array of multiple strings (UIs)
\nDefaults to: "default"
Whether the field should validate when it loses focus. This will cause fields to be validated\nas the user steps through the fields in the form regardless of whether they are making changes to those fields\nalong the way. See also validateOnChange.
\nDefaults to: true
Specifies whether this field should be validated immediately whenever a change in its value is detected.\nIf the validation results in a change in the field's validity, a validitychange event will be\nfired. This allows the field to show feedback about the validity of its contents immediately as the user is\ntyping.
\n\nWhen set to false, feedback will not be immediate. However the form will still be validated before submitting if\nthe clientValidation option to Ext.form.Basic.doAction is enabled, or if the field or form are validated\nmanually.
\n\nSee also Ext.form.field.Base.checkChangeEvents for controlling how changes to the field's value are\ndetected.
\nDefaults to: true
A custom validation function to be called during field validation (getErrors).\nIf specified, this function will be called first, allowing the developer to override the default validation\nprocess.
\n\nThis function will be passed the following parameters:
\nThe current field value
\nA validation type name as defined in Ext.form.field.VTypes
\nA validation type name as defined in Ext.form.field.VTypes
\nThe xtype
configuration option can be used to optimize Component creation and rendering. It serves as a\nshortcut to the full componet name. For example, the component Ext.button.Button
has an xtype of button
.
You can define your own xtype on a custom component by specifying the\nalias config option with a prefix of widget
. For example:
Ext.define('PressMeButton', {\n extend: 'Ext.button.Button',\n alias: 'widget.pressmebutton',\n text: 'Press Me'\n})\n
\n\nAny Component can be created implicitly as an object config with an xtype specified, allowing it to be\ndeclared and passed into the rendering pipeline without actually being instantiated as an object. Not only is\nrendering deferred, but the actual creation of the object itself is also deferred, saving memory and resources\nuntil they are actually needed. In complex, nested layouts containing many Components, this can make a\nnoticeable improvement in performance.
\n\n// Explicit creation of contained Components:\nvar panel = new Ext.Panel({\n ...\n items: [\n Ext.create('Ext.button.Button', {\n text: 'OK'\n })\n ]\n};\n\n// Implicit creation using xtype:\nvar panel = new Ext.Panel({\n ...\n items: [{\n xtype: 'button',\n text: 'OK'\n }]\n};\n
\n\nIn the first example, the button will always be created immediately during the panel's initialization. With\nmany added Components, this approach could potentially slow the rendering of the page. In the second example,\nthe button will not be created or rendered until the panel is actually displayed in the browser. If the panel\nis never displayed (for example, if it is a tab that remains hidden) then the button will never be created and\nwill never consume any resources whatsoever.
\nThe div Element wrapping the component's contents. Only available after the component has been rendered.
\nRead-only property indicating whether or not the component can be dragged
\nRead-only property indicating whether or not the component can be dragged
\nThe div Element that will contain the component's error message(s). Note that depending on the\nconfigured msgTarget, this element may be hidden in favor of some other form of\npresentation, but will always be present in the DOM for use by assistive technologies.
\nA reference to the invisible file input element created for this upload field. Only populated after this\ncomponent is rendered.
\nOnly present for floating Components which were inserted as descendant items of floating Containers.
\n\nFloating Components that are programatically rendered will not have a floatParent
\nproperty.
For floating Components which are child items of a Container, the floatParent will be the 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\nFor example, the dropdown BoundList of a ComboBox which is in a Window will have the\nWindow as its floatParent
See floating and zIndexManager
\nRead-only property indicating the width of any framing elements which were added within the encapsulating element\nto provide graphical, rounded borders. See the frame config.
\n\nThis is an object containing the frame width in pixels for all four sides of the Component containing the\nfollowing properties:
\nThe input Element for this Field. Only available after the field has been rendered.
\nFlag denoting that this object is labelable as a field. Always true.
\nFlag denoting that this component is a Field. Always true.
\nThe label Element for this component. Only available after the component has been rendered.
\nThis is an internal flag that you use when creating custom components. By default this is set to true which means\nthat every component gets a mask when its disabled. Components like FieldContainer, FieldSet, Field, Button, Tab\noverride this property to false since they want to implement custom disable logic.
\nThe 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
.
Read-only property indicating whether or not the component has been rendered.
\nRead-only property indicating whether or not the component has been rendered.
\nGet the reference to the current class from which this object was instantiated. Unlike statics,\nthis.self
is scope-dependent and it's meant to be used for dynamic inheritance. See statics\nfor a detailed comparison
Ext.define('My.Cat', {\n statics: {\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n alert(this.self.speciesName); / dependent on 'this'\n\n return 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
\nOnly present for floating Components after they have been rendered.
\n\nA reference to the ZIndexManager which is managing this Component's z-index.
\n\nThe ZIndexManager maintains a stack of floating Component z-indices, and also provides\na single modal mask which is insert just beneath the topmost visible modal floating Component.
\n\nFloating Components may be brought to the front or sent to the back of the\nz-index stack.
\n\nThis defaults to the global ZIndexManager for floating Components that are\nprogramatically rendered.
\n\nFor floating Components which are added to a Container, the ZIndexManager is acquired from the first\nancestor Container found which is floating, or if not found the global ZIndexManager is\nused.
\n\nSee floating and floatParent
\nCreates new Component.
\nThe configuration options may be specified as either:
\n\nAdds each argument passed to this method to the childEls array.
\nAdds a CSS class to the top level element representing this component.
\nThe CSS class name to add
\nReturns the Component to allow method chaining.
\nAdds a CSS class to the top level element representing this component.
\nThe CSS class name to add
\nReturns the Component to allow method chaining.
\nAdds a cls to the uiCls array, which will also call addUIClsToElement and adds to all elements of this\ncomponent.
\nAdds the specified events to the list of events which this Observable may fire.
\nEither an object with event names as properties with a value of true
or the first\nevent name string if multiple event names are being passed as separate parameters. Usage:
this.addEvents({\n storeloaded: true,\n storecleared: true\n});\n
\nAdditional event names if multiple event names are being passed as separate\nparameters. Usage:
\n\nthis.addEvents('storeloaded', 'storecleared');\n
\nAppends an event handler to this object.
\nThe name of the event to listen for. May also be an object who's property names are\nevent names.
\n\nThe method the event invokes. Will be called with arguments given to\nfireEvent plus the options
parameter described below.
The scope (this
reference) in which the handler function is executed. If\nomitted, defaults to the object which fired the event.
An object containing handler configuration.
\n\n\n\n\nNote: Unlike in ExtJS 3.x, the options object will also be passed as the last argument to every event handler.
\n\n\n\n\nThis object may contain any of the following properties:
\n\n\n\n\nscope : Object
\n\nThe scope (this
reference) in which the handler function is executed. If omitted, defaults to the object\nwhich fired the event.
delay : Number
\n\nThe number of milliseconds to delay the invocation of the handler after the event fires.
single : Boolean
\n\nTrue to add a handler to handle just the next firing of the event, and then remove itself.
buffer : Number
\n\nCauses the handler to be scheduled to run in an Ext.util.DelayedTask delayed by the specified number of\nmilliseconds. If the event fires again within that time, the original handler is not invoked, but the new\nhandler is scheduled in its place.
target : Observable
\n\nOnly call the handler if the event was fired on the target Observable, not if the event was bubbled up from a\nchild Observable.
element : String
\n\nThis option is only valid for listeners bound to Components. The name of a Component\nproperty which references an element to add a listener to.
\n\nThis option is useful during Component construction to add DOM event listeners to elements of\nComponents which will exist only after the Component is rendered.\nFor example, to add a click listener to a Panel's body:
\n\nnew Ext.panel.Panel({\n title: 'The title',\n listeners: {\n click: this.handlePanelClick,\n element: 'body'\n }\n});\n
Combining Options
\n\n\n\n\nUsing the options argument, it is possible to combine different types of listeners:
\n\n\n\n\nA delayed, one-time listener.
\n\n\n\n\nmyPanel.on('hide', this.handleClick, this, {\n single: true,\n delay: 100\n});\n
\n\n\n\n\nAttaching multiple handlers in 1 call
\n\n\n\n\nThe method also allows for a single argument to be passed which is a config object containing properties which\nspecify multiple events. For example:
\n\n\n\n\nmyGridPanel.on({\n cellClick: this.onCellClick,\n mouseover: this.onMouseOver,\n mouseout: this.onMouseOut,\n scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n
\n\n\n\n\nOne can also specify options for each event handler separately:
\n\n\n\n\nmyGridPanel.on({\n cellClick: {fn: this.onCellClick, scope: this, single: true},\n mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n
\n\nAdds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestroyed.
\nThe item to which to add a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
If the ename
parameter was an event name, this is the\naddListener options.
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.
\nThe UI to remove from the element
\nOccurs after componentLayout is run.
\nThe box-adjusted width that was set
\nThe box-adjusted height that was set
\nWhether or not the height/width are stored on the component permanently
\nContainer requesting the layout. Only used when isSetSize is false.
\nAligns this floating Component to the specified element
\nThe element or Ext.Component to align to. If passing a component, it must be a\nomponent instance. If a string id is passed, it will be used as an element id.
\nThe position to align to (see Ext.Element.alignTo for more details).
\nDefaults to: "tl-bl?"
Offset the positioning by [x, y]
\nthis
\nPerform custom animation on this object.
\n
This method is applicable to both the Component class and the Element class.\nIt performs animated transitions of certain properties of this object over a specified timeline.
\nThe sole parameter is an object which specifies start property values, end property values, and properties which\ndescribe the timeline. Of the properties listed below, only to
is mandatory.
Properties include
from
to
duration
easing
\n- ease
\n- easeIn
\n- easeOut
\n- easeInOut
\n- backIn
\n- backOut
\n- elasticIn
\n- elasticOut
\n- bounceIn
\n- bounceOut
\n
keyframes
listeners
beforeanimate
event or the afteranimate
event.from
, to
, and keyframe
objects:x
y
left
left
value. Units must be supplied.top
top
value. Units must be supplied.width
width
value. Units must be supplied.height
height
value. Units must be supplied.scrollLeft
scrollLeft
value.scrollTop
scrollLeft
value.opacity
opacity
value. This must be a value between 0
and 1
.Be aware than animating an Element which is being used by an Ext Component without in some way informing the Component about the changed element state\nwill result in incorrect Component behaviour. This is because the Component will be using the old state of the element. To avoid this problem, it is now possible to\ndirectly animate certain properties of Components.
\nfrom
, to
, and keyframe
objects:x
y
left
left
value in pixels.top
top
value in pixels.width
width
value in pixels.width
width
value in pixels.dynamic
For example, to animate a Window to a new size, ensuring that its internal layout, and any shadow is correct:
\nmyWindow = Ext.create('Ext.window.Window', {\n title: 'Test Component animation',\n width: 500,\n height: 300,\n layout: {\n type: 'hbox',\n align: 'stretch'\n },\n items: [{\n title: 'Left: 33%',\n margins: '5 0 5 5',\n flex: 1\n }, {\n title: 'Left: 66%',\n margins: '5 5 5 5',\n flex: 2\n }]\n});\nmyWindow.show();\nmyWindow.header.el.on('click', function() {\n myWindow.animate({\n to: {\n width: (myWindow.getWidth() == 500) ? 700 : 500,\n height: (myWindow.getHeight() == 300) ? 400 : 300,\n }\n });\n});\n
\nFor performance reasons, by default, the internal layout is only updated when the Window reaches its final \"to\"
size. If dynamic updating of the Window's child\nComponents is required, then configure the animation with dynamic: true
and the two child items will maintain their proportions during the animation.
An object containing properties which describe the animation's start and end states, and the timeline of the animation.
\nthis
\nApplies the state to the object. This should be overridden in subclasses to do\nmore complex state operations. By default it applies the state properties onto\nthe current object.
\nThe state
\nA utility for grouping a set of modifications which may trigger value changes into a single transaction, to\nprevent excessive firing of change events. This is useful for instance if the field has sub-fields which\nare being updated as a group; you don't want the container field to check its own changed state for each subfield\nchange.
\nA function containing the transaction code
\nOccurs before componentLayout is run. Returning false from this method will prevent the componentLayout from\nbeing executed.
\nThe box-adjusted width that was set
\nThe box-adjusted height that was set
\nWhether or not the height/width are stored on the component permanently
\nContainer requesting sent the layout. Only used when isSetSize is false.
\nBubbles up the component/container heirarchy, calling the specified function with each component. The scope\n(this) of function call will be the scope provided or the current component. The arguments to the function will\nbe the args provided or the current component. If the function returns false at any point, the bubble is stopped.
\nThe function to call
\nThe scope of the function. Defaults to current node.
\nThe args to call the function with. Defaults to passing the current component.
\nthis
\nCall the original method that was previously overridden with override
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\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
\nThe arguments, either an array or the arguments
object
Returns the result after calling the overridden method
\nCall the parent's overridden method. For example:
\n\nExt.define('My.own.A', {\n constructor: function(test) {\n alert(test);\n }\n});\n\nExt.define('My.own.B', {\n extend: 'My.own.A',\n\n constructor: function(test) {\n alert(test);\n\n this.callParent([test + 1]);\n }\n});\n\nExt.define('My.own.C', {\n extend: 'My.own.B',\n\n constructor: function() {\n alert(\"Going to call parent's overriden constructor...\");\n\n this.callParent(arguments);\n }\n});\n\nvar a = new My.own.A(1); // alerts '1'\nvar b = new My.own.B(1); // alerts '1', then alerts '2'\nvar c = new My.own.C(2); // alerts \"Going to call parent's overriden constructor...\"\n // alerts '2', then alerts '3'\n
\nThe arguments, either an array or the arguments
object\nfrom the current method, for example: this.callParent(arguments)
Returns the result from the superclass' method
\nChecks whether the value of the field has changed since the last time it was checked.\nIf the value has changed, it:
\n\nChecks the isDirty state of the field and if it has changed since the last time it was checked,\nfires the dirtychange event.
\nClear any invalid styles/messages for this field.
\n\nNote: this method does not cause the Field's validate or isValid methods to return true
\nif the value does not pass validation. So simply clearing a field's errors will not necessarily allow\nsubmission of forms submitted with the Ext.form.action.Submit.clientValidation option set.
Removes all listeners for this object including the managed listeners
\nClone the current component using the original config values passed into this instance by default.
\nA new config containing any properties to override in the cloned version.\nAn id property can be passed on this object, otherwise one will be generated to avoid duplicates.
\nclone The cloned copy of this component
\nEnsures that the plugins array contains fully constructed plugin instances. This converts any configs into their\nappropriate instances.
\nDisable the component.
\nPassing true will supress the 'disable' event from being fired.
\nDefaults to: false
Handles autoRender. Floating Components may have an ownerCt. If they are asking to be constrained, constrain them\nwithin that ownerCt, and have their z-index managed locally. Floating Components are always rendered to\ndocument.body
\nThis method needs to be called whenever you change something on this component that requires the Component's\nlayout to be recalculated.
\nthis
\nMoves this floating Component into a constrain region.
\n\nBy default, this Component is constrained to be within the container it was added to, or the element it was\nrendered to.
\n\nAn alternative constraint may be passed.
\nThe Element or Region into which this Component is\nto be constrained. Defaults to the element into which this floating Component was rendered.
\nEnable the component
\nPassing true will supress the 'enable' event from being fired.
\nDefaults to: false
Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget()
if\npresent. There is no implementation in the Observable base class.
This is commonly used by Ext.Components to bubble events to owner Containers.\nSee Ext.Component.getBubbleTarget. The default implementation in Ext.Component returns the\nComponent's immediate owner. But if a known target is required, this can be overridden to access the\nrequired target more quickly.
\n\nExample:
\n\nExt.override(Ext.form.field.Base, {\n // Add functionality to Field's initComponent to enable the change event to bubble\n initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {\n this.enableBubble('change');\n }),\n\n // We know that we want Field's events to bubble directly to the FormPanel.\n getBubbleTarget : function() {\n if (!this.formPanel) {\n this.formPanel = this.findParentByType('form');\n }\n return this.formPanel;\n }\n});\n\nvar myForm = new Ext.formPanel({\n title: 'User Details',\n items: [{\n ...\n }],\n listeners: {\n change: function() {\n // Title goes red if form has been modified.\n myForm.header.setStyle('color', 'red');\n }\n }\n});\n
\nOnly 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.
\nThis method finds the topmost active layout who's processing will eventually determine the size and position of\nthis Component.
\n\nThis method is useful when dynamically adding Components into Containers, and some processing must take place\nafter the final sizing and positioning of the Component has been performed.
\nFind a container above this component at any level by a custom function. If the passed function returns true, the\ncontainer will be returned.
\nThe custom function to call with the arguments (container, this component).
\nThe first Container for which the custom function returns true
\nFind a container above this component at any level by xtype or class
\n\nSee also the up method.
\nThe first Container which matches the given xtype or class
\nFires the specified event with the passed parameters (minus the event name, plus the options
object passed\nto addListener).
An event may be set to bubble up an Observable parent hierarchy (See Ext.Component.getBubbleTarget) by\ncalling enableBubble.
\nThe name of the event to fire.
\nVariable number of parameters are passed to handlers.
\nreturns false if any of the handlers return false otherwise it returns true.
\nTry to focus this component.
\nIf applicable, true to also select the text in this component
\nDelay the focus this number of milliseconds (true for 10 milliseconds).
\nthis
\nForces this component to redo its componentLayout.
\nReturns the current animation if this object has any effects actively running or queued, else returns false.
\nAnim if element has active effects, else false
\n\nGets the active error message for this component, if any. This does not trigger\nvalidation on its own, it merely returns any message that the component may already hold.
\nThe active error message on the component; if there is no error, an empty string is returned.
\nGets an Array of any active error messages currently applied to the field. This does not trigger\nvalidation on its own, it merely returns any messages that the component may already hold.
\nThe active error messages on the component; if there are no errors, an empty Array is returned.
\nTo get the natural width of the inputEl, we do a simple calculation based on the 'size' config. We use\nhard-coded numbers to approximate what browsers do natively, to avoid having to read any styles which would hurt\nperformance. Overrides Labelable method.
\nProvides the link for Observable's fireEvent method to bubble up the ownership hierarchy.
\nthe Container which owns this Component.
\nValidates a value according to the field's validation rules and returns an array of errors\nfor any failing validations. Validation rules are processed in the following order:
\n\nField specific validator
\n\n A validator offers a way to customize and reuse a validation specification.\n If a field is configured with a validator
\n function, it will be passed the current field value. The validator
\n function is expected to return either:
true
if the value is valid (validation continues).Basic Validation
\n\n If the validator
has not halted validation,\n basic validation proceeds as follows:
allowBlank
: (Invalid message = emptyText
)
Depending on the configuration of allowBlank
, a\n blank field will cause validation to halt at this step and return\n Boolean true or false accordingly.
minLength
: (Invalid message = minLengthText
)
If the passed value does not satisfy the minLength
\n specified, validation halts.
maxLength
: (Invalid message = maxLengthText
)
If the passed value does not satisfy the maxLength
\n specified, validation halts.
Preconfigured Validation Types (VTypes)
\n\n If none of the prior validation steps halts validation, a field\n configured with a vtype
will utilize the\n corresponding VTypes validation function.\n If invalid, either the field's vtypeText
or\n the VTypes vtype Text property will be used for the invalid message.\n Keystrokes on the field will be filtered according to the VTypes\n vtype Mask property.
Field specific regex test
\n\n If none of the prior validation steps halts validation, a field's\n configured regex
test will be processed.\n The invalid message for this test is configured with regexText
The value to validate. The processed raw value will be used if nothing is passed.
\nArray of any validation errors
\nReturns the label for the field. Defaults to simply returning the fieldLabel config. Can be\noverridden to provide
\nThe configured field label, or empty string if not defined
\nRetrieves the id of this component. Will autogenerate an id if one has not already been set.
\nReturns the input id for this field. If none was specified via the inputId config, then an id will be\nautomatically generated.
\nThis function takes the position argument passed to onRender and returns a DOM element that you can use in the\ninsertBefore.
\nIndex, element id or element you want to put this\ncomponent before.
\nDOM element that you can use in the insertBefore
\nGenerates the arguments for the field decorations rendering template.
\nThe template arguments
\nGets the Ext.ComponentLoader for this Component.
\nThe loader instance, null if it doesn't exist.
\nReturns the value(s) that should be saved to the Ext.data.Model instance for this field, when Ext.form.Basic.updateRecord is called. Typically this will be an object with a single name-value pair, the name\nbeing this field's name and the value being its current data value. More advanced field\nimplementations may return more than one name-value pair. The returned values will be saved to the corresponding\nfield names in the Model.
\n\nNote that the values returned from this method are not guaranteed to have been successfully validated.
\nA mapping of submit parameter names to values; each value should be a string, or an array of\nstrings if that particular name has multiple values. It can also return null if there are no parameters to be\nsubmitted.
\nReturns the name attribute of the field. This is used as the parameter name\nwhen including the field value in a form submit().
\nRetrieves a plugin by its pluginId which has been bound to this component.
\nplugin instance.
\nReturns the raw String value of the field, without performing any normalization, conversion, or validation. Gets\nthe current value of the input element if the field has been rendered, ignoring the value if it is the\nemptyText. To get a normalized and converted value see getValue.
\nThe raw String value of the field
\nGets the current size of the component's underlying element.
\nAn object containing the element's size {width: (element width), height: (element height)}
\nThe supplied default state gathering method for the AbstractComponent class.
\n\nThis method returns dimension settings such as flex
, anchor
, width
and height
along with collapsed
\nstate.
Subclasses which implement more complex state should call the superclass's implementation, and apply their state\nto the result if this basic state is to be saved.
\n\nNote that Component state will only be saved if the Component has a stateId and there as a StateProvider\nconfigured for the document.
\nCreates and returns the data object to be used when rendering the fieldSubTpl.
\nThis is a template method. A hook into the functionality of this class.Feel free to override it in child classes.
The template data
\nGets the markup to be inserted into the outer template's bodyEl. For fields this is the actual input element.
\nReturns the parameter(s) that would be included in a standard form submit for this field. Typically this will be\nan object with a single name-value pair, the name being this field's name and the value being\nits current stringified value. More advanced field implementations may return more than one name-value pair.
\n\nNote that the values returned from this method are not guaranteed to have been successfully validated.
\nA mapping of submit parameter names to values; each value should be a string, or an array of\nstrings if that particular name has multiple values. It can also return null if there are no parameters to be\nsubmitted.
\nReturns the value that would be included in a standard form submit for this field. This will be combined with the\nfield's name to form a name=value pair in the submitted parameters. If an empty string is\nreturned then just the name= will be submitted; if null is returned then nothing will be submitted.
\n\nNote that the value returned will have been processed but may or may not have been\nsuccessfully validated.
\nThe value to be submitted, or null.
\nReturns the current data value of the field. The type of value returned is particular to the type of the\nparticular field (e.g. a Date object for Ext.form.field.Date), as the result of calling rawToValue on\nthe field's processed String value. To return the raw String value, see getRawValue.
\nvalue The field value
\nGets the xtype for this component as registered with Ext.ComponentManager. For a list of all available\nxtypes, see the Ext.Component header. Example usage:
\n\nvar t = new Ext.form.field.Text();\nalert(t.getXType()); // alerts 'textfield'\n
\nThe xtype
\nReturns this Component's xtype hierarchy as a slash-delimited string. For a list of all available xtypes, see the\nExt.Component header.
\n\nIf using your own subclasses, be aware that a Component must register its own xtype to participate in\ndetermination of inherited xtypes.
\n\nExample usage:
\n\nvar t = new Ext.form.field.Text();\nalert(t.getXTypes()); // alerts 'component/field/textfield'\n
\nThe xtype hierarchy string
\nTells whether the field currently has an active error message. This does not trigger\nvalidation on its own, it merely looks for any message that the component may already hold.
\nReturns the current animation if this object has any effects actively running or queued, else returns false.
\nThis method has been deprecated since 4.0
Replaced by getActiveAnimation
\nAnim if element has active effects, else false
\n\nHides this Component, setting it to invisible using the configured hideMode.
\nA callback function to call after the Component is hidden.
\nThe scope (this
reference) in which the callback is executed.\nDefaults to this Component.
this
\nThe initComponent template method is an important initialization step for a Component. It is intended to be\nimplemented by each subclass of Ext.Component to provide any needed constructor logic. The\ninitComponent method of the class being created is called first, with each initComponent method\nup the hierarchy to Ext.Component being called thereafter. This makes it easy to implement and,\nif needed, override the constructor logic of the Component at any step in the hierarchy.
\n\nThe initComponent method must contain a call to callParent in order\nto ensure that the parent class' initComponent method is also called.
\n\nThe following example demonstrates using a dynamic string for the text of a button at the time of\ninstantiation of the class.
\n\nExt.define('DynamicButtonText', {\n extend: 'Ext.button.Button',\n\n initComponent: function() {\n this.text = new Date();\n this.renderTo = Ext.getBody();\n this.callParent();\n }\n});\n\nExt.onReady(function() {\n Ext.create('DynamicButtonText');\n});\n
\nThis is a template method. A hook into the functionality of this class.Feel free to override it in child classes.
Initialize configuration for this class. a typical example:
\n\nExt.define('My.awesome.Class', {\n // The default config\n config: {\n name: 'Awesome',\n isAwesome: true\n },\n\n constructor: function(config) {\n this.initConfig(config);\n\n return this;\n }\n});\n\nvar awesome = new My.awesome.Class({\n name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n
\nmixins The mixin prototypes as key - value pairs
\nInitializes this Field mixin on the current instance. Components using this mixin should call this method during\ntheir own initialization process.
\nPerforms initialization of this mixin. Component classes using this mixin should call this method\nduring their own initialization.
\nInitializes the field's value based on the initial config.
\nDetermines whether this component is the descendant of a particular container.
\nTrue if it is.
\nReturns true if the value of this Field has been changed from its originalValue.\nWill always return false if the field is disabled.
\n\nNote that if the owning form was configured with\ntrackResetOnLoad then the originalValue is updated when\nthe values are loaded by Ext.form.Basic.setValues.
\nTrue if this field has been changed from its original value (and is not disabled),\nfalse otherwise.
\nMethod to determine whether this Component is currently disabled.
\nthe disabled state of this Component.
\nMethod to determine whether this Component is draggable.
\nthe draggable state of this component.
\nMethod to determine whether this Component is droppable.
\nthe droppable state of this component.
\nReturns whether this Field is a file upload field; if it returns true, forms will use special techniques for\nsubmitting the form via AJAX. See Ext.form.Basic.hasUpload for details. If\nthis returns true, the extractFileInput method must also be implemented to return the corresponding file\ninput element.
\nMethod to determine whether this Component is floating.
\nthe floating state of this component.
\nMethod to determine whether this Component is currently set to hidden.
\nthe hidden state of this Component.
\nReturns whether or not the field value is currently valid by validating the\nprocessed raw value of the field. Note: disabled fields are\nalways treated as valid.
\nTrue if the value is valid, else false
\nReturns true if this component is visible.
\nPass true
to interrogate the visibility status of all parent Containers to\ndetermine whether this Component is truly visible to the user.
Generally, to determine whether a Component is hidden, the no argument form is needed. For example when creating\ndynamically laid out UIs in a hidden Container before showing them.
\nDefaults to: false
True if this component is visible, false otherwise.
\nTests whether or not this Component is of a specific xtype. This can test whether this Component is descended\nfrom the xtype (default) or whether it is directly of the xtype specified (shallow = true).
\n\nIf using your own subclasses, be aware that a Component must register its own xtype to participate in\ndetermination of inherited xtypes.
\n\nFor a list of all available xtypes, see the Ext.Component header.
\n\nExample usage:
\n\nvar t = new Ext.form.field.Text();\nvar isText = t.isXType('textfield'); // true\nvar isBoxSubclass = t.isXType('field'); // true, descended from Ext.form.field.Base\nvar isBoxInstance = t.isXType('field', true); // false, not a direct Ext.form.field.Base instance\n
\nThe xtype to check for this Component
\nTrue to check whether this Component is directly of the specified xtype, false to\ncheck whether this Component is descended from the xtype.
\nDefaults to: false
True if this component descends from the specified xtype, false otherwise.
\nDisplay one or more error messages associated with this field, using msgTarget to determine how to\ndisplay the messages and applying invalidCls to the field's UI element.
\n\nNote: this method does not cause the Field's validate or isValid methods to return false
\nif the value does pass validation. So simply marking a Field as invalid will not prevent submission of forms\nsubmitted with the Ext.form.action.Submit.clientValidation option set.
Shorthand for addManagedListener.
\n\nAdds listeners to any Observable object (or Ext.Element) which are automatically removed when this Component is\ndestroyed.
\nThe item to which to add a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
If the ename
parameter was an event name, this is the\naddListener options.
Shorthand for removeManagedListener.
\n\nRemoves listeners that were added by the mon method.
\nThe item from which to remove a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
Returns the next node in the Component tree in tree traversal order.
\n\nNote that this is not limited to siblings, and if invoked upon a node with no matching siblings, will walk the\ntree to attempt to find a match. Contrast with nextSibling.
\nA ComponentQuery selector to filter the following nodes.
\nThe next node (or the next node which matches the selector).\nReturns null if there is no matching node.
\nReturns the next sibling of this Component.
\n\nOptionally selects the next sibling which matches the passed ComponentQuery selector.
\n\nMay also be refered to as next()
Note that this is limited to siblings, and if no siblings of the item match, null
is returned. Contrast with\nnextNode
A ComponentQuery selector to filter the following items.
\nThe next sibling (or the next sibling which matches the selector).\nReturns null if there is no matching sibling.
\nShorthand for addListener.
\n\nAppends an event handler to this object.
\nThe name of the event to listen for. May also be an object who's property names are\nevent names.
\n\nThe method the event invokes. Will be called with arguments given to\nfireEvent plus the options
parameter described below.
The scope (this
reference) in which the handler function is executed. If\nomitted, defaults to the object which fired the event.
An object containing handler configuration.
\n\n\n\n\nNote: Unlike in ExtJS 3.x, the options object will also be passed as the last argument to every event handler.
\n\n\n\n\nThis object may contain any of the following properties:
\n\n\n\n\nscope : Object
\n\nThe scope (this
reference) in which the handler function is executed. If omitted, defaults to the object\nwhich fired the event.
delay : Number
\n\nThe number of milliseconds to delay the invocation of the handler after the event fires.
single : Boolean
\n\nTrue to add a handler to handle just the next firing of the event, and then remove itself.
buffer : Number
\n\nCauses the handler to be scheduled to run in an Ext.util.DelayedTask delayed by the specified number of\nmilliseconds. If the event fires again within that time, the original handler is not invoked, but the new\nhandler is scheduled in its place.
target : Observable
\n\nOnly call the handler if the event was fired on the target Observable, not if the event was bubbled up from a\nchild Observable.
element : String
\n\nThis option is only valid for listeners bound to Components. The name of a Component\nproperty which references an element to add a listener to.
\n\nThis option is useful during Component construction to add DOM event listeners to elements of\nComponents which will exist only after the Component is rendered.\nFor example, to add a click listener to a Panel's body:
\n\nnew Ext.panel.Panel({\n title: 'The title',\n listeners: {\n click: this.handlePanelClick,\n element: 'body'\n }\n});\n
Combining Options
\n\n\n\n\nUsing the options argument, it is possible to combine different types of listeners:
\n\n\n\n\nA delayed, one-time listener.
\n\n\n\n\nmyPanel.on('hide', this.handleClick, this, {\n single: true,\n delay: 100\n});\n
\n\n\n\n\nAttaching multiple handlers in 1 call
\n\n\n\n\nThe method also allows for a single argument to be passed which is a config object containing properties which\nspecify multiple events. For example:
\n\n\n\n\nmyGridPanel.on({\n cellClick: this.onCellClick,\n mouseover: this.onMouseOver,\n mouseout: this.onMouseOut,\n scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n
\n\n\n\n\nOne can also specify options for each event handler separately:
\n\n\n\n\nmyGridPanel.on({\n cellClick: {fn: this.onCellClick, scope: this, single: true},\n mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n
\n\nReturns the previous node in the Component tree in tree traversal order.
\n\nNote that this is not limited to siblings, and if invoked upon a node with no matching siblings, will walk the\ntree in reverse order to attempt to find a match. Contrast with previousSibling.
\nA ComponentQuery selector to filter the preceding nodes.
\nThe previous node (or the previous node which matches the selector).\nReturns null if there is no matching node.
\nReturns the previous sibling of this Component.
\n\nOptionally selects the previous sibling which matches the passed ComponentQuery\nselector.
\n\nMay also be refered to as prev()
Note that this is limited to siblings, and if no siblings of the item match, null
is returned. Contrast with\npreviousNode
A ComponentQuery selector to filter the preceding items.
\nThe previous sibling (or the previous sibling which matches the selector).\nReturns null if there is no matching sibling.
\nPerforms any necessary manipulation of a raw String value to prepare it for conversion and/or\nvalidation. For text fields this applies the configured stripCharsRe\nto the raw value.
\nThe unprocessed string value
\nThe processed string value
\nConverts a raw input field value into a mixed-type value that is suitable for this particular field type. This\nallows controlling the normalization and conversion of user-entered values into field-type-appropriate values,\ne.g. a Date object for Ext.form.field.Date, and is invoked by getValue.
\n\nIt is up to individual implementations to decide how to handle raw values that cannot be successfully converted\nto the desired object type.
\n\nSee valueToRaw for the opposite conversion.
\n\nThe base implementation does no conversion, returning the raw value untouched.
\nThe converted value.
\nRemoves items in the childEls array based on the return value of a supplied test function. The function is called\nwith a entry in childEls and if the test function return true, that entry is removed. If false, that entry is\nkept.
\nThe test function.
\nRemoves a CSS class from the top level element representing this component.
\nReturns the Component to allow method chaining.
\nRemoves a cls to the uiCls array, which will also call removeUIClsFromElement and removes it from all\nelements of this component.
\nRemoves an event handler.
\nThe type of event the handler was associated with.
\n\nThe handler to remove. This must be a reference to the function passed into the\naddListener call.
\n\nThe scope originally specified for the handler. It must be the same as the\nscope argument specified in the original call to addListener or the listener will not be removed.
\n\nRemoves listeners that were added by the mon method.
\nThe item from which to remove a listener/listeners.
\n\nThe event name, or an object containing event name properties.
\n\nIf the ename
parameter was an event name, this is the handler function.
If the ename
parameter was an event name, this is the scope (this
reference)\nin which the handler function is executed.
Method which removes a specified UI + uiCls from the components element. The cls which is added to the element\nwill be: this.baseCls + '-' + ui
The UI to add to the element
\nResets the field's originalValue property so it matches the current value. This is\ncalled by Ext.form.Basic.setValues if the form's\ntrackResetOnLoad property is set to true.
\nResumes firing events (see suspendEvents).
\n\nIf events were suspended using the queueSuspended
parameter, then all events fired\nduring event suspension will be sent to any listeners now.
Conditionally saves a single property from this object to the given state object.\nThe idea is to only save state which has changed from the initial state so that\ncurrent software settings do not override future software settings. Only those\nvalues that are user-changed state should be saved.
\nThe name of the property to save.
\nThe state object in to which to save the property.
\nThe name to use for the property in state.
\nTrue if the property was saved, false if not.
\nThis method is called internally by Ext.ZIndexManager to signal that a floating Component has either been\nmoved to the top of its zIndex stack, or pushed from the top of its zIndex stack.
\n\nIf a Window is superceded by another Window, deactivating it hides its shadow.
\n\nThis method also fires the activate or\ndeactivate event depending on which action occurred.
\nTrue to activate the Component, false to deactivate it.
\nDefaults to: false
The newly active Component which is taking over topmost zIndex position.
\nSets the active error message to the given string. This replaces the entire error message\ncontents with the given string. Also see setActiveErrors which accepts an Array of\nmessages and formats them according to the activeErrorsTpl.
\n\nNote that this only updates the error message element's text and attributes, you'll have\nto call doComponentLayout to actually update the field's layout to match. If the field extends\nExt.form.field.Base you should call markInvalid instead.
\nThe error message
\nSet the active error message to an Array of error messages. The messages are formatted into\na single message string using the activeErrorsTpl. Also see setActiveError\nwhich allows setting the entire error contents with a single string.
\n\nNote that this only updates the error message element's text and attributes, you'll have\nto call doComponentLayout to actually update the field's layout to match. If the field extends\nExt.form.field.Base you should call markInvalid instead.
\nThe error messages
\nSets the overflow on the content element of the component.
\nTrue to allow the Component to auto scroll.
\nthis
\nSets the dock position of this component in its parent panel. Note that this only has effect if this item is part\nof the dockedItems collection of a parent that has a DockLayout (note that any Panel has a DockLayout by default)
\nThe dock position.
\nTrue to re-layout parent.
\nDefaults to: false
this
\nApplies a set of default configuration values to this Labelable instance. For each of the\nproperties in the given object, check if this component hasOwnProperty that config; if not\nthen it's inheriting a default value from its prototype and we should apply the default value.
\nThe defaults to apply to the object.
\nSet the CSS style of the field input element.
\nThe style(s) to apply. Should be a valid argument to Ext.Element.applyStyles.
\nSets the height of the component. This method fires the resize event.
\nThe new height to set. This may be one of:
\n\nthis
\nThis method allows you to show or hide a LoadMask on top of this component.
\nTrue to show the default LoadMask, a config object that will be passed to the\nLoadMask constructor, or a message String to show. False to hide the current LoadMask.
\nTrue to mask the targetEl of this Component instead of the this.el
. For example,\nsetting this to true on a Panel will cause only the body to be masked.
Defaults to: false
The LoadMask instance that has just been shown.
\nSets the page XY position of the component. To set the left and top instead, use setPosition.\nThis method fires the move event.
\nThe new x position
\nThe new y position
\nTrue to animate the Component into its new position. You may also pass an\nanimation configuration.
\nthis
\nSets the left and top of the component. To set the page XY position instead, use setPagePosition. This\nmethod fires the move event.
\nThe new left
\nThe new top
\nIf true, the Component is animated into its new position. You may also pass an\nanimation configuration.
\nthis
\nSets the field's raw value directly, bypassing value conversion, change detection, and\nvalidation. To set the value with these additional inspections see setValue.
\nThe value to set
\nvalue The field value that is set
\nSets the read only state of this field.
\nWhether the field should be read only.
\nSets the width and height of this Component. This method fires the resize event. This method can accept\neither width and height as separate arguments, or you can pass a size object like {width:10, height:20}
.
The new width to set. This may be one of:
\n\n{width: widthValue, height: heightValue}
.undefined
to leave the width unchanged.The new height to set (not required if a size object is passed as the first arg).\nThis may be one of:
\n\nundefined
to leave the height unchanged.this
\nSets the UI for the component. This will remove any existing UIs on the component. It will also loop through any\nuiCls set on the component and rename them so they include the new UI
\nThe new UI for the component
\nSets a data value into the field and runs the change detection and validation. Also applies any configured\nemptyText for text fields. To set the value directly without these inspections see setRawValue.
\nThe value to set
\nthis
\nConvenience function to hide or show this component by boolean.
\nTrue to show, false to hide
\nthis
\nSets the width of the component. This method fires the resize event.
\nThe new width to setThis may be one of:
\n\nthis
\nShows this Component, rendering it first if autoRender or floating are true
.
After being shown, a floating Component (such as a Ext.window.Window), is activated it and\nbrought to the front of its z-index stack.
\nA callback function to call after the Component is displayed.\nOnly necessary if animation was specified.
\nThe scope (this
reference) in which the callback is executed.\nDefaults to this Component.
this
\nDisplays component at specific xy position.\nA floating component (like a menu) is positioned relative to its ownerCt if any.\nUseful for popping up a context menu:
\n\nlisteners: {\n itemcontextmenu: function(view, record, item, index, event, options) {\n Ext.create('Ext.menu.Menu', {\n width: 100,\n height: 100,\n margin: '0 0 10 0',\n items: [{\n text: 'regular item 1'\n },{\n text: 'regular item 2'\n },{\n text: 'regular item 3'\n }]\n }).showAt(event.getXY());\n }\n}\n
\nGet the reference to the class from which this object was instantiated. Note that unlike self,\nthis.statics()
is scope-independent and it always returns the class from which it was called, regardless of what\nthis
points to during run-time
Ext.define('My.Cat', {\n statics: {\n totalCreated: 0,\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n var statics = this.statics();\n\n alert(statics.speciesName); // always equals to 'Cat' no matter what 'this' refers to\n // equivalent to: My.Cat.speciesName\n\n alert(this.self.speciesName); // dependent on 'this'\n\n statics.totalCreated++;\n\n return this;\n },\n\n clone: function() {\n var cloned = new this.self; // dependent on 'this'\n\n cloned.groupName = this.statics().speciesName; // equivalent to: My.Cat.speciesName\n\n return cloned;\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n },\n\n constructor: function() {\n this.callParent();\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat', then alerts 'Cat'\n\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Cat', then alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\nalert(clone.groupName); // alerts 'Cat'\n\nalert(My.Cat.totalCreated); // alerts 3\n
\nStops any running effects and clears this object's internal effects queue if it contains\nany additional effects that haven't started yet.
\nThe Element
\nStops any running effects and clears this object's internal effects queue if it contains\nany additional effects that haven't started yet.
\nThis method has been deprecated since 4.0
Replaced by stopAnimation
\nThe Element
\nSuspends the firing of all events. (see resumeEvents)
\nPass as true to queue up suspended events to be fired\nafter the resumeEvents call instead of discarding all suspended events.
\nEnsures that all effects queued after syncFx is called on this object are\nrun concurrently. This is the opposite of sequenceFx.
\nthis
\nSends this Component to the back of (lower z-index than) any other visible windows
\nthis
\nBrings this floating Component to the front of any other visible, floating Components managed by the same ZIndexManager
\n\nIf this Component is modal, inserts the modal mask just below this Component in the z-index stack.
\nSpecify true
to prevent the Component from being focused.
Defaults to: false
this
\nShorthand for removeListener.
\n\nRemoves an event handler.
\nThe type of event the handler was associated with.
\n\nThe handler to remove. This must be a reference to the function passed into the\naddListener call.
\n\nThe scope originally specified for the handler. It must be the same as the\nscope argument specified in the original call to addListener or the listener will not be removed.
\n\nClears the active error message(s).
\n\nNote that this only clears the error message element's text and attributes, you'll have\nto call doComponentLayout to actually update the field's layout to match. If the field extends\nExt.form.field.Base you should call clearInvalid instead.
\nWalks up the ownerCt
axis looking for an ancestor Container which matches the passed simple selector.
Example:
\n\nvar owningTabPanel = grid.up('tabpanel');\n
\nThe simple selector to test.
\nThe matching ancestor Container (or undefined
if no match was found).
Update the content area of a component.
\nIf this component has been configured with a template via the tpl config then\nit will use this argument as data to populate the template. If this component was not configured with a template,\nthe components content area will be updated via Ext.Element update
\nOnly legitimate when using the html configuration.
\nDefaults to: false
Only legitimate when using the html configuration. Callback to execute when\nscripts have finished loading
\nSets the current box measurements of the component's underlying element.
\nAn object in the format {x, y, width, height}
\nthis
\nReturns whether or not the field value is currently valid by validating the field's current\nvalue, and fires the validitychange event if the field's validity has changed since the last validation.\nNote: disabled fields are always treated as valid.
\n\nCustom implementations of this method are allowed to have side-effects such as triggering error message display.\nTo validate without side-effects, use isValid.
\nTrue if the value is valid, else false
\nUses getErrors to build an array of validation errors. If any errors are found, they are passed to\nmarkInvalid and false is returned, otherwise true is returned.
\n\nPreviously, subclasses were invited to provide an implementation of this to process validations - from 3.2\nonwards getErrors should be overridden instead.
\nThe value to validate
\nTrue if all validations passed, false if one or more failed
\nConverts a mixed-type value to a raw representation suitable for displaying in the field. This allows controlling\nhow value objects passed to setValue are shown to the user, including localization. For instance, for a\nExt.form.field.Date, this would control how a Date object passed to setValue would be converted\nto a String for display in the field.
\n\nSee rawToValue for the opposite conversion.
\n\nThe base implementation simply does a standard toString conversion, and converts empty values\nto an empty string.
\nThe mixed-type value to convert to the raw representation.
\nThe converted raw value.
\nAdd / override static properties of this class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.addStatics({\n someProperty: 'someValue', // My.cool.Class.someProperty = 'someValue'\n method1: function() { ... }, // My.cool.Class.method1 = function() { ... };\n method2: function() { ... } // My.cool.Class.method2 = function() { ... };\n});\n
\nthis
\nBorrow another class' members to the prototype of this class.
\n\nExt.define('Bank', {\n money: '$$$',\n printMoney: function() {\n alert('$$$$$$$');\n }\n});\n\nExt.define('Thief', {\n ...\n});\n\nThief.borrow(Bank, ['money', 'printMoney']);\n\nvar steve = new Thief();\n\nalert(steve.money); // alerts '$$$'\nsteve.printMoney(); // alerts '$$$$$$$'\n
\nThe class to borrow members from
\nThe names of the members to borrow
\nthis
\nCreate a new instance of this Class.
\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfig: true\n});\n
\n\nAll parameters are passed to the constructor of the class.
\nthe created instance.
\nCreate aliases for existing prototype methods. Example:
\n\nExt.define('My.cool.Class', {\n method1: function() { ... },\n method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n method3: 'method1',\n method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -> test.method1()\n
\nThe new method name, or an object to set multiple aliases. See\nflexSetter
\nThe original method name
\nGet the current class' name in string format.
\n\nExt.define('My.cool.Class', {\n constructor: function() {\n alert(this.self.getName()); // alerts 'My.cool.Class'\n }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n
\nclassName
\nAdd methods / properties to the prototype of this class.
\n\nExt.define('My.awesome.Cat', {\n constructor: function() {\n ...\n }\n});\n\n My.awesome.Cat.implement({\n meow: function() {\n alert('Meowww...');\n }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n
\nOverride prototype members of this class. Overridden methods can be invoked via\ncallOverridden
\n\nExt.define('My.Cat', {\n constructor: function() {\n alert(\"I'm a cat!\");\n\n return this;\n }\n});\n\nMy.Cat.override({\n constructor: function() {\n alert(\"I'm going to be a cat!\");\n\n var instance = this.callOverridden();\n\n alert(\"Meeeeoooowwww\");\n\n return instance;\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
\nthis
\nFires after a Component has been visually activated.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after a Component had been added to a Container.
\nParent Container
\nposition of Component
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component rendering is finished.
\n\nThe afterrender event is fired after this Component has been rendered, been postprocesed by any\nafterRender method defined for the Component.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the autoSize function is triggered and the field is resized according to the\ngrow/growMin/growMax configs as a result. This event provides a hook for the\ndeveloper to apply additional logic at runtime to resize the field if needed.
\nThis text field
\nThe new field width
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before a Component has been visually activated. Returning false from an event listener can prevent\nthe activate from occurring.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before a Component has been visually deactivated. Returning false from an event listener can\nprevent the deactivate from occurring.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the component is destroyed. Return false from an event handler to stop the\ndestroy.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the component is hidden when calling the hide method. Return false from an event\nhandler to stop the hide.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the component is rendered. Return false from an event handler to stop the\nrender.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the component is shown when calling the show method. Return false from an event\nhandler to stop the show.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the state of the object is restored. Return false from an event handler to stop the restore.
\nThe hash of state values returned from the StateProvider. If this\nevent is not vetoed, then the state object is passed to applyState. By default,\nthat simply copies property values into this object. The method maybe overriden to\nprovide custom state restoration.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires before the state of the object is saved to the configured state provider. Return false to stop the save.
\nThe hash of state values. This is determined by calling\ngetState() on the object. This method must be provided by the\ndeveloper to return whetever representation of state is required, by default, Ext.state.Stateful\nhas a null implementation.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when this field loses input focus.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the underlying file input field's value has changed from the user selecting a new file from the system\nfile selection dialog.
\nThe file value returned by the underlying file input field
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after a Component has been visually deactivated.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is destroyed.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a change in the field's isDirty state is detected.
\nWhether or not the field is now dirty
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is disabled.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is enabled.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when the active error message is changed via setActiveError.
\nThe active error message
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when this field receives input focus.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is hidden. Fires after the component is hidden when calling the hide\nmethod.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nKeydown input field event. This event only fires if enableKeyEvents is set to true.
\nThis text field
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nKeypress input field event. This event only fires if enableKeyEvents is set to true.
\nThis text field
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nKeyup input field event. This event only fires if enableKeyEvents is set to true.
\nThis text field
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is moved.
\nThe new x position
\nThe new y position
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a component is removed from an Ext.container.Container
\nContainer which holds the component
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component markup is rendered.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is resized.
\nThe box-adjusted width that was set
\nThe box-adjusted height that was set
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the component is shown when calling the show method.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. To handle other keys\nsee Ext.util.KeyMap. You can check Ext.EventObject.getKey to determine which key was\npressed. For example:
\n\nvar form = new Ext.form.Panel({\n ...\n items: [{\n fieldLabel: 'Field 1',\n name: 'field1',\n allowBlank: false\n },{\n fieldLabel: 'Field 2',\n name: 'field2',\n listeners: {\n specialkey: function(field, e){\n // e.HOME, e.END, e.PAGE_UP, e.PAGE_DOWN,\n // e.TAB, e.ESC, arrow keys: e.LEFT, e.RIGHT, e.UP, e.DOWN\n if (e.getKey() == e.ENTER) {\n var form = field.up('form').getForm();\n form.submit();\n }\n }\n }\n }\n ],\n ...\n});\n
\nThe event object
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the state of the object is restored.
\nThe hash of state values returned from the StateProvider. This is passed\nto applyState. By default, that simply copies property values into this\nobject. The method maybe overriden to provide custom state restoration.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires after the state of the object is saved to the configured state provider.
\nThe hash of state values. This is determined by calling\ngetState() on the object. This method must be provided by the\ndeveloper to return whetever representation of state is required, by default, Ext.state.Stateful\nhas a null implementation.
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nFires when a change in the field's validity is detected.
\nWhether or not the field is now valid
\nThe options object passed to Ext.util.Observable.addListener.
\n\n\n\nReplaced by getActiveAnimation
\n","version":"4.0"},"static":false,"owner":"Ext.util.Animate","template":false,"required":null,"protected":false,"name":"hasActiveFx","id":"method-hasActiveFx"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"hasListener","id":"method-hasListener"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"hasUICls","id":"method-hasUICls"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Component","template":false,"required":null,"protected":false,"name":"hide","id":"method-hide"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Component","template":true,"required":null,"protected":false,"name":"initComponent","id":"method-initComponent"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Base","template":false,"required":null,"protected":true,"name":"initConfig","id":"method-initConfig"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Field","template":false,"required":null,"protected":false,"name":"initField","id":"method-initField"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.Labelable","template":false,"required":null,"protected":false,"name":"initLabelable","id":"method-initLabelable"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Field","template":false,"required":null,"protected":false,"name":"initValue","id":"method-initValue"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"is","id":"method-is"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"isDescendantOf","id":"method-isDescendantOf"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Field","template":false,"required":null,"protected":false,"name":"isDirty","id":"method-isDirty"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"isDisabled","id":"method-isDisabled"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"isDraggable","id":"method-isDraggable"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"isDroppable","id":"method-isDroppable"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Field","template":false,"required":null,"protected":false,"name":"isEqual","id":"method-isEqual"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Field","template":false,"required":null,"protected":false,"name":"isFileUpload","id":"method-isFileUpload"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"isFloating","id":"method-isFloating"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"isHidden","id":"method-isHidden"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Base","template":false,"required":null,"protected":false,"name":"isValid","id":"method-isValid"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"isVisible","id":"method-isVisible"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"isXType","id":"method-isXType"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Base","template":false,"required":null,"protected":false,"name":"markInvalid","id":"method-markInvalid"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"mon","id":"method-mon"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"mun","id":"method-mun"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"nextNode","id":"method-nextNode"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"nextSibling","id":"method-nextSibling"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"on","id":"method-on"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"previousNode","id":"method-previousNode"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"previousSibling","id":"method-previousSibling"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Text","template":false,"required":null,"protected":false,"name":"processRawValue","id":"method-processRawValue"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Base","template":false,"required":null,"protected":false,"name":"rawToValue","id":"method-rawToValue"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"relayEvents","id":"method-relayEvents"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"removeChildEls","id":"method-removeChildEls"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"removeCls","id":"method-removeCls"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"removeClsWithUI","id":"method-removeClsWithUI"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"removeListener","id":"method-removeListener"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"removeManagedListener","id":"method-removeManagedListener"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"removeUIClsFromElement","id":"method-removeUIClsFromElement"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Text","template":false,"required":null,"protected":false,"name":"reset","id":"method-reset"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Field","template":false,"required":null,"protected":false,"name":"resetOriginalValue","id":"method-resetOriginalValue"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"resumeEvents","id":"method-resumeEvents"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.state.Stateful","template":false,"required":null,"protected":false,"name":"savePropToState","id":"method-savePropToState"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Text","template":false,"required":null,"protected":false,"name":"selectText","id":"method-selectText"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Animate","template":false,"required":null,"protected":false,"name":"sequenceFx","id":"method-sequenceFx"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Floating","template":false,"required":null,"protected":false,"name":"setActive","id":"method-setActive"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.Labelable","template":false,"required":null,"protected":false,"name":"setActiveError","id":"method-setActiveError"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.Labelable","template":false,"required":null,"protected":false,"name":"setActiveErrors","id":"method-setActiveErrors"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Component","template":false,"required":null,"protected":false,"name":"setAutoScroll","id":"method-setAutoScroll"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"setDisabled","id":"method-setDisabled"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"setDocked","id":"method-setDocked"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.Labelable","template":false,"required":null,"protected":false,"name":"setFieldDefaults","id":"method-setFieldDefaults"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Base","template":false,"required":null,"protected":false,"name":"setFieldStyle","id":"method-setFieldStyle"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"setHeight","id":"method-setHeight"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"setLoading","id":"method-setLoading"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Component","template":false,"required":null,"protected":false,"name":"setPagePosition","id":"method-setPagePosition"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Component","template":false,"required":null,"protected":false,"name":"setPosition","id":"method-setPosition"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Base","template":false,"required":null,"protected":false,"name":"setRawValue","id":"method-setRawValue"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Base","template":false,"required":null,"protected":false,"name":"setReadOnly","id":"method-setReadOnly"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"setSize","id":"method-setSize"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"setUI","id":"method-setUI"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Text","template":false,"required":null,"protected":false,"name":"setValue","id":"method-setValue"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"setVisible","id":"method-setVisible"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"setWidth","id":"method-setWidth"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Component","template":false,"required":null,"protected":false,"name":"show","id":"method-show"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Component","template":false,"required":null,"protected":false,"name":"showAt","id":"method-showAt"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Base","template":false,"required":null,"protected":true,"name":"statics","id":"method-statics"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Animate","template":false,"required":null,"protected":false,"name":"stopAnimation","id":"method-stopAnimation"},{"tagname":"method","deprecated":{"doc":"Stops any running effects and clears this object's internal effects queue if it contains\nany additional effects that haven't started yet.","tagname":"deprecated","text":"Replaced by stopAnimation
\n","version":"4.0"},"static":false,"owner":"Ext.util.Animate","template":false,"required":null,"protected":false,"name":"stopFx","id":"method-stopFx"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"suspendEvents","id":"method-suspendEvents"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Animate","template":false,"required":null,"protected":false,"name":"syncFx","id":"method-syncFx"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Floating","template":false,"required":null,"protected":false,"name":"toBack","id":"method-toBack"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Floating","template":false,"required":null,"protected":false,"name":"toFront","id":"method-toFront"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.util.Observable","template":false,"required":null,"protected":false,"name":"un","id":"method-un"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.Labelable","template":false,"required":null,"protected":false,"name":"unsetActiveError","id":"method-unsetActiveError"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"up","id":"method-up"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":false,"required":null,"protected":false,"name":"update","id":"method-update"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.Component","template":false,"required":null,"protected":false,"name":"updateBox","id":"method-updateBox"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Field","template":false,"required":null,"protected":false,"name":"validate","id":"method-validate"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Base","template":false,"required":null,"protected":false,"name":"validateValue","id":"method-validateValue"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.form.field.Base","template":false,"required":null,"protected":false,"name":"valueToRaw","id":"method-valueToRaw"}],"event":[{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"activate","id":"event-activate"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"added","id":"event-added"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"afterrender","id":"event-afterrender"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.form.field.Text","template":null,"required":null,"protected":false,"name":"autosize","id":"event-autosize"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"beforeactivate","id":"event-beforeactivate"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"beforedeactivate","id":"event-beforedeactivate"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"beforedestroy","id":"event-beforedestroy"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"beforehide","id":"event-beforehide"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"beforerender","id":"event-beforerender"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"beforeshow","id":"event-beforeshow"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.state.Stateful","template":null,"required":null,"protected":false,"name":"beforestaterestore","id":"event-beforestaterestore"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.state.Stateful","template":null,"required":null,"protected":false,"name":"beforestatesave","id":"event-beforestatesave"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.form.field.Base","template":null,"required":null,"protected":false,"name":"blur","id":"event-blur"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.form.field.File","template":null,"required":null,"protected":false,"name":"change","id":"event-change"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"deactivate","id":"event-deactivate"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"destroy","id":"event-destroy"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.form.field.Field","template":null,"required":null,"protected":false,"name":"dirtychange","id":"event-dirtychange"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"disable","id":"event-disable"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"enable","id":"event-enable"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.form.Labelable","template":null,"required":null,"protected":false,"name":"errorchange","id":"event-errorchange"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.form.field.Base","template":null,"required":null,"protected":false,"name":"focus","id":"event-focus"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"hide","id":"event-hide"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.form.field.Text","template":null,"required":null,"protected":false,"name":"keydown","id":"event-keydown"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.form.field.Text","template":null,"required":null,"protected":false,"name":"keypress","id":"event-keypress"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.form.field.Text","template":null,"required":null,"protected":false,"name":"keyup","id":"event-keyup"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"move","id":"event-move"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"removed","id":"event-removed"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"render","id":"event-render"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"resize","id":"event-resize"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.AbstractComponent","template":null,"required":null,"protected":false,"name":"show","id":"event-show"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.form.field.Base","template":null,"required":null,"protected":false,"name":"specialkey","id":"event-specialkey"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.state.Stateful","template":null,"required":null,"protected":false,"name":"staterestore","id":"event-staterestore"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.state.Stateful","template":null,"required":null,"protected":false,"name":"statesave","id":"event-statesave"},{"tagname":"event","deprecated":null,"static":false,"owner":"Ext.form.field.Field","template":null,"required":null,"protected":false,"name":"validitychange","id":"event-validitychange"}]},"private":false,"component":true,"name":"Ext.form.field.File","alternateClassNames":["Ext.form.FileUploadField","Ext.ux.form.FileUploadField","Ext.form.File"],"id":"class-Ext.form.field.File","mixedInto":[],"xtypes":{"widget":["filefield","fileuploadfield"]},"files":[{"href":"File.html#Ext-form-field-File","filename":"File.js"}]}); \ No newline at end of file