Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / api / Ext.form.field.Number.html
1 <!DOCTYPE html><html><head><title>Ext.form.field.Number | Ext JS 4.0 Documentation</title><script type="text/javascript" src="../ext-all.js"></script><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../scrollbars.css" type="text/css"><link rel="stylesheet" href="../docs.css" type="text/css"><link id="styleCss" rel="stylesheet" href="../style.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script><link rel="stylesheet" href="../prettify.css" type="text/css"><!-- link(rel: 'stylesheet', href: req.baseURL + '/css/ext4.css', type: 'text/css')--><link rel="shortcut icon" type="image/ico" href="../favicon.ico"><!--[if IE]>
2 <style type="text/css">.head-band { display: none; }
3 .header { border: 0; top: 0; left: 0px; background: url(../header.gif) repeat-x; }
4 .doc-tab .members .member a.more { background-color: #efefef; }
5 </style><link rel="stylesheet" href="/new/css/ie.css" type="text/css"><![endif]-->
6 </head><body id="ext-body" class="iScroll"><div id="notice" class="notice">For up to date documentation and features, visit 
7 <a href="http://docs.sencha.com/ext-js/4-0">http://docs.sencha.com/ext-js/4-0</a></div><div class="wrapper"><div class="head-band"></div><div class="header"><h2><a href="../index.html">Sencha Documentation</a></h2></div><div id="search"><form><input type="text" placeholder="Search" id="search-field" autocomplete="off" name="q"></form><div id="search-box"></div></div><div id="treePanel"></div><div id="container"><script type="text/javascript">
8
9     req = {
10         liveURL: '.',
11         standAloneMode: true,
12         origDocClass: 'Ext.form.field.Number',
13         docClass: 'Ext.form.field.Number',
14         docReq: 'Ext.form.field.Number',
15         version: '4.0',
16         baseURL: '.',
17         baseDocURL: '.',
18         baseProdURL: '.'
19     };
20
21     clsInfo = {};
22
23
24
25 </script>
26
27 <script type="text/javascript" src="../search.js"></script>
28 <!--script type="text/javascript" src="/new/javascripts/app/examples.js"></script-->
29 <script type="text/javascript" src="../class_tree.js"></script>
30 <script type="text/javascript" src="../class_doc.js"></script>
31 <script type="text/javascript">
32     req.source = 'Number.html#Ext-form.field.Number';
33     clsInfo = {"methods":["Number","addClass","addCls","addClsWithUI","addEvents","addListener","addManagedListener","addStateEvents","afterComponentLayout","alignTo","animate","applyState","autoSize","batchChanges","beforeComponentLayout","bubble","capture","center","checkChange","checkDirty","clearInvalid","clearListeners","clearManagedListeners","cloneConfig","destroy","disable","doAutoRender","doComponentLayout","doConstrain","enable","enableBubble","extractFileInput","findLayoutController","findParentBy","findParentByType","fireEvent","focus","getActiveAnimation","getActiveError","getActiveErrors","getBox","getBubbleTarget","getEl","getErrors","getFieldLabel","getHeight","getId","getInputId","getInsertPosition","getLoader","getModelData","getName","getPlugin","getPosition","getRawValue","getSize","getState","getStateId","getSubmitData","getSubmitValue","getTriggerWidth","getValue","getWidth","getXType","getXTypes","hasActiveError","hasListener","hasUICls","hide","initField","initLabelable","is","isDescendantOf","isDirty","isDisabled","isDraggable","isDroppable","isEqual","isFileUpload","isFloating","isHidden","isValid","isVisible","isXType","markInvalid","nextNode","nextSibling","observe","on","onTriggerClick","previousNode","previousSibling","processRawValue","rawToValue","relayEvents","releaseCapture","removeCls","removeClsWithUI","removeListener","removeManagedListener","reset","resetOriginalValue","resumeEvents","selectText","sequenceFx","setActive","setActiveError","setActiveErrors","setAutoScroll","setDisabled","setDocked","setEditable","setFieldDefaults","setFieldStyle","setHeight","setLoading","setMaxValue","setMinValue","setPagePosition","setPosition","setRawValue","setReadOnly","setSize","setSpinDownEnabled","setSpinUpEnabled","setUI","setValue","setVisible","setWidth","show","spinDown","spinUp","stopAnimation","suspendEvents","syncFx","toBack","toFront","un","unsetActiveError","up","update","updateBox","validate","validateValue","valueToRaw"],"cfgs":["activeError","activeErrorsTpl","allowBlank","allowDecimals","autoEl","autoFitErrors","autoRender","autoScroll","autoShow","autoStripChars","baseBodyCls","baseChars","baseCls","blankText","border","checkChangeBuffer","checkChangeEvents","clearCls","cls","componentCls","componentLayout","contentEl","data","decimalPrecision","decimalSeparator","dirtyCls","disableKeyFilter","disabled","disabledCls","draggable","editable","emptyCls","emptyText","enableKeyEvents","enforceMaxLength","errorMsgCls","fieldBodyCls","fieldCls","fieldLabel","fieldStyle","floating","focusCls","focusOnToFront","formItemCls","frame","grow","growAppend","growMax","growMin","height","hidden","hideEmptyLabel","hideLabel","hideMode","hideTrigger","html","id","inputId","inputType","invalidCls","invalidText","itemId","keyNavEnabled","labelAlign","labelCls","labelPad","labelSeparator","labelStyle","labelWidth","labelableRenderTpl","listeners","loader","maintainFlex","margin","maskRe","maxHeight","maxLength","maxLengthText","maxText","maxValue","maxWidth","minHeight","minLength","minLengthText","minText","minValue","minWidth","mouseWheelEnabled","msgTarget","name","nanText","negativeText","overCls","padding","plugins","preventMark","readOnly","readOnlyCls","regex","regexText","renderSelectors","renderTo","renderTpl","repeatTriggerClick","resizable","resizeHandles","saveBuffer","selectOnFocus","shadow","size","spinDownEnabled","spinUpEnabled","stateEvents","stateId","stateful","step","stripCharsRe","style","styleHtmlCls","styleHtmlContent","submitValue","tabIndex","toFrontOnShow","tpl","tplWriteMode","triggerBaseCls","triggerCls","triggerWrapCls","ui","validateOnBlur","validateOnChange","validator","value","vtype","vtypeText","width"],"properties":["bodyEl","clearInvalid","draggable","errorEl","floatParent","frameSize","hasActiveFx","inputEl","isFieldLabelable","isFormField","labelEl","markInvalid","maskOnDisable","onSpinDown","onSpinUp","originalValue","ownerCt","rendered","spinDownEl","spinUpEl","stopFx","triggerEl","triggerWrap","zIndexManager"],"events":["activate","added","afterrender","autosize","beforeactivate","beforedeactivate","beforedestroy","beforehide","beforerender","beforeshow","beforestaterestore","beforestatesave","blur","change","deactivate","destroy","dirtychange","disable","enable","errorchange","focus","hide","keydown","keypress","keyup","move","removed","render","resize","show","specialkey","spin","spindown","spinup","staterestore","statesave","validitychange"],"subclasses":[]};
34     Ext.onReady(function() {
35         Ext.create('Docs.classPanel');
36     });
37 </script><div id="top-block" class="top-block"><h1 id="clsTitle" class="comp"><a href="../source/Number.html#Ext-form.field.Number" target="_blank">Ext.form.field.Number</a><span>xtype: numberfield</span></h1></div><div id="docContent"><div id="doc-overview-content"><div class="lft"><pre class="subclasses"><h4>Hierarchy</h4><div class="subclass f"><a href="Ext.AbstractComponent.html" rel="Ext.AbstractComponent" class="cls docClass">Ext.AbstractComponent</a><div class="subclass"><a href="Ext.Component.html" rel="Ext.Component" class="cls docClass">Ext.Component</a><div class="subclass"><a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="cls docClass">Ext.form.field.Base</a><div class="subclass"><a href="Ext.form.field.Text.html" rel="Ext.form.field.Text" class="cls docClass">Ext.form.field.Text</a><div class="subclass"><a href="Ext.form.field.Trigger.html" rel="Ext.form.field.Trigger" class="cls docClass">Ext.form.field.Trigger</a><div class="subclass"><a href="Ext.form.field.Spinner.html" rel="Ext.form.field.Spinner" class="cls docClass">Ext.form.field.Spinner</a><div class="subclass"><strong>Ext.form.field.Number</strong></div></div></div></div></div></div></div><h4>Mixins</h4><div class="mixin"><a href="Ext.util.Observable.html" rel="Ext.util.Observable" class="cls docClass">Ext.util.Observable</a></div><div class="mixin"><a href="Ext.util.Animate.html" rel="Ext.util.Animate" class="cls docClass">Ext.util.Animate</a></div><div class="mixin"><a href="Ext.state.Stateful.html" rel="Ext.state.Stateful" class="cls docClass">Ext.state.Stateful</a></div><div class="mixin"><a href="Ext.util.Floating.html" rel="Ext.util.Floating" class="cls docClass">Ext.util.Floating</a></div><div class="mixin"><a href="Ext.form.Labelable.html" rel="Ext.form.Labelable" class="cls docClass">Ext.form.Labelable</a></div><div class="mixin"><a href="Ext.form.field.Field.html" rel="Ext.form.field.Field" class="cls docClass">Ext.form.field.Field</a></div></pre><p>A numeric text field that provides automatic keystroke filtering to disallow non-numeric characters,
38 and numeric validation to limit the value to a range of valid numbers. The range of acceptable number
39 values can be controlled by setting the <a href="Ext.form.field.Number.html#minValue" rel="Ext.form.field.Number#minValue" class="docClass">minValue</a> and <a href="Ext.form.field.Number.html#maxValue" rel="Ext.form.field.Number#maxValue" class="docClass">maxValue</a> configs, and fractional
40 decimals can be disallowed by setting <a href="Ext.form.field.Number.html#allowDecimals" rel="Ext.form.field.Number#allowDecimals" class="docClass">allowDecimals</a> to <code>false</code>.</p>
41
42 <p>By default, the number field is also rendered with a set of up/down spinner buttons and has
43 up/down arrow key and mouse wheel event listeners attached for incrementing/decrementing the value by the
44 <a href="Ext.form.field.Number.html#step" rel="Ext.form.field.Number#step" class="docClass">step</a> value. To hide the spinner buttons set <code><a href="Ext.form.field.Number.html#hideTrigger" rel="Ext.form.field.Number#hideTrigger" class="docClass">hideTrigger</a>:true</code>; to disable the arrow key
45 and mouse wheel handlers set <code><a href="Ext.form.field.Number.html#keyNavEnabled" rel="Ext.form.field.Number#keyNavEnabled" class="docClass">keyNavEnabled</a>:false</code> and
46 <code><a href="Ext.form.field.Number.html#mouseWheelEnabled" rel="Ext.form.field.Number#mouseWheelEnabled" class="docClass">mouseWheelEnabled</a>:false</code>. See the example below.</p>
47
48 <h1>Example usage:</h1>
49
50 <p><img class="screenshot" src="../Ext.form.Number1.png" alt="Ext.form.Number component" /></p>
51
52 <pre class="prettyprint"><code>Ext.create('Ext.form.Panel', {
53     title: 'On The Wall',
54     width: 300,
55     bodyPadding: 10,
56     renderTo: Ext.getBody(),
57     items: [{
58         xtype: 'numberfield',
59         anchor: '100%',
60         name: 'bottles',
61         fieldLabel: 'Bottles of Beer',
62         value: 99,
63         maxValue: 99,
64         minValue: 0
65     }],
66     buttons: [{
67         text: 'Take one down, pass it around',
68         handler: function() {
69             this.up('form').down('[name=bottles]').spinDown();
70         }
71     }]
72 });
73 </code></pre>
74
75 <h1>Removing UI Enhancements</h1>
76
77 <p><img class="screenshot" src="../Ext.form.Number2.png" alt="Ext.form.Number component" /></p>
78
79 <pre class="prettyprint"><code>Ext.create('Ext.form.Panel', {
80     title: 'Personal Info',
81     width: 300,
82     bodyPadding: 10,
83     renderTo: Ext.getBody(),        
84     items: [{
85         xtype: 'numberfield',
86         anchor: '100%',
87         name: 'age',
88         fieldLabel: 'Age',
89         minValue: 0, //prevents negative numbers
90
91         // Remove spinner buttons, and arrow key and mouse wheel listeners
92         hideTrigger: true,
93         keyNavEnabled: false,
94         mouseWheelEnabled: false
95     }]
96 });
97 </code></pre>
98
99 <h1>Using Step</h1>
100
101 <pre class="prettyprint"><code>Ext.create('Ext.form.Panel', {
102     renderTo: Ext.getBody(),
103     title: 'Step',
104     width: 300,
105     bodyPadding: 10,
106     items: [{
107         xtype: 'numberfield',
108         anchor: '100%',
109         name: 'evens',
110         fieldLabel: 'Even Numbers',
111
112         // Set step so it skips every other number
113         step: 2,
114         value: 0,
115
116         // Add change handler to force user-entered numbers to evens
117         listeners: {
118             change: function(field, value) {
119                 value = parseInt(value, 10);
120                 field.setValue(value + value % 2);
121             }
122         }
123     }]
124 });
125 </code></pre>
126 <div class="members"><div class="m-cfgs"><div class="definedBy">Defined By</div><a name="configs"></a><h3 class="cfg p">Config Options</h3><h4 class="cfgGroup">CSS Class configs</h4><div id="config-baseBodyCls" class="member f inherited"><a href="Ext.form.field.Number.html#config-baseBodyCls" rel="config-baseBodyCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-baseBodyCls" class="viewSource">view source</a></div><a name="baseBodyCls"></a><a name="config-baseBodyCls"></a><a href="Ext.form.field.Number.html#" rel="config-baseBodyCls" class="cls expand">baseBodyCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to the body content element. Defaults to 'x-form-item-body'.</p>
127 </div><div class="long"><p>The CSS class to be applied to the body content element. Defaults to 'x-form-item-body'.</p>
128 </div></div></div><div id="config-baseCls" class="member inherited"><a href="Ext.form.field.Number.html#config-baseCls" rel="config-baseCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.form.field.Number.html#" rel="config-baseCls" class="cls expand">baseCls</a><span> : String</span></div><div class="description"><div class="short">The base CSS class to apply to this components's element. This will also be prepended to
129 elements within this compone...</div><div class="long"><p>The base CSS class to apply to this components's element. This will also be prepended to
130 elements within this component like Panel's body will get a class x-panel-body. This means
131 that if you create a subclass of Panel, and you want it to get all the Panels styling for the
132 element and the body, you leave the baseCls x-panel and use componentCls to add specific styling for this
133 component.</p>
134 </div></div></div><div id="config-clearCls" class="member inherited"><a href="Ext.form.field.Number.html#config-clearCls" rel="config-clearCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-clearCls" class="viewSource">view source</a></div><a name="clearCls"></a><a name="config-clearCls"></a><a href="Ext.form.field.Number.html#" rel="config-clearCls" class="cls expand">clearCls</a><span> : String</span></div><div class="description"><div class="short">The CSS class to be applied to the special clearing div rendered directly after the field
135 contents wrapper to provide...</div><div class="long"><p>The CSS class to be applied to the special clearing div rendered directly after the field
136 contents wrapper to provide field clearing (defaults to <tt>'x-clear'</tt>).</p>
137 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.form.field.Number.html#config-cls" rel="config-cls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-cls" class="viewSource">view source</a></div><a name="cls"></a><a name="config-cls"></a><a href="Ext.form.field.Number.html#" rel="config-cls" class="cls expand">cls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
138 useful for ...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
139 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
140 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.form.field.Number.html#config-componentCls" rel="config-componentCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-componentCls" class="viewSource">view source</a></div><a name="componentCls"></a><a name="config-componentCls"></a><a href="Ext.form.field.Number.html#" rel="config-componentCls" class="cls expand">componentCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS Class to be added to a components root level element to give distinction to it
141 via styling.</p>
142 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
143 via styling.</p>
144 </div></div></div><div id="config-dirtyCls" class="member inherited"><a href="Ext.form.field.Number.html#config-dirtyCls" rel="config-dirtyCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-dirtyCls" class="viewSource">view source</a></div><a name="dirtyCls"></a><a name="config-dirtyCls"></a><a href="Ext.form.field.Number.html#" rel="config-dirtyCls" class="cls expand">dirtyCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to use when the field value <a href="Ext.form.field.Number.html#isDirty" rel="Ext.form.field.Number#isDirty" class="docClass">is dirty</a>.</p>
145 </div><div class="long"><p>The CSS class to use when the field value <a href="Ext.form.field.Number.html#isDirty" rel="Ext.form.field.Number#isDirty" class="docClass">is dirty</a>.</p>
146 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.form.field.Number.html#config-disabledCls" rel="config-disabledCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-disabledCls" class="viewSource">view source</a></div><a name="disabledCls"></a><a name="config-disabledCls"></a><a href="Ext.form.field.Number.html#" rel="config-disabledCls" class="cls expand">disabledCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
147 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
148 </div></div></div><div id="config-emptyCls" class="member inherited"><a href="Ext.form.field.Number.html#config-emptyCls" rel="config-emptyCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-emptyCls" class="viewSource">view source</a></div><a name="emptyCls"></a><a name="config-emptyCls"></a><a href="Ext.form.field.Number.html#" rel="config-emptyCls" class="cls expand">emptyCls</a><span> : String</span></div><div class="description"><div class="short">The CSS class to apply to an empty field to style the emptyText
149 (defaults to 'x-form-empty-field').  This class is au...</div><div class="long"><p>The CSS class to apply to an empty field to style the <b><tt><a href="Ext.form.field.Number.html#emptyText" rel="Ext.form.field.Number#emptyText" class="docClass">emptyText</a></tt></b>
150 (defaults to <tt>'x-form-empty-field'</tt>).  This class is automatically added and removed as needed
151 depending on the current field value.</p>
152 </div></div></div><div id="config-errorMsgCls" class="member inherited"><a href="Ext.form.field.Number.html#config-errorMsgCls" rel="config-errorMsgCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-errorMsgCls" class="viewSource">view source</a></div><a name="errorMsgCls"></a><a name="config-errorMsgCls"></a><a href="Ext.form.field.Number.html#" rel="config-errorMsgCls" class="cls expand">errorMsgCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to the error message element. Defaults to 'x-form-error-msg'.</p>
153 </div><div class="long"><p>The CSS class to be applied to the error message element. Defaults to 'x-form-error-msg'.</p>
154 </div></div></div><div id="config-fieldBodyCls" class="member inherited"><a href="Ext.form.field.Number.html#config-fieldBodyCls" rel="config-fieldBodyCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-fieldBodyCls" class="viewSource">view source</a></div><a name="fieldBodyCls"></a><a name="config-fieldBodyCls"></a><a href="Ext.form.field.Number.html#" rel="config-fieldBodyCls" class="cls expand">fieldBodyCls</a><span> : String</span></div><div class="description"><div class="short"><p>An extra CSS class to be applied to the body content element in addition to <a href="Ext.form.field.Number.html#fieldBodyCls" rel="Ext.form.field.Number#fieldBodyCls" class="docClass">fieldBodyCls</a>.
155 Defaults to empty.</p>
156 </div><div class="long"><p>An extra CSS class to be applied to the body content element in addition to <a href="Ext.form.field.Number.html#fieldBodyCls" rel="Ext.form.field.Number#fieldBodyCls" class="docClass">fieldBodyCls</a>.
157 Defaults to empty.</p>
158 </div></div></div><div id="config-fieldCls" class="member inherited"><a href="Ext.form.field.Number.html#config-fieldCls" rel="config-fieldCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-fieldCls" class="viewSource">view source</a></div><a name="fieldCls"></a><a name="config-fieldCls"></a><a href="Ext.form.field.Number.html#" rel="config-fieldCls" class="cls expand">fieldCls</a><span> : String</span></div><div class="description"><div class="short"><p>The default CSS class for the field input (defaults to 'x-form-field')</p>
159 </div><div class="long"><p>The default CSS class for the field input (defaults to 'x-form-field')</p>
160 </div></div></div><div id="config-focusCls" class="member inherited"><a href="Ext.form.field.Number.html#config-focusCls" rel="config-focusCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-focusCls" class="viewSource">view source</a></div><a name="focusCls"></a><a name="config-focusCls"></a><a href="Ext.form.field.Number.html#" rel="config-focusCls" class="cls expand">focusCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to use when the field receives focus (defaults to 'x-form-focus')</p>
161 </div><div class="long"><p>The CSS class to use when the field receives focus (defaults to 'x-form-focus')</p>
162 </div></div></div><div id="config-formItemCls" class="member inherited"><a href="Ext.form.field.Number.html#config-formItemCls" rel="config-formItemCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-formItemCls" class="viewSource">view source</a></div><a name="formItemCls"></a><a name="config-formItemCls"></a><a href="Ext.form.field.Number.html#" rel="config-formItemCls" class="cls expand">formItemCls</a><span> : String</span></div><div class="description"><div class="short">A CSS class to be applied to the outermost element to denote that it is participating in the form
163 field layout. Defau...</div><div class="long"><p>A CSS class to be applied to the outermost element to denote that it is participating in the form
164 field layout. Defaults to 'x-form-item'.</p>
165 </div></div></div><div id="config-invalidCls" class="member inherited"><a href="Ext.form.field.Number.html#config-invalidCls" rel="config-invalidCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-invalidCls" class="viewSource">view source</a></div><a name="invalidCls"></a><a name="config-invalidCls"></a><a href="Ext.form.field.Number.html#" rel="config-invalidCls" class="cls expand">invalidCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to use when marking the component invalid (defaults to 'x-form-invalid')</p>
166 </div><div class="long"><p>The CSS class to use when marking the component invalid (defaults to 'x-form-invalid')</p>
167 </div></div></div><div id="config-labelCls" class="member inherited"><a href="Ext.form.field.Number.html#config-labelCls" rel="config-labelCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelCls" class="viewSource">view source</a></div><a name="labelCls"></a><a name="config-labelCls"></a><a href="Ext.form.field.Number.html#" rel="config-labelCls" class="cls expand">labelCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to the label element. Defaults to 'x-form-item-label'.</p>
168 </div><div class="long"><p>The CSS class to be applied to the label element. Defaults to 'x-form-item-label'.</p>
169 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.form.field.Number.html#config-overCls" rel="config-overCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-overCls" class="viewSource">view source</a></div><a name="overCls"></a><a name="config-overCls"></a><a href="Ext.form.field.Number.html#" rel="config-overCls" class="cls expand">overCls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves
170 over the Element, and...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element when the mouse moves
171 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
172 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
173 </div></div></div><div id="config-readOnlyCls" class="member inherited"><a href="Ext.form.field.Number.html#config-readOnlyCls" rel="config-readOnlyCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-readOnlyCls" class="viewSource">view source</a></div><a name="readOnlyCls"></a><a name="config-readOnlyCls"></a><a href="Ext.form.field.Number.html#" rel="config-readOnlyCls" class="cls expand">readOnlyCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class applied to the component's main element when it is <a href="Ext.form.field.Number.html#readOnly" rel="Ext.form.field.Number#readOnly" class="docClass">readOnly</a>.</p>
174 </div><div class="long"><p>The CSS class applied to the component's main element when it is <a href="Ext.form.field.Number.html#readOnly" rel="Ext.form.field.Number#readOnly" class="docClass">readOnly</a>.</p>
175 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.form.field.Number.html#config-styleHtmlCls" rel="config-styleHtmlCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlCls" class="viewSource">view source</a></div><a name="styleHtmlCls"></a><a name="config-styleHtmlCls"></a><a href="Ext.form.field.Number.html#" rel="config-styleHtmlCls" class="cls expand">styleHtmlCls</a><span> : String</span></div><div class="description"><div class="short"><p>The class that is added to the content target when you set styleHtmlContent to true.
176 Defaults to 'x-html'</p>
177 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
178 Defaults to 'x-html'</p>
179 </div></div></div><div id="config-triggerBaseCls" class="member inherited"><a href="Ext.form.field.Number.html#config-triggerBaseCls" rel="config-triggerBaseCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-cfg-triggerBaseCls" class="viewSource">view source</a></div><a name="triggerBaseCls"></a><a name="config-triggerBaseCls"></a><a href="Ext.form.field.Number.html#" rel="config-triggerBaseCls" class="cls expand">triggerBaseCls</a><span> : String</span></div><div class="description"><div class="short">The base CSS class that is always added to the trigger button. The triggerCls will be
180 appended in addition to this cl...</div><div class="long"><p>The base CSS class that is always added to the trigger button. The <a href="Ext.form.field.Number.html#triggerCls" rel="Ext.form.field.Number#triggerCls" class="docClass">triggerCls</a> will be
181 appended in addition to this class.</p>
182 </div></div></div><div id="config-triggerCls" class="member inherited"><a href="Ext.form.field.Number.html#config-triggerCls" rel="config-triggerCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-cfg-triggerCls" class="viewSource">view source</a></div><a name="triggerCls"></a><a name="config-triggerCls"></a><a href="Ext.form.field.Number.html#" rel="config-triggerCls" class="cls expand">triggerCls</a><span> : String</span></div><div class="description"><div class="short">An additional CSS class used to style the trigger button.  The trigger will always get the
183 triggerBaseCls by default ...</div><div class="long"><p>An additional CSS class used to style the trigger button.  The trigger will always get the
184 <a href="Ext.form.field.Number.html#triggerBaseCls" rel="Ext.form.field.Number#triggerBaseCls" class="docClass">triggerBaseCls</a> by default and <tt>triggerCls</tt> will be <b>appended</b> if specified.
185 Defaults to undefined.</p>
186 </div></div></div><div id="config-triggerWrapCls" class="member inherited"><a href="Ext.form.field.Number.html#config-triggerWrapCls" rel="config-triggerWrapCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-cfg-triggerWrapCls" class="viewSource">view source</a></div><a name="triggerWrapCls"></a><a name="config-triggerWrapCls"></a><a href="Ext.form.field.Number.html#" rel="config-triggerWrapCls" class="cls expand">triggerWrapCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class that is added to the div wrapping the trigger button(s).</p>
187 </div><div class="long"><p>The CSS class that is added to the div wrapping the trigger button(s).</p>
188 </div></div></div><h4 class="cfgGroup">Other Configs</h4><div id="config-activeError" class="member f inherited"><a href="Ext.form.field.Number.html#config-activeError" rel="config-activeError" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-activeError" class="viewSource">view source</a></div><a name="activeError"></a><a name="config-activeError"></a><a href="Ext.form.field.Number.html#" rel="config-activeError" class="cls expand">activeError</a><span> : String</span></div><div class="description"><div class="short">If specified, then the component will be displayed with this value as its active error when
189 first rendered. Defaults ...</div><div class="long"><p>If specified, then the component will be displayed with this value as its active error when
190 first rendered. Defaults to undefined. Use <a href="Ext.form.field.Number.html#setActiveError" rel="Ext.form.field.Number#setActiveError" class="docClass">setActiveError</a> or <a href="Ext.form.field.Number.html#unsetActiveError" rel="Ext.form.field.Number#unsetActiveError" class="docClass">unsetActiveError</a> to
191 change it after component creation.</p>
192 </div></div></div><div id="config-activeErrorsTpl" class="member inherited"><a href="Ext.form.field.Number.html#config-activeErrorsTpl" rel="config-activeErrorsTpl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-activeErrorsTpl" class="viewSource">view source</a></div><a name="activeErrorsTpl"></a><a name="config-activeErrorsTpl"></a><a href="Ext.form.field.Number.html#" rel="config-activeErrorsTpl" class="cls expand">activeErrorsTpl</a><span> : Ext.XTemplate</span></div><div class="description"><div class="short">The template used to format the Array of error messages passed to setActiveErrors
193 into a single HTML string. By defau...</div><div class="long"><p>The template used to format the Array of error messages passed to <a href="Ext.form.field.Number.html#setActiveErrors" rel="Ext.form.field.Number#setActiveErrors" class="docClass">setActiveErrors</a>
194 into a single HTML string. By default this renders each message as an item in an unordered list.</p>
195 </div></div></div><div id="config-allowBlank" class="member inherited"><a href="Ext.form.field.Number.html#config-allowBlank" rel="config-allowBlank" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-allowBlank" class="viewSource">view source</a></div><a name="allowBlank"></a><a name="config-allowBlank"></a><a href="Ext.form.field.Number.html#" rel="config-allowBlank" class="cls expand">allowBlank</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Specify <tt>false</tt> to validate that the value's length is > 0 (defaults to
196 <tt>true</tt>)</p>
197 </div><div class="long"><p>Specify <tt>false</tt> to validate that the value's length is > 0 (defaults to
198 <tt>true</tt>)</p>
199 </div></div></div><div id="config-allowDecimals" class="member ni"><a href="Ext.form.field.Number.html#config-allowDecimals" rel="config-allowDecimals" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-cfg-allowDecimals" class="viewSource">view source</a></div><a name="allowDecimals"></a><a name="config-allowDecimals"></a><a href="Ext.form.field.Number.html#" rel="config-allowDecimals" class="cls expand">allowDecimals</a><span> : Boolean</span></div><div class="description"><div class="short"><p>False to disallow decimal values (defaults to true)</p>
200 </div><div class="long"><p>False to disallow decimal values (defaults to true)</p>
201 </div></div></div><div id="config-autoEl" class="member inherited"><a href="Ext.form.field.Number.html#config-autoEl" rel="config-autoEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-autoEl" class="viewSource">view source</a></div><a name="autoEl"></a><a name="config-autoEl"></a><a href="Ext.form.field.Number.html#" rel="config-autoEl" class="cls expand">autoEl</a><span> : Mixed</span></div><div class="description"><div class="short">A tag name or DomHelper spec used to create the Element which will
202 encapsulate this Component.
203
204
205 You do not normally ...</div><div class="long"><p>A tag name or <a href="Ext.core.DomHelper.html" rel="Ext.core.DomHelper" class="docClass">DomHelper</a> spec used to create the <a href="Ext.form.field.Number.html#getEl" rel="Ext.form.field.Number#getEl" class="docClass">Element</a> which will
206 encapsulate this Component.</p>
207
208
209 <p>You do not normally need to specify this. For the base classes <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> and <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Ext.container.Container</a>,
210 this defaults to <b><tt>'div'</tt></b>. The more complex Sencha classes use a more complex
211 DOM structure specified by their own <a href="Ext.form.field.Number.html#renderTpl" rel="Ext.form.field.Number#renderTpl" class="docClass">renderTpl</a>s.</p>
212
213
214 <p>This is intended to allow the developer to create application-specific utility Components encapsulated by
215 different DOM elements. Example usage:</p>
216
217
218 <pre><code>{
219     xtype: 'component',
220     autoEl: {
221         tag: 'img',
222         src: 'http://www.example.com/example.jpg'
223     }
224 }, {
225     xtype: 'component',
226     autoEl: {
227         tag: 'blockquote',
228         html: 'autoEl is cool!'
229     }
230 }, {
231     xtype: 'container',
232     autoEl: 'ul',
233     cls: 'ux-unordered-list',
234     items: {
235         xtype: 'component',
236         autoEl: 'li',
237         html: 'First list item'
238     }
239 }
240 </code></pre>
241
242 </div></div></div><div id="config-autoFitErrors" class="member inherited"><a href="Ext.form.field.Number.html#config-autoFitErrors" rel="config-autoFitErrors" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-autoFitErrors" class="viewSource">view source</a></div><a name="autoFitErrors"></a><a name="config-autoFitErrors"></a><a href="Ext.form.field.Number.html#" rel="config-autoFitErrors" class="cls expand">autoFitErrors</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Whether to adjust the component's body area to make room for 'side' or 'under'
243 <a href="Ext.form.field.Number.html#msgTarget" rel="Ext.form.field.Number#msgTarget" class="docClass">error messages</a>. Defaults to <tt>true</tt>.</p>
244 </div><div class="long"><p>Whether to adjust the component's body area to make room for 'side' or 'under'
245 <a href="Ext.form.field.Number.html#msgTarget" rel="Ext.form.field.Number#msgTarget" class="docClass">error messages</a>. Defaults to <tt>true</tt>.</p>
246 </div></div></div><div id="config-autoRender" class="member inherited"><a href="Ext.form.field.Number.html#config-autoRender" rel="config-autoRender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-autoRender" class="viewSource">view source</a></div><a name="autoRender"></a><a name="config-autoRender"></a><a href="Ext.form.field.Number.html#" rel="config-autoRender" class="cls expand">autoRender</a><span> : Mixed</span></div><div class="description"><div class="short">This config is intended mainly for floating Components which may or may not be shown. Instead
247 of using renderTo in th...</div><div class="long"><p>This config is intended mainly for <a href="Ext.form.field.Number.html#floating" rel="Ext.form.field.Number#floating" class="docClass">floating</a> Components which may or may not be shown. Instead
248 of using <a href="Ext.form.field.Number.html#renderTo" rel="Ext.form.field.Number#renderTo" class="docClass">renderTo</a> in the configuration, and rendering upon construction, this allows a Component
249 to render itself upon first <i><a href="Ext.form.field.Number.html#show" rel="Ext.form.field.Number#show" class="docClass">show</a></i>.</p>
250
251
252 <p>Specify as <code>true</code> to have this Component render to the document body upon first show.</p>
253
254
255 <p>Specify as an element, or the ID of an element to have this Component render to a specific element upon first show.</p>
256
257
258 <p><b>This defaults to <code>true</code> for the <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a> class.</b></p>
259
260 </div></div></div><div id="config-autoScroll" class="member inherited"><a href="Ext.form.field.Number.html#config-autoScroll" rel="config-autoScroll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-autoScroll" class="viewSource">view source</a></div><a name="autoScroll"></a><a name="config-autoScroll"></a><a href="Ext.form.field.Number.html#" rel="config-autoScroll" class="cls expand">autoScroll</a><span> : Boolean</span></div><div class="description"><div class="short">true to use overflow:'auto' on the components layout element and show scroll bars automatically when
261 necessary, false...</div><div class="long"><p><code>true</code> to use overflow:'auto' on the components layout element and show scroll bars automatically when
262 necessary, <code>false</code> to clip any overflowing content (defaults to <code>false</code>).</p>
263 </div></div></div><div id="config-autoShow" class="member inherited"><a href="Ext.form.field.Number.html#config-autoShow" rel="config-autoShow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-autoShow" class="viewSource">view source</a></div><a name="autoShow"></a><a name="config-autoShow"></a><a href="Ext.form.field.Number.html#" rel="config-autoShow" class="cls expand">autoShow</a><span> : Boolean</span></div><div class="description"><div class="short">True to automatically show the component upon creation.
264 This config option may only be used for floating components o...</div><div class="long"><p>True to automatically show the component upon creation.
265 This config option may only be used for <a href="Ext.form.field.Number.html#floating" rel="Ext.form.field.Number#floating" class="docClass">floating</a> components or components
266 that use <a href="Ext.form.field.Number.html#autoRender" rel="Ext.form.field.Number#autoRender" class="docClass">autoRender</a>. Defaults to <tt>false</tt>.</p>
267 </div></div></div><div id="config-autoStripChars" class="member ni"><a href="Ext.form.field.Number.html#config-autoStripChars" rel="config-autoStripChars" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-cfg-autoStripChars" class="viewSource">view source</a></div><a name="autoStripChars"></a><a name="config-autoStripChars"></a><a href="Ext.form.field.Number.html#" rel="config-autoStripChars" class="cls expand">autoStripChars</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to automatically strip not allowed characters from the field. Defaults to <tt>false</tt></p>
268 </div><div class="long"><p>True to automatically strip not allowed characters from the field. Defaults to <tt>false</tt></p>
269 </div></div></div><div id="config-baseBodyCls" class="member inherited"><a href="Ext.form.field.Number.html#config-baseBodyCls" rel="config-baseBodyCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-baseBodyCls" class="viewSource">view source</a></div><a name="baseBodyCls"></a><a name="config-baseBodyCls"></a><a href="Ext.form.field.Number.html#" rel="config-baseBodyCls" class="cls expand">baseBodyCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to the body content element. Defaults to 'x-form-item-body'.</p>
270 </div><div class="long"><p>The CSS class to be applied to the body content element. Defaults to 'x-form-item-body'.</p>
271 </div></div></div><div id="config-baseChars" class="member ni"><a href="Ext.form.field.Number.html#config-baseChars" rel="config-baseChars" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-cfg-baseChars" class="viewSource">view source</a></div><a name="baseChars"></a><a name="config-baseChars"></a><a href="Ext.form.field.Number.html#" rel="config-baseChars" class="cls expand">baseChars</a><span> : String</span></div><div class="description"><div class="short"><p>The base set of characters to evaluate as valid numbers (defaults to '0123456789').</p>
272 </div><div class="long"><p>The base set of characters to evaluate as valid numbers (defaults to '0123456789').</p>
273 </div></div></div><div id="config-baseCls" class="member inherited"><a href="Ext.form.field.Number.html#config-baseCls" rel="config-baseCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.form.field.Number.html#" rel="config-baseCls" class="cls expand">baseCls</a><span> : String</span></div><div class="description"><div class="short">The base CSS class to apply to this components's element. This will also be prepended to
274 elements within this compone...</div><div class="long"><p>The base CSS class to apply to this components's element. This will also be prepended to
275 elements within this component like Panel's body will get a class x-panel-body. This means
276 that if you create a subclass of Panel, and you want it to get all the Panels styling for the
277 element and the body, you leave the baseCls x-panel and use componentCls to add specific styling for this
278 component.</p>
279 </div></div></div><div id="config-blankText" class="member inherited"><a href="Ext.form.field.Number.html#config-blankText" rel="config-blankText" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-blankText" class="viewSource">view source</a></div><a name="blankText"></a><a name="config-blankText"></a><a href="Ext.form.field.Number.html#" rel="config-blankText" class="cls expand">blankText</a><span> : String</span></div><div class="description"><div class="short"><p>The error text to display if the <b><tt><a href="Ext.form.field.Number.html#allowBlank" rel="Ext.form.field.Number#allowBlank" class="docClass">allowBlank</a></tt></b> validation
280 fails (defaults to <tt>'This field is required'</tt>)</p>
281 </div><div class="long"><p>The error text to display if the <b><tt><a href="Ext.form.field.Number.html#allowBlank" rel="Ext.form.field.Number#allowBlank" class="docClass">allowBlank</a></tt></b> validation
282 fails (defaults to <tt>'This field is required'</tt>)</p>
283 </div></div></div><div id="config-border" class="member inherited"><a href="Ext.form.field.Number.html#config-border" rel="config-border" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-border" class="viewSource">view source</a></div><a name="border"></a><a name="config-border"></a><a href="Ext.form.field.Number.html#" rel="config-border" class="cls expand">border</a><span> : Number/String</span></div><div class="description"><div class="short">Specifies the border for this component. The border can be a single numeric value to apply to all sides or
284 it can be ...</div><div class="long"><p>Specifies the border for this component. The border can be a single numeric value to apply to all sides or
285 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
286 </div></div></div><div id="config-checkChangeBuffer" class="member inherited"><a href="Ext.form.field.Number.html#config-checkChangeBuffer" rel="config-checkChangeBuffer" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-checkChangeBuffer" class="viewSource">view source</a></div><a name="checkChangeBuffer"></a><a name="config-checkChangeBuffer"></a><a href="Ext.form.field.Number.html#" rel="config-checkChangeBuffer" class="cls expand">checkChangeBuffer</a><span> : Number</span></div><div class="description"><div class="short">Defines a timeout in milliseconds for buffering checkChangeEvents that fire in rapid succession.
287 Defaults to 50 milli...</div><div class="long"><p>Defines a timeout in milliseconds for buffering <a href="Ext.form.field.Number.html#checkChangeEvents" rel="Ext.form.field.Number#checkChangeEvents" class="docClass">checkChangeEvents</a> that fire in rapid succession.
288 Defaults to 50 milliseconds.</p>
289 </div></div></div><div id="config-checkChangeEvents" class="member inherited"><a href="Ext.form.field.Number.html#config-checkChangeEvents" rel="config-checkChangeEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-checkChangeEvents" class="viewSource">view source</a></div><a name="checkChangeEvents"></a><a name="config-checkChangeEvents"></a><a href="Ext.form.field.Number.html#" rel="config-checkChangeEvents" class="cls expand">checkChangeEvents</a><span> : Array</span></div><div class="description"><div class="short">A list of event names that will be listened for on the field's input element, which
290 will cause the field's value to b...</div><div class="long"><p>A list of event names that will be listened for on the field's <a href="Ext.form.field.Number.html#inputEl" rel="Ext.form.field.Number#inputEl" class="docClass">input element</a>, which
291 will cause the field's value to be checked for changes. If a change is detected, the
292 <a href="Ext.form.field.Number.html#change" rel="Ext.form.field.Number#change" class="docClass">change event</a> will be fired, followed by validation if the <a href="Ext.form.field.Number.html#validateOnChange" rel="Ext.form.field.Number#validateOnChange" class="docClass">validateOnChange</a>
293 option is enabled.</p>
294
295
296 <p>Defaults to <tt>['change', 'propertychange']</tt> in Internet Explorer, and <tt>['change', 'input',
297 'textInput', 'keyup', 'dragdrop']</tt> in other browsers. This catches all the ways that field values
298 can be changed in most supported browsers; the only known exceptions at the time of writing are:</p>
299
300
301 <ul>
302 <li>Safari 3.2 and older: cut/paste in textareas via the context menu, and dragging text into textareas</li>
303 <li>Opera 10 and 11: dragging text into text fields and textareas, and cut via the context menu in text
304 fields and textareas</li>
305 <li>Opera 9: Same as Opera 10 and 11, plus paste from context menu in text fields and textareas</li>
306 </ul>
307
308
309 <p>If you need to guarantee on-the-fly change notifications including these edge cases, you can call the
310 <a href="Ext.form.field.Number.html#checkChange" rel="Ext.form.field.Number#checkChange" class="docClass">checkChange</a> method on a repeating interval, e.g. using <a href="Ext.TaskManager.html" rel="Ext.TaskManager" class="docClass">Ext.TaskManager</a>, or if the field is
311 within a <a href="Ext.form.Panel.html" rel="Ext.form.Panel" class="docClass">Ext.form.Panel</a>, you can use the FormPanel's <a href="Ext.form.Panel.html#pollForChanges" rel="Ext.form.Panel#pollForChanges" class="docClass">Ext.form.Panel.pollForChanges</a>
312 configuration to set up such a task automatically.</p>
313
314 </div></div></div><div id="config-clearCls" class="member inherited"><a href="Ext.form.field.Number.html#config-clearCls" rel="config-clearCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-clearCls" class="viewSource">view source</a></div><a name="clearCls"></a><a name="config-clearCls"></a><a href="Ext.form.field.Number.html#" rel="config-clearCls" class="cls expand">clearCls</a><span> : String</span></div><div class="description"><div class="short">The CSS class to be applied to the special clearing div rendered directly after the field
315 contents wrapper to provide...</div><div class="long"><p>The CSS class to be applied to the special clearing div rendered directly after the field
316 contents wrapper to provide field clearing (defaults to <tt>'x-clear'</tt>).</p>
317 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.form.field.Number.html#config-cls" rel="config-cls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-cls" class="viewSource">view source</a></div><a name="cls"></a><a name="config-cls"></a><a href="Ext.form.field.Number.html#" rel="config-cls" class="cls expand">cls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
318 useful for ...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
319 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
320 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.form.field.Number.html#config-componentCls" rel="config-componentCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-componentCls" class="viewSource">view source</a></div><a name="componentCls"></a><a name="config-componentCls"></a><a href="Ext.form.field.Number.html#" rel="config-componentCls" class="cls expand">componentCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS Class to be added to a components root level element to give distinction to it
321 via styling.</p>
322 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
323 via styling.</p>
324 </div></div></div><div id="config-componentLayout" class="member inherited"><a href="Ext.form.field.Number.html#config-componentLayout" rel="config-componentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-componentLayout" class="viewSource">view source</a></div><a name="componentLayout"></a><a name="config-componentLayout"></a><a href="Ext.form.field.Number.html#" rel="config-componentLayout" class="cls expand">componentLayout</a><span> : String/Object</span></div><div class="description"><div class="short">The sizing and positioning of a Component's internal Elements is the responsibility of
325 the Component's layout manager...</div><div class="long"><p>The sizing and positioning of a Component's internal Elements is the responsibility of
326 the Component's layout manager which sizes a Component's internal structure in response to the Component being sized.</p>
327
328
329 <p>Generally, developers will not use this configuration as all provided Components which need their internal
330 elements sizing (Such as <a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="docClass">input fields</a>) come with their own componentLayout managers.</p>
331
332
333 <p>The <a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">default layout manager</a> will be used on instances of the base <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> class
334 which simply sizes the Component's encapsulating element to the height and width specified in the <a href="Ext.form.field.Number.html#setSize" rel="Ext.form.field.Number#setSize" class="docClass">setSize</a> method.</p>
335
336 </div></div></div><div id="config-contentEl" class="member inherited"><a href="Ext.form.field.Number.html#config-contentEl" rel="config-contentEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-contentEl" class="viewSource">view source</a></div><a name="contentEl"></a><a name="config-contentEl"></a><a href="Ext.form.field.Number.html#" rel="config-contentEl" class="cls expand">contentEl</a><span> : String</span></div><div class="description"><div class="short">Optional. Specify an existing HTML element, or the id of an existing HTML element to use as the content
337 for this comp...</div><div class="long"><p>Optional. Specify an existing HTML element, or the <code>id</code> of an existing HTML element to use as the content
338 for this component.</p>
339
340
341 <ul>
342 <li><b>Description</b> :
343 <div class="sub-desc">This config option is used to take an existing HTML element and place it in the layout element
344 of a new component (it simply moves the specified DOM element <i>after the Component is rendered</i> to use as the content.</div></li>
345 <li><b>Notes</b> :
346 <div class="sub-desc">The specified HTML element is appended to the layout element of the component <i>after any configured
347 <a href="Ext.form.field.Number.html#html" rel="Ext.form.field.Number#html" class="docClass">HTML</a> has been inserted</i>, and so the document will not contain this element at the time the <a href="Ext.form.field.Number.html#render" rel="Ext.form.field.Number#render" class="docClass">render</a> event is fired.</div>
348 <div class="sub-desc">The specified HTML element used will not participate in any <code><b><a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout</a></b></code>
349 scheme that the Component may use. It is just HTML. Layouts operate on child <code><b><a href="Ext.container.Container.html#items" rel="Ext.container.Container#items" class="docClass">items</a></b></code>.</div>
350 <div class="sub-desc">Add either the <code>x-hidden</code> or the <code>x-hide-display</code> CSS class to
351 prevent a brief flicker of the content before it is rendered to the panel.</div></li>
352 </ul>
353
354 </div></div></div><div id="config-data" class="member inherited"><a href="Ext.form.field.Number.html#config-data" rel="config-data" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-data" class="viewSource">view source</a></div><a name="data"></a><a name="config-data"></a><a href="Ext.form.field.Number.html#" rel="config-data" class="cls expand">data</a><span> : Mixed</span></div><div class="description"><div class="short"><p>The initial set of data to apply to the <code><a href="Ext.form.field.Number.html#tpl" rel="Ext.form.field.Number#tpl" class="docClass">tpl</a></code> to
355 update the content area of the Component.</p>
356 </div><div class="long"><p>The initial set of data to apply to the <code><a href="Ext.form.field.Number.html#tpl" rel="Ext.form.field.Number#tpl" class="docClass">tpl</a></code> to
357 update the content area of the Component.</p>
358 </div></div></div><div id="config-decimalPrecision" class="member ni"><a href="Ext.form.field.Number.html#config-decimalPrecision" rel="config-decimalPrecision" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-cfg-decimalPrecision" class="viewSource">view source</a></div><a name="decimalPrecision"></a><a name="config-decimalPrecision"></a><a href="Ext.form.field.Number.html#" rel="config-decimalPrecision" class="cls expand">decimalPrecision</a><span> : Number</span></div><div class="description"><div class="short"><p>The maximum precision to display after the decimal separator (defaults to 2)</p>
359 </div><div class="long"><p>The maximum precision to display after the decimal separator (defaults to 2)</p>
360 </div></div></div><div id="config-decimalSeparator" class="member ni"><a href="Ext.form.field.Number.html#config-decimalSeparator" rel="config-decimalSeparator" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-cfg-decimalSeparator" class="viewSource">view source</a></div><a name="decimalSeparator"></a><a name="config-decimalSeparator"></a><a href="Ext.form.field.Number.html#" rel="config-decimalSeparator" class="cls expand">decimalSeparator</a><span> : String</span></div><div class="description"><div class="short"><p>Character(s) to allow as the decimal separator (defaults to '.')</p>
361 </div><div class="long"><p>Character(s) to allow as the decimal separator (defaults to '.')</p>
362 </div></div></div><div id="config-dirtyCls" class="member inherited"><a href="Ext.form.field.Number.html#config-dirtyCls" rel="config-dirtyCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-dirtyCls" class="viewSource">view source</a></div><a name="dirtyCls"></a><a name="config-dirtyCls"></a><a href="Ext.form.field.Number.html#" rel="config-dirtyCls" class="cls expand">dirtyCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to use when the field value <a href="Ext.form.field.Number.html#isDirty" rel="Ext.form.field.Number#isDirty" class="docClass">is dirty</a>.</p>
363 </div><div class="long"><p>The CSS class to use when the field value <a href="Ext.form.field.Number.html#isDirty" rel="Ext.form.field.Number#isDirty" class="docClass">is dirty</a>.</p>
364 </div></div></div><div id="config-disableKeyFilter" class="member inherited"><a href="Ext.form.field.Number.html#config-disableKeyFilter" rel="config-disableKeyFilter" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-disableKeyFilter" class="viewSource">view source</a></div><a name="disableKeyFilter"></a><a name="config-disableKeyFilter"></a><a href="Ext.form.field.Number.html#" rel="config-disableKeyFilter" class="cls expand">disableKeyFilter</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Specify <tt>true</tt> to disable input keystroke filtering (defaults
365 to <tt>false</tt>)</p>
366 </div><div class="long"><p>Specify <tt>true</tt> to disable input keystroke filtering (defaults
367 to <tt>false</tt>)</p>
368 </div></div></div><div id="config-disabled" class="member inherited"><a href="Ext.form.field.Number.html#config-disabled" rel="config-disabled" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-cfg-disabled" class="viewSource">view source</a></div><a name="disabled"></a><a name="config-disabled"></a><a href="Ext.form.field.Number.html#" rel="config-disabled" class="cls expand">disabled</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to disable the field (defaults to false). Disabled Fields will not be
369 <a href="Ext.form.Basic.html#submit" rel="Ext.form.Basic#submit" class="docClass">submitted</a>.</p></p>
370 </div><div class="long"><p>True to disable the field (defaults to false). Disabled Fields will not be
371 <a href="Ext.form.Basic.html#submit" rel="Ext.form.Basic#submit" class="docClass">submitted</a>.</p></p>
372 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.form.field.Number.html#config-disabledCls" rel="config-disabledCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-disabledCls" class="viewSource">view source</a></div><a name="disabledCls"></a><a name="config-disabledCls"></a><a href="Ext.form.field.Number.html#" rel="config-disabledCls" class="cls expand">disabledCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
373 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
374 </div></div></div><div id="config-draggable" class="member inherited"><a href="Ext.form.field.Number.html#config-draggable" rel="config-draggable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-draggable" class="viewSource">view source</a></div><a name="draggable"></a><a name="config-draggable"></a><a href="Ext.form.field.Number.html#" rel="config-draggable" class="cls expand">draggable</a><span> : Mixed</span></div><div class="description"><div class="short">Specify as true to make a floating Component draggable using the Component's encapsulating element as the drag handle...</div><div class="long"><p>Specify as true to make a <a href="Ext.form.field.Number.html#floating" rel="Ext.form.field.Number#floating" class="docClass">floating</a> Component draggable using the Component's encapsulating element as the drag handle.</p>
375
376
377 <p>This may also be specified as a config object for the <a href="Ext.util.ComponentDragger.html" rel="Ext.util.ComponentDragger" class="docClass">ComponentDragger</a> which is instantiated to perform dragging.</p>
378
379
380 <p>For example to create a Component which may only be dragged around using a certain internal element as the drag handle,
381 use the delegate option:</p>
382
383
384 <p><code></p>
385
386 <pre>new Ext.Component({
387     constrain: true,
388     floating:true,
389     style: {
390         backgroundColor: '#fff',
391         border: '1px solid black'
392     },
393     html: '&lt;h1 style="cursor:move"&gt;The title&lt;/h1&gt;&lt;p&gt;The content&lt;/p&gt;',
394     draggable: {
395         delegate: 'h1'
396     }
397 }).show();
398 </pre>
399
400
401 <p></code></p>
402 </div></div></div><div id="config-editable" class="member inherited"><a href="Ext.form.field.Number.html#config-editable" rel="config-editable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-cfg-editable" class="viewSource">view source</a></div><a name="editable"></a><a name="config-editable"></a><a href="Ext.form.field.Number.html#" rel="config-editable" class="cls expand">editable</a><span> : Boolean</span></div><div class="description"><div class="short">false to prevent the user from typing text directly into the field;
403 the field can only have its value set via an acti...</div><div class="long"><p><tt>false</tt> to prevent the user from typing text directly into the field;
404 the field can only have its value set via an action invoked by the trigger. (defaults to <tt>true</tt>).</p>
405 </div></div></div><div id="config-emptyCls" class="member inherited"><a href="Ext.form.field.Number.html#config-emptyCls" rel="config-emptyCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-emptyCls" class="viewSource">view source</a></div><a name="emptyCls"></a><a name="config-emptyCls"></a><a href="Ext.form.field.Number.html#" rel="config-emptyCls" class="cls expand">emptyCls</a><span> : String</span></div><div class="description"><div class="short">The CSS class to apply to an empty field to style the emptyText
406 (defaults to 'x-form-empty-field').  This class is au...</div><div class="long"><p>The CSS class to apply to an empty field to style the <b><tt><a href="Ext.form.field.Number.html#emptyText" rel="Ext.form.field.Number#emptyText" class="docClass">emptyText</a></tt></b>
407 (defaults to <tt>'x-form-empty-field'</tt>).  This class is automatically added and removed as needed
408 depending on the current field value.</p>
409 </div></div></div><div id="config-emptyText" class="member inherited"><a href="Ext.form.field.Number.html#config-emptyText" rel="config-emptyText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-emptyText" class="viewSource">view source</a></div><a name="emptyText"></a><a name="config-emptyText"></a><a href="Ext.form.field.Number.html#" rel="config-emptyText" class="cls expand">emptyText</a><span> : String</span></div><div class="description"><div class="short">The default text to place into an empty field (defaults to undefined).
410
411
412 Note that normally this value will be submit...</div><div class="long"><p>The default text to place into an empty field (defaults to <tt>undefined</tt>).</p>
413
414
415 <p>Note that normally this value will be submitted to the server if this field is enabled; to prevent this
416 you can set the <a href="Ext.form.action.Action.html#submitEmptyText" rel="Ext.form.action.Action#submitEmptyText" class="docClass">submitEmptyText</a> option of
417 <a href="Ext.form.Basic.html#submit" rel="Ext.form.Basic#submit" class="docClass">Ext.form.Basic.submit</a> to <tt>false</tt>.</p>
418
419
420 <p>Also note that if you use <tt><a href="Ext.form.field.Number.html#inputType" rel="Ext.form.field.Number#inputType" class="docClass">inputType</a>:'file'</tt>, <a href="Ext.form.field.Number.html#emptyText" rel="Ext.form.field.Number#emptyText" class="docClass">emptyText</a> is not
421 supported and should be avoided.</p>
422
423 </div></div></div><div id="config-enableKeyEvents" class="member inherited"><a href="Ext.form.field.Number.html#config-enableKeyEvents" rel="config-enableKeyEvents" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-enableKeyEvents" class="viewSource">view source</a></div><a name="enableKeyEvents"></a><a name="config-enableKeyEvents"></a><a href="Ext.form.field.Number.html#" rel="config-enableKeyEvents" class="cls expand">enableKeyEvents</a><span> : Boolean</span></div><div class="description"><div class="short"><p><tt>true</tt> to enable the proxying of key events for the HTML input field (defaults to <tt>false</tt>)</p>
424 </div><div class="long"><p><tt>true</tt> to enable the proxying of key events for the HTML input field (defaults to <tt>false</tt>)</p>
425 </div></div></div><div id="config-enforceMaxLength" class="member inherited"><a href="Ext.form.field.Number.html#config-enforceMaxLength" rel="config-enforceMaxLength" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-enforceMaxLength" class="viewSource">view source</a></div><a name="enforceMaxLength"></a><a name="config-enforceMaxLength"></a><a href="Ext.form.field.Number.html#" rel="config-enforceMaxLength" class="cls expand">enforceMaxLength</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to set the maxLength property on the underlying input field. Defaults to <tt>false</tt></p>
426 </div><div class="long"><p>True to set the maxLength property on the underlying input field. Defaults to <tt>false</tt></p>
427 </div></div></div><div id="config-errorMsgCls" class="member inherited"><a href="Ext.form.field.Number.html#config-errorMsgCls" rel="config-errorMsgCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-errorMsgCls" class="viewSource">view source</a></div><a name="errorMsgCls"></a><a name="config-errorMsgCls"></a><a href="Ext.form.field.Number.html#" rel="config-errorMsgCls" class="cls expand">errorMsgCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to the error message element. Defaults to 'x-form-error-msg'.</p>
428 </div><div class="long"><p>The CSS class to be applied to the error message element. Defaults to 'x-form-error-msg'.</p>
429 </div></div></div><div id="config-fieldBodyCls" class="member inherited"><a href="Ext.form.field.Number.html#config-fieldBodyCls" rel="config-fieldBodyCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-fieldBodyCls" class="viewSource">view source</a></div><a name="fieldBodyCls"></a><a name="config-fieldBodyCls"></a><a href="Ext.form.field.Number.html#" rel="config-fieldBodyCls" class="cls expand">fieldBodyCls</a><span> : String</span></div><div class="description"><div class="short"><p>An extra CSS class to be applied to the body content element in addition to <a href="Ext.form.field.Number.html#fieldBodyCls" rel="Ext.form.field.Number#fieldBodyCls" class="docClass">fieldBodyCls</a>.
430 Defaults to empty.</p>
431 </div><div class="long"><p>An extra CSS class to be applied to the body content element in addition to <a href="Ext.form.field.Number.html#fieldBodyCls" rel="Ext.form.field.Number#fieldBodyCls" class="docClass">fieldBodyCls</a>.
432 Defaults to empty.</p>
433 </div></div></div><div id="config-fieldCls" class="member inherited"><a href="Ext.form.field.Number.html#config-fieldCls" rel="config-fieldCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-fieldCls" class="viewSource">view source</a></div><a name="fieldCls"></a><a name="config-fieldCls"></a><a href="Ext.form.field.Number.html#" rel="config-fieldCls" class="cls expand">fieldCls</a><span> : String</span></div><div class="description"><div class="short"><p>The default CSS class for the field input (defaults to 'x-form-field')</p>
434 </div><div class="long"><p>The default CSS class for the field input (defaults to 'x-form-field')</p>
435 </div></div></div><div id="config-fieldLabel" class="member inherited"><a href="Ext.form.field.Number.html#config-fieldLabel" rel="config-fieldLabel" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-fieldLabel" class="viewSource">view source</a></div><a name="fieldLabel"></a><a name="config-fieldLabel"></a><a href="Ext.form.field.Number.html#" rel="config-fieldLabel" class="cls expand">fieldLabel</a><span> : String</span></div><div class="description"><div class="short">The label for the field. It gets appended with the labelSeparator, and its position
436 and sizing is determined by the l...</div><div class="long"><p>The label for the field. It gets appended with the <a href="Ext.form.field.Number.html#labelSeparator" rel="Ext.form.field.Number#labelSeparator" class="docClass">labelSeparator</a>, and its position
437 and sizing is determined by the <a href="Ext.form.field.Number.html#labelAlign" rel="Ext.form.field.Number#labelAlign" class="docClass">labelAlign</a>, <a href="Ext.form.field.Number.html#labelWidth" rel="Ext.form.field.Number#labelWidth" class="docClass">labelWidth</a>, and <a href="Ext.form.field.Number.html#labelPad" rel="Ext.form.field.Number#labelPad" class="docClass">labelPad</a>
438 configs. Defaults to undefined.</p>
439 </div></div></div><div id="config-fieldStyle" class="member inherited"><a href="Ext.form.field.Number.html#config-fieldStyle" rel="config-fieldStyle" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-fieldStyle" class="viewSource">view source</a></div><a name="fieldStyle"></a><a name="config-fieldStyle"></a><a href="Ext.form.field.Number.html#" rel="config-fieldStyle" class="cls expand">fieldStyle</a><span> : String</span></div><div class="description"><div class="short">Optional CSS style(s) to be applied to the field input element.
440 Should be a valid argument to Ext.core.Element.applyS...</div><div class="long"><p>Optional CSS style(s) to be applied to the <a href="Ext.form.field.Number.html#inputEl" rel="Ext.form.field.Number#inputEl" class="docClass">field input element</a>.
441 Should be a valid argument to <a href="Ext.core.Element.html#applyStyles" rel="Ext.core.Element#applyStyles" class="docClass">Ext.core.Element.applyStyles</a>. Defaults to undefined. See also the
442 <a href="Ext.form.field.Number.html#setFieldStyle" rel="Ext.form.field.Number#setFieldStyle" class="docClass">setFieldStyle</a> method for changing the style after initialization.</p>
443 </div></div></div><div id="config-floating" class="member inherited"><a href="Ext.form.field.Number.html#config-floating" rel="config-floating" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-floating" class="viewSource">view source</a></div><a name="floating"></a><a name="config-floating"></a><a href="Ext.form.field.Number.html#" rel="config-floating" class="cls expand">floating</a><span> : Boolean</span></div><div class="description"><div class="short">Specify as true to float the Component outside of the document flow using CSS absolute positioning.
444
445
446 Components such...</div><div class="long"><p>Specify as true to float the Component outside of the document flow using CSS absolute positioning.</p>
447
448
449 <p>Components such as <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a>s and <a href="Ext.menu.Menu.html" rel="Ext.menu.Menu" class="docClass">Menu</a>s are floating
450 by default.</p>
451
452
453 <p>Floating Components that are programatically <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a> will register themselves with the global
454 <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a></p>
455
456
457 <h3 class="pa">Floating Components as child items of a Container</h3>
458
459
460 <p>A floating Component may be used as a child item of a Container. This just allows the floating Component to seek a ZIndexManager by
461 examining the ownerCt chain.</p>
462
463
464 <p>When configured as floating, Components acquire, at render time, a <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a> which manages a stack
465 of related floating Components. The ZIndexManager brings a single floating Component to the top of its stack when
466 the Component's <a href="Ext.form.field.Number.html#toFront" rel="Ext.form.field.Number#toFront" class="docClass">toFront</a> method is called.</p>
467
468
469 <p>The ZIndexManager is found by traversing up the <a href="Ext.form.field.Number.html#ownerCt" rel="Ext.form.field.Number#ownerCt" class="docClass">ownerCt</a> chain to find an ancestor which itself is floating. This is so that
470 descendant floating Components of floating <i>Containers</i> (Such as a ComboBox dropdown within a Window) can have its zIndex managed relative
471 to any siblings, but always <b>above</b> that floating ancestor Container.</p>
472
473
474 <p>If no floating ancestor is found, a floating Component registers itself with the default <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a>.</p>
475
476
477 <p>Floating components <i>do not participate in the Container's layout</i>. Because of this, they are not rendered until you explicitly
478 <a href="Ext.form.field.Number.html#show" rel="Ext.form.field.Number#show" class="docClass">show</a> them.</p>
479
480
481 <p>After rendering, the ownerCt reference is deleted, and the <a href="Ext.form.field.Number.html#floatParent" rel="Ext.form.field.Number#floatParent" class="docClass">floatParent</a> property is set to the found floating ancestor Container.
482 If no floating ancestor Container was found the <a href="Ext.form.field.Number.html#floatParent" rel="Ext.form.field.Number#floatParent" class="docClass">floatParent</a> property will not be set.</p>
483
484 </div></div></div><div id="config-focusCls" class="member inherited"><a href="Ext.form.field.Number.html#config-focusCls" rel="config-focusCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-focusCls" class="viewSource">view source</a></div><a name="focusCls"></a><a name="config-focusCls"></a><a href="Ext.form.field.Number.html#" rel="config-focusCls" class="cls expand">focusCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to use when the field receives focus (defaults to 'x-form-focus')</p>
485 </div><div class="long"><p>The CSS class to use when the field receives focus (defaults to 'x-form-focus')</p>
486 </div></div></div><div id="config-focusOnToFront" class="member inherited"><a href="Ext.form.field.Number.html#config-focusOnToFront" rel="config-focusOnToFront" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-cfg-focusOnToFront" class="viewSource">view source</a></div><a name="focusOnToFront"></a><a name="config-focusOnToFront"></a><a href="Ext.form.field.Number.html#" rel="config-focusOnToFront" class="cls expand">focusOnToFront</a><span> : Boolean</span></div><div class="description"><div class="short">Specifies whether the floated component should be automatically focused when it is
487 brought to the front. Defaults to ...</div><div class="long"><p>Specifies whether the floated component should be automatically <a href="Ext.form.field.Number.html#focus" rel="Ext.form.field.Number#focus" class="docClass">focused</a> when it is
488 <a href="Ext.form.field.Number.html#toFront" rel="Ext.form.field.Number#toFront" class="docClass">brought to the front</a>. Defaults to true.</p>
489 </div></div></div><div id="config-formItemCls" class="member inherited"><a href="Ext.form.field.Number.html#config-formItemCls" rel="config-formItemCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-formItemCls" class="viewSource">view source</a></div><a name="formItemCls"></a><a name="config-formItemCls"></a><a href="Ext.form.field.Number.html#" rel="config-formItemCls" class="cls expand">formItemCls</a><span> : String</span></div><div class="description"><div class="short">A CSS class to be applied to the outermost element to denote that it is participating in the form
490 field layout. Defau...</div><div class="long"><p>A CSS class to be applied to the outermost element to denote that it is participating in the form
491 field layout. Defaults to 'x-form-item'.</p>
492 </div></div></div><div id="config-frame" class="member inherited"><a href="Ext.form.field.Number.html#config-frame" rel="config-frame" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-frame" class="viewSource">view source</a></div><a name="frame"></a><a name="config-frame"></a><a href="Ext.form.field.Number.html#" rel="config-frame" class="cls expand">frame</a><span> : Boolean</span></div><div class="description"><div class="short">Specify as true to have the Component inject framing elements within the Component at render time to
493 provide a graphi...</div><div class="long"><p>Specify as <code>true</code> to have the Component inject framing elements within the Component at render time to
494 provide a graphical rounded frame around the Component content.</p>
495
496
497 <p>This is only necessary when running on outdated, or non standard-compliant browsers such as Microsoft's Internet Explorer
498 prior to version 9 which do not support rounded corners natively.</p>
499
500
501 <p>The extra space taken up by this framing is available from the read only property <a href="Ext.form.field.Number.html#frameSize" rel="Ext.form.field.Number#frameSize" class="docClass">frameSize</a>.</p>
502
503 </div></div></div><div id="config-grow" class="member inherited"><a href="Ext.form.field.Number.html#config-grow" rel="config-grow" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-grow" class="viewSource">view source</a></div><a name="grow"></a><a name="config-grow"></a><a href="Ext.form.field.Number.html#" rel="config-grow" class="cls expand">grow</a><span> : Boolean</span></div><div class="description"><div class="short"><p><tt>true</tt> if this field should automatically grow and shrink to its content
504 (defaults to <tt>false</tt>)</p>
505 </div><div class="long"><p><tt>true</tt> if this field should automatically grow and shrink to its content
506 (defaults to <tt>false</tt>)</p>
507 </div></div></div><div id="config-growAppend" class="member inherited"><a href="Ext.form.field.Number.html#config-growAppend" rel="config-growAppend" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-growAppend" class="viewSource">view source</a></div><a name="growAppend"></a><a name="config-growAppend"></a><a href="Ext.form.field.Number.html#" rel="config-growAppend" class="cls expand">growAppend</a><span> : String</span></div><div class="description"><div class="short">A string that will be appended to the field's current value for the purposes of calculating the target
508 field size. On...</div><div class="long"><p>A string that will be appended to the field's current value for the purposes of calculating the target
509 field size. Only used when the <a href="Ext.form.field.Number.html#grow" rel="Ext.form.field.Number#grow" class="docClass">grow</a> config is <tt>true</tt>. Defaults to a single capital "W"
510 (the widest character in common fonts) to leave enough space for the next typed character and avoid the
511 field value shifting before the width is adjusted.</p>
512 </div></div></div><div id="config-growMax" class="member inherited"><a href="Ext.form.field.Number.html#config-growMax" rel="config-growMax" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-growMax" class="viewSource">view source</a></div><a name="growMax"></a><a name="config-growMax"></a><a href="Ext.form.field.Number.html#" rel="config-growMax" class="cls expand">growMax</a><span> : Number</span></div><div class="description"><div class="short"><p>The maximum width to allow when <code><b><a href="Ext.form.field.Number.html#grow" rel="Ext.form.field.Number#grow" class="docClass">grow</a></b> = true</code> (defaults
513 to <tt>800</tt>)</p>
514 </div><div class="long"><p>The maximum width to allow when <code><b><a href="Ext.form.field.Number.html#grow" rel="Ext.form.field.Number#grow" class="docClass">grow</a></b> = true</code> (defaults
515 to <tt>800</tt>)</p>
516 </div></div></div><div id="config-growMin" class="member inherited"><a href="Ext.form.field.Number.html#config-growMin" rel="config-growMin" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-growMin" class="viewSource">view source</a></div><a name="growMin"></a><a name="config-growMin"></a><a href="Ext.form.field.Number.html#" rel="config-growMin" class="cls expand">growMin</a><span> : Number</span></div><div class="description"><div class="short"><p>The minimum width to allow when <code><b><a href="Ext.form.field.Number.html#grow" rel="Ext.form.field.Number#grow" class="docClass">grow</a></b> = true</code> (defaults
517 to <tt>30</tt>)</p>
518 </div><div class="long"><p>The minimum width to allow when <code><b><a href="Ext.form.field.Number.html#grow" rel="Ext.form.field.Number#grow" class="docClass">grow</a></b> = true</code> (defaults
519 to <tt>30</tt>)</p>
520 </div></div></div><div id="config-height" class="member inherited"><a href="Ext.form.field.Number.html#config-height" rel="config-height" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-height" class="viewSource">view source</a></div><a name="height"></a><a name="config-height"></a><a href="Ext.form.field.Number.html#" rel="config-height" class="cls expand">height</a><span> : Number</span></div><div class="description"><div class="short"><p>The height of this component in pixels.</p>
521 </div><div class="long"><p>The height of this component in pixels.</p>
522 </div></div></div><div id="config-hidden" class="member inherited"><a href="Ext.form.field.Number.html#config-hidden" rel="config-hidden" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-hidden" class="viewSource">view source</a></div><a name="hidden"></a><a name="config-hidden"></a><a href="Ext.form.field.Number.html#" rel="config-hidden" class="cls expand">hidden</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Defaults to false.</p>
523 </div><div class="long"><p>Defaults to false.</p>
524 </div></div></div><div id="config-hideEmptyLabel" class="member inherited"><a href="Ext.form.field.Number.html#config-hideEmptyLabel" rel="config-hideEmptyLabel" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-hideEmptyLabel" class="viewSource">view source</a></div><a name="hideEmptyLabel"></a><a name="config-hideEmptyLabel"></a><a href="Ext.form.field.Number.html#" rel="config-hideEmptyLabel" class="cls expand">hideEmptyLabel</a><span> : Boolean</span></div><div class="description"><div class="short">When set to true, the label element (fieldLabel and labelSeparator) will be
525 automatically hidden if the fieldLabel is...</div><div class="long"><p>When set to <tt>true</tt>, the label element (<a href="Ext.form.field.Number.html#fieldLabel" rel="Ext.form.field.Number#fieldLabel" class="docClass">fieldLabel</a> and <a href="Ext.form.field.Number.html#labelSeparator" rel="Ext.form.field.Number#labelSeparator" class="docClass">labelSeparator</a>) will be
526 automatically hidden if the <a href="Ext.form.field.Number.html#fieldLabel" rel="Ext.form.field.Number#fieldLabel" class="docClass">fieldLabel</a> is empty. Setting this to <tt>false</tt> will cause the empty
527 label element to be rendered and space to be reserved for it; this is useful if you want a field without a label
528 to line up with other labeled fields in the same form. Defaults to <tt>true</tt>.</p>
529
530
531 <p>If you wish to unconditionall hide the label even if a non-empty fieldLabel is configured, then set
532 the <a href="Ext.form.field.Number.html#hideLabel" rel="Ext.form.field.Number#hideLabel" class="docClass">hideLabel</a> config to <tt>true</tt>.</p>
533
534 </div></div></div><div id="config-hideLabel" class="member inherited"><a href="Ext.form.field.Number.html#config-hideLabel" rel="config-hideLabel" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-hideLabel" class="viewSource">view source</a></div><a name="hideLabel"></a><a name="config-hideLabel"></a><a href="Ext.form.field.Number.html#" rel="config-hideLabel" class="cls expand">hideLabel</a><span> : Boolean</span></div><div class="description"><div class="short">Set to true to completely hide the label element (fieldLabel and labelSeparator).
535 Defaults to false.
536
537
538 Also see hideE...</div><div class="long"><p>Set to <tt>true</tt> to completely hide the label element (<a href="Ext.form.field.Number.html#fieldLabel" rel="Ext.form.field.Number#fieldLabel" class="docClass">fieldLabel</a> and <a href="Ext.form.field.Number.html#labelSeparator" rel="Ext.form.field.Number#labelSeparator" class="docClass">labelSeparator</a>).
539 Defaults to <tt>false</tt>.</p>
540
541
542 <p>Also see <a href="Ext.form.field.Number.html#hideEmptyLabel" rel="Ext.form.field.Number#hideEmptyLabel" class="docClass">hideEmptyLabel</a>, which controls whether space will be reserved for an empty fieldLabel.</p>
543
544 </div></div></div><div id="config-hideMode" class="member inherited"><a href="Ext.form.field.Number.html#config-hideMode" rel="config-hideMode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-hideMode" class="viewSource">view source</a></div><a name="hideMode"></a><a name="config-hideMode"></a><a href="Ext.form.field.Number.html#" rel="config-hideMode" class="cls expand">hideMode</a><span> : String</span></div><div class="description"><div class="short">A String which specifies how this Component's encapsulating DOM element will be hidden.
545 Values may be
546 'display' : The...</div><div class="long"><p>A String which specifies how this Component's encapsulating DOM element will be hidden.
547 Values may be<div class="mdetail-params"><ul>
548 <li><code>'display'</code> : The Component will be hidden using the <code>display: none</code> style.</li>
549 <li><code>'visibility'</code> : The Component will be hidden using the <code>visibility: hidden</code> style.</li>
550 <li><code>'offsets'</code> : The Component will be hidden by absolutely positioning it out of the visible area of the document. This
551 is useful when a hidden Component must maintain measurable dimensions. Hiding using <code>display</code> results
552 in a Component having zero dimensions.</li></ul></div>
553 Defaults to <code>'display'</code>.</p>
554 </div></div></div><div id="config-hideTrigger" class="member inherited"><a href="Ext.form.field.Number.html#config-hideTrigger" rel="config-hideTrigger" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-cfg-hideTrigger" class="viewSource">view source</a></div><a name="hideTrigger"></a><a name="config-hideTrigger"></a><a href="Ext.form.field.Number.html#" rel="config-hideTrigger" class="cls expand">hideTrigger</a><span> : Boolean</span></div><div class="description"><div class="short"><p><tt>true</tt> to hide the trigger element and display only the base
555 text field (defaults to <tt>false</tt>)</p>
556 </div><div class="long"><p><tt>true</tt> to hide the trigger element and display only the base
557 text field (defaults to <tt>false</tt>)</p>
558 </div></div></div><div id="config-html" class="member inherited"><a href="Ext.form.field.Number.html#config-html" rel="config-html" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-html" class="viewSource">view source</a></div><a name="html"></a><a name="config-html"></a><a href="Ext.form.field.Number.html#" rel="config-html" class="cls expand">html</a><span> : String/Object</span></div><div class="description"><div class="short">An HTML fragment, or a DomHelper specification to use as the layout element
559 content (defaults to ''). The HTML conten...</div><div class="long"><p>An HTML fragment, or a <a href="Ext.core.DomHelper.html" rel="Ext.core.DomHelper" class="docClass">DomHelper</a> specification to use as the layout element
560 content (defaults to ''). The HTML content is added after the component is rendered,
561 so the document will not contain this HTML at the time the <a href="Ext.form.field.Number.html#render" rel="Ext.form.field.Number#render" class="docClass">render</a> event is fired.
562 This content is inserted into the body <i>before</i> any configured <a href="Ext.form.field.Number.html#contentEl" rel="Ext.form.field.Number#contentEl" class="docClass">contentEl</a> is appended.</p>
563 </div></div></div><div id="config-id" class="member inherited"><a href="Ext.form.field.Number.html#config-id" rel="config-id" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-id" class="viewSource">view source</a></div><a name="id"></a><a name="config-id"></a><a href="Ext.form.field.Number.html#" rel="config-id" class="cls expand">id</a><span> : String</span></div><div class="description"><div class="short">The unique id of this component instance (defaults to an auto-assigned id).
564
565
566 It should not be necessary to use this ...</div><div class="long"><p>The <b><u>unique id of this component instance</u></b> (defaults to an <a href="Ext.form.field.Number.html#getId" rel="Ext.form.field.Number#getId" class="docClass">auto-assigned id</a>).</p>
567
568
569 <p>It should not be necessary to use this configuration except for singleton objects in your application.
570 Components created with an id may be accessed globally using <a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">Ext.getCmp</a>.</p>
571
572
573 <p>Instead of using assigned ids, use the <a href="Ext.form.field.Number.html#itemId" rel="Ext.form.field.Number#itemId" class="docClass">itemId</a> config, and <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> which
574 provides selector-based searching for Sencha Components analogous to DOM querying. The <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>
575 class contains <a href="Ext.container.Container.html#down" rel="Ext.container.Container#down" class="docClass">shortcut methods</a> to query its descendant Components by selector.</p>
576
577
578 <p>Note that this id will also be used as the element id for the containing HTML element
579 that is rendered to the page for this component. This allows you to write id-based CSS
580 rules to style the specific instance of this component uniquely, and also to select
581 sub-elements using this component's id as the parent.</p>
582
583
584 <p><b>Note</b>: to avoid complications imposed by a unique <tt>id</tt> also see <code><a href="Ext.form.field.Number.html#itemId" rel="Ext.form.field.Number#itemId" class="docClass">itemId</a></code>.</p>
585
586
587 <p><b>Note</b>: to access the container of a Component see <code><a href="Ext.form.field.Number.html#ownerCt" rel="Ext.form.field.Number#ownerCt" class="docClass">ownerCt</a></code>.</p>
588
589 </div></div></div><div id="config-inputId" class="member inherited"><a href="Ext.form.field.Number.html#config-inputId" rel="config-inputId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-inputId" class="viewSource">view source</a></div><a name="inputId"></a><a name="config-inputId"></a><a href="Ext.form.field.Number.html#" rel="config-inputId" class="cls expand">inputId</a><span> : String</span></div><div class="description"><div class="short">The id that will be given to the generated input DOM element. Defaults to an automatically generated id.
590 If you confi...</div><div class="long"><p>The id that will be given to the generated input DOM element. Defaults to an automatically generated id.
591 If you configure this manually, you must make sure it is unique in the document.</p>
592 </div></div></div><div id="config-inputType" class="member inherited"><a href="Ext.form.field.Number.html#config-inputType" rel="config-inputType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-inputType" class="viewSource">view source</a></div><a name="inputType"></a><a name="config-inputType"></a><a href="Ext.form.field.Number.html#" rel="config-inputType" class="cls expand">inputType</a><span> : String</span></div><div class="description"><div class="short">The type attribute for input fields -- e.g. radio, text, password, file (defaults to 'text').
593 The extended types supp...</div><div class="long"><p>The type attribute for input fields -- e.g. radio, text, password, file (defaults to <tt>'text'</tt>).
594 The extended types supported by HTML5 inputs (url, email, etc.) may also be used, though using them
595 will cause older browsers to fall back to 'text'.</p>
596
597
598 <p>The type 'password' must be used to render that field type currently -- there is no separate <a href="Ext.html" rel="Ext" class="docClass">Ext</a>
599 component for that. You can use <a href="Ext.form.field.File.html" rel="Ext.form.field.File" class="docClass">Ext.form.field.File</a> which creates a custom-rendered file upload
600 field, but if you want a plain unstyled file input you can use a BaseField with inputType:'file'.</p>
601
602 </div></div></div><div id="config-invalidCls" class="member inherited"><a href="Ext.form.field.Number.html#config-invalidCls" rel="config-invalidCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-invalidCls" class="viewSource">view source</a></div><a name="invalidCls"></a><a name="config-invalidCls"></a><a href="Ext.form.field.Number.html#" rel="config-invalidCls" class="cls expand">invalidCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to use when marking the component invalid (defaults to 'x-form-invalid')</p>
603 </div><div class="long"><p>The CSS class to use when marking the component invalid (defaults to 'x-form-invalid')</p>
604 </div></div></div><div id="config-invalidText" class="member inherited"><a href="Ext.form.field.Number.html#config-invalidText" rel="config-invalidText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-invalidText" class="viewSource">view source</a></div><a name="invalidText"></a><a name="config-invalidText"></a><a href="Ext.form.field.Number.html#" rel="config-invalidText" class="cls expand">invalidText</a><span> : String</span></div><div class="description"><div class="short">The error text to use when marking a field invalid and no message is provided
605 (defaults to 'The value in this field i...</div><div class="long"><p>The error text to use when marking a field invalid and no message is provided
606 (defaults to 'The value in this field is invalid')</p>
607 </div></div></div><div id="config-itemId" class="member inherited"><a href="Ext.form.field.Number.html#config-itemId" rel="config-itemId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-itemId" class="viewSource">view source</a></div><a name="itemId"></a><a name="config-itemId"></a><a href="Ext.form.field.Number.html#" rel="config-itemId" class="cls expand">itemId</a><span> : String</span></div><div class="description"><div class="short">An itemId can be used as an alternative way to get a reference to a component
608 when no object reference is available. ...</div><div class="long"><p>An <tt>itemId</tt> can be used as an alternative way to get a reference to a component
609 when no object reference is available.  Instead of using an <code><a href="Ext.form.field.Number.html#id" rel="Ext.form.field.Number#id" class="docClass">id</a></code> with
610 <a href="Ext.html" rel="Ext" class="docClass">Ext</a>.<a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">getCmp</a>, use <code>itemId</code> with
611 <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Ext.container.Container</a>.<a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">getComponent</a> which will retrieve
612 <code>itemId</code>'s or <tt><a href="Ext.form.field.Number.html#id" rel="Ext.form.field.Number#id" class="docClass">id</a></tt>'s. Since <code>itemId</code>'s are an index to the
613 container's internal MixedCollection, the <code>itemId</code> is scoped locally to the container --
614 avoiding potential conflicts with <a href="Ext.ComponentManager.html" rel="Ext.ComponentManager" class="docClass">Ext.ComponentManager</a> which requires a <b>unique</b>
615 <code><a href="Ext.form.field.Number.html#id" rel="Ext.form.field.Number#id" class="docClass">id</a></code>.</p>
616
617
618 <pre><code>var c = new Ext.panel.Panel({ //
619     <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 300,
620     <a href="Ext.form.field.Number.html#renderTo" rel="Ext.form.field.Number#renderTo" class="docClass">renderTo</a>: document.body,
621     <a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout</a>: 'auto',
622     <a href="Ext.container.Container.html#items" rel="Ext.container.Container#items" class="docClass">items</a>: [
623         {
624             itemId: 'p1',
625             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 1',
626             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
627         },
628         {
629             itemId: 'p2',
630             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 2',
631             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
632         }
633     ]
634 })
635 p1 = c.<a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">getComponent</a>('p1'); // not the same as <a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">Ext.getCmp()</a>
636 p2 = p1.<a href="Ext.form.field.Number.html#ownerCt" rel="Ext.form.field.Number#ownerCt" class="docClass">ownerCt</a>.<a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">getComponent</a>('p2'); // reference via a sibling
637 </code></pre>
638
639
640 <p>Also see <tt><a href="Ext.form.field.Number.html#id" rel="Ext.form.field.Number#id" class="docClass">id</a></tt>, <code><a href="Ext.form.field.Number.html#query" rel="Ext.form.field.Number#query" class="docClass">query</a></code>, <code><a href="Ext.form.field.Number.html#down" rel="Ext.form.field.Number#down" class="docClass">down</a></code> and <code><a href="Ext.form.field.Number.html#child" rel="Ext.form.field.Number#child" class="docClass">child</a></code>.</p>
641
642
643 <p><b>Note</b>: to access the container of an item see <tt><a href="Ext.form.field.Number.html#ownerCt" rel="Ext.form.field.Number#ownerCt" class="docClass">ownerCt</a></tt>.</p>
644
645 </div></div></div><div id="config-keyNavEnabled" class="member inherited"><a href="Ext.form.field.Number.html#config-keyNavEnabled" rel="config-keyNavEnabled" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-cfg-keyNavEnabled" class="viewSource">view source</a></div><a name="keyNavEnabled"></a><a name="config-keyNavEnabled"></a><a href="Ext.form.field.Number.html#" rel="config-keyNavEnabled" class="cls expand">keyNavEnabled</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Specifies whether the up and down arrow keys should trigger spinning up and down.
646 Defaults to <tt>true</tt>.</p>
647 </div><div class="long"><p>Specifies whether the up and down arrow keys should trigger spinning up and down.
648 Defaults to <tt>true</tt>.</p>
649 </div></div></div><div id="config-labelAlign" class="member inherited"><a href="Ext.form.field.Number.html#config-labelAlign" rel="config-labelAlign" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelAlign" class="viewSource">view source</a></div><a name="labelAlign"></a><a name="config-labelAlign"></a><a href="Ext.form.field.Number.html#" rel="config-labelAlign" class="cls expand">labelAlign</a><span> : String</span></div><div class="description"><div class="short">Controls the position and alignment of the fieldLabel. Valid values are:
650
651
652
653 "left" (the default) - The label is posit...</div><div class="long"><p>Controls the position and alignment of the <a href="Ext.form.field.Number.html#fieldLabel" rel="Ext.form.field.Number#fieldLabel" class="docClass">fieldLabel</a>. Valid values are:</p>
654
655
656 <ul>
657 <li><tt>"left"</tt> (the default) - The label is positioned to the left of the field, with its text
658 aligned to the left. Its width is determined by the <a href="Ext.form.field.Number.html#labelWidth" rel="Ext.form.field.Number#labelWidth" class="docClass">labelWidth</a> config.</li>
659 <li><tt>"top"</tt> - The label is positioned above the field.</li>
660 <li><tt>"right"</tt> - The label is positioned to the left of the field, with its text aligned
661 to the right. Its width is determined by the <a href="Ext.form.field.Number.html#labelWidth" rel="Ext.form.field.Number#labelWidth" class="docClass">labelWidth</a> config.</li>
662 </ul>
663
664 </div></div></div><div id="config-labelCls" class="member inherited"><a href="Ext.form.field.Number.html#config-labelCls" rel="config-labelCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelCls" class="viewSource">view source</a></div><a name="labelCls"></a><a name="config-labelCls"></a><a href="Ext.form.field.Number.html#" rel="config-labelCls" class="cls expand">labelCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class to be applied to the label element. Defaults to 'x-form-item-label'.</p>
665 </div><div class="long"><p>The CSS class to be applied to the label element. Defaults to 'x-form-item-label'.</p>
666 </div></div></div><div id="config-labelPad" class="member inherited"><a href="Ext.form.field.Number.html#config-labelPad" rel="config-labelPad" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelPad" class="viewSource">view source</a></div><a name="labelPad"></a><a name="config-labelPad"></a><a href="Ext.form.field.Number.html#" rel="config-labelPad" class="cls expand">labelPad</a><span> : Number</span></div><div class="description"><div class="short"><p>The amount of space in pixels between the <a href="Ext.form.field.Number.html#fieldLabel" rel="Ext.form.field.Number#fieldLabel" class="docClass">fieldLabel</a> and the input field. Defaults to <tt>5</tt>.</p>
667 </div><div class="long"><p>The amount of space in pixels between the <a href="Ext.form.field.Number.html#fieldLabel" rel="Ext.form.field.Number#fieldLabel" class="docClass">fieldLabel</a> and the input field. Defaults to <tt>5</tt>.</p>
668 </div></div></div><div id="config-labelSeparator" class="member inherited"><a href="Ext.form.field.Number.html#config-labelSeparator" rel="config-labelSeparator" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelSeparator" class="viewSource">view source</a></div><a name="labelSeparator"></a><a name="config-labelSeparator"></a><a href="Ext.form.field.Number.html#" rel="config-labelSeparator" class="cls expand">labelSeparator</a><span> : String</span></div><div class="description"><div class="short"><p>Character(s) to be inserted at the end of the <a href="Ext.form.field.Number.html#fieldLabel" rel="Ext.form.field.Number#fieldLabel" class="docClass">label text</a>.</p>
669 </div><div class="long"><p>Character(s) to be inserted at the end of the <a href="Ext.form.field.Number.html#fieldLabel" rel="Ext.form.field.Number#fieldLabel" class="docClass">label text</a>.</p>
670 </div></div></div><div id="config-labelStyle" class="member inherited"><a href="Ext.form.field.Number.html#config-labelStyle" rel="config-labelStyle" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelStyle" class="viewSource">view source</a></div><a name="labelStyle"></a><a name="config-labelStyle"></a><a href="Ext.form.field.Number.html#" rel="config-labelStyle" class="cls expand">labelStyle</a><span> : String</span></div><div class="description"><div class="short"><p>A CSS style specification string to apply directly to this field's label. Defaults to undefined.</p>
671
672 </div><div class="long"><p>A CSS style specification string to apply directly to this field's label. Defaults to undefined.</p>
673
674 </div></div></div><div id="config-labelWidth" class="member inherited"><a href="Ext.form.field.Number.html#config-labelWidth" rel="config-labelWidth" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelWidth" class="viewSource">view source</a></div><a name="labelWidth"></a><a name="config-labelWidth"></a><a href="Ext.form.field.Number.html#" rel="config-labelWidth" class="cls expand">labelWidth</a><span> : Number</span></div><div class="description"><div class="short"><p>The width of the <a href="Ext.form.field.Number.html#fieldLabel" rel="Ext.form.field.Number#fieldLabel" class="docClass">fieldLabel</a> in pixels. Only applicable if the <a href="Ext.form.field.Number.html#labelAlign" rel="Ext.form.field.Number#labelAlign" class="docClass">labelAlign</a> is set
675 to "left" or "right". Defaults to <tt>100</tt>.</p>
676 </div><div class="long"><p>The width of the <a href="Ext.form.field.Number.html#fieldLabel" rel="Ext.form.field.Number#fieldLabel" class="docClass">fieldLabel</a> in pixels. Only applicable if the <a href="Ext.form.field.Number.html#labelAlign" rel="Ext.form.field.Number#labelAlign" class="docClass">labelAlign</a> is set
677 to "left" or "right". Defaults to <tt>100</tt>.</p>
678 </div></div></div><div id="config-labelableRenderTpl" class="member inherited"><a href="Ext.form.field.Number.html#config-labelableRenderTpl" rel="config-labelableRenderTpl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-labelableRenderTpl" class="viewSource">view source</a></div><a name="labelableRenderTpl"></a><a name="config-labelableRenderTpl"></a><a href="Ext.form.field.Number.html#" rel="config-labelableRenderTpl" class="cls expand">labelableRenderTpl</a><span> : Array/String/Ext.XTemplate</span></div><div class="description"><div class="short">The rendering template for the field decorations. Component classes using this mixin should include
679 logic to use this...</div><div class="long"><p>The rendering template for the field decorations. Component classes using this mixin should include
680 logic to use this as their <a href="Ext.AbstractComponent.html#renderTpl" rel="Ext.AbstractComponent#renderTpl" class="docClass">renderTpl</a>, and implement the
681 <a href="Ext.form.field.Number.html#getSubTplMarkup" rel="Ext.form.field.Number#getSubTplMarkup" class="docClass">getSubTplMarkup</a> method to generate the field body content.</p>
682 </div></div></div><div id="config-listeners" class="member inherited"><a href="Ext.form.field.Number.html#config-listeners" rel="config-listeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-cfg-listeners" class="viewSource">view source</a></div><a name="listeners"></a><a name="config-listeners"></a><a href="Ext.form.field.Number.html#" rel="config-listeners" class="cls expand">listeners</a><span> : Object</span></div><div class="description"><div class="short">(optional) A config object containing one or more event handlers to be added to this
683 object during initialization.  T...</div><div class="long"><p>(optional) <p>A config object containing one or more event handlers to be added to this
684 object during initialization.  This should be a valid listeners config object as specified in the
685 <a href="Ext.form.field.Number.html#addListener" rel="Ext.form.field.Number#addListener" class="docClass">addListener</a> example for attaching multiple handlers at once.</p></p>
686
687 <br><p><b><u>DOM events from ExtJs <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a></u></b></p>
688
689
690 <br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this
691
692
693 <p>is usually only done when extra value can be added. For example the <a href="Ext.view.View.html" rel="Ext.view.View" class="docClass">DataView</a>'s
694 <b><code><a href="Ext.view.View.html#click" rel="Ext.view.View#click" class="docClass">click</a></code></b> event passing the node clicked on. To access DOM
695 events directly from a child element of a Component, we need to specify the <code>element</code> option to
696 identify the Component property to add a DOM listener to:</p>
697
698 <pre><code>new Ext.panel.Panel({
699     width: 400,
700     height: 200,
701     dockedItems: [{
702         xtype: 'toolbar'
703     }],
704     listeners: {
705         click: {
706             element: 'el', //bind to the underlying el property on the panel
707             fn: function(){ console.log('click el'); }
708         },
709         dblclick: {
710             element: 'body', //bind to the underlying body property on the panel
711             fn: function(){ console.log('dblclick body'); }
712         }
713     }
714 });
715 </code></pre>
716
717
718 <p></p></p>
719 </div></div></div><div id="config-loader" class="member inherited"><a href="Ext.form.field.Number.html#config-loader" rel="config-loader" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-loader" class="viewSource">view source</a></div><a name="loader"></a><a name="config-loader"></a><a href="Ext.form.field.Number.html#" rel="config-loader" class="cls expand">loader</a><span> : Ext.ComponentLoader/Object</span></div><div class="description"><div class="short"><p>A configuration object or an instance of a <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> to load remote
720 content for this Component.</p>
721 </div><div class="long"><p>A configuration object or an instance of a <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> to load remote
722 content for this Component.</p>
723 </div></div></div><div id="config-maintainFlex" class="member inherited"><a href="Ext.form.field.Number.html#config-maintainFlex" rel="config-maintainFlex" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-maintainFlex" class="viewSource">view source</a></div><a name="maintainFlex"></a><a name="config-maintainFlex"></a><a href="Ext.form.field.Number.html#" rel="config-maintainFlex" class="cls expand">maintainFlex</a><span> : Boolean</span></div><div class="description"><div class="short">Only valid when a sibling element of a Splitter within a VBox or
724 HBox layout.
725
726
727 Specifies that if an immediate siblin...</div><div class="long"><p><b>Only valid when a sibling element of a <a href="Ext.resizer.Splitter.html" rel="Ext.resizer.Splitter" class="docClass">Splitter</a> within a <a href="Ext.layout.container.VBox.html" rel="Ext.layout.container.VBox" class="docClass">VBox</a> or
728 <a href="Ext.layout.container.HBox.html" rel="Ext.layout.container.HBox" class="docClass">HBox</a> layout.</b></p>
729
730
731 <p>Specifies that if an immediate sibling Splitter is moved, the Component on the <i>other</i> side is resized, and this
732 Component maintains its configured <a href="Ext.layout.container.Box.html#flex" rel="Ext.layout.container.Box#flex" class="docClass">flex</a> value.</p>
733
734 </div></div></div><div id="config-margin" class="member inherited"><a href="Ext.form.field.Number.html#config-margin" rel="config-margin" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-margin" class="viewSource">view source</a></div><a name="margin"></a><a name="config-margin"></a><a href="Ext.form.field.Number.html#" rel="config-margin" class="cls expand">margin</a><span> : Number/String</span></div><div class="description"><div class="short">Specifies the margin for this component. The margin can be a single numeric value to apply to all sides or
735 it can be ...</div><div class="long"><p>Specifies the margin for this component. The margin can be a single numeric value to apply to all sides or
736 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
737 </div></div></div><div id="config-maskRe" class="member inherited"><a href="Ext.form.field.Number.html#config-maskRe" rel="config-maskRe" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-maskRe" class="viewSource">view source</a></div><a name="maskRe"></a><a name="config-maskRe"></a><a href="Ext.form.field.Number.html#" rel="config-maskRe" class="cls expand">maskRe</a><span> : RegExp</span></div><div class="description"><div class="short"><p>An input mask regular expression that will be used to filter keystrokes that do
738 not match (defaults to <tt>undefined</tt>)</p>
739 </div><div class="long"><p>An input mask regular expression that will be used to filter keystrokes that do
740 not match (defaults to <tt>undefined</tt>)</p>
741 </div></div></div><div id="config-maxHeight" class="member inherited"><a href="Ext.form.field.Number.html#config-maxHeight" rel="config-maxHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-maxHeight" class="viewSource">view source</a></div><a name="maxHeight"></a><a name="config-maxHeight"></a><a href="Ext.form.field.Number.html#" rel="config-maxHeight" class="cls expand">maxHeight</a><span> : Number</span></div><div class="description"><div class="short">The maximum value in pixels which this Component will set its height to.
742
743
744 Warning: This will override any size manag...</div><div class="long"><p>The maximum value in pixels which this Component will set its height to.</p>
745
746
747 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
748
749 </div></div></div><div id="config-maxLength" class="member inherited"><a href="Ext.form.field.Number.html#config-maxLength" rel="config-maxLength" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-maxLength" class="viewSource">view source</a></div><a name="maxLength"></a><a name="config-maxLength"></a><a href="Ext.form.field.Number.html#" rel="config-maxLength" class="cls expand">maxLength</a><span> : Number</span></div><div class="description"><div class="short">Maximum input field length allowed by validation (defaults to Number.MAX_VALUE).
750 This behavior is intended to provide...</div><div class="long"><p>Maximum input field length allowed by validation (defaults to Number.MAX_VALUE).
751 This behavior is intended to provide instant feedback to the user by improving usability to allow pasting
752 and editing or overtyping and back tracking. To restrict the maximum number of characters that can be
753 entered into the field use the <tt><b><a href="Ext.form.field.Text.html#enforceMaxLength" rel="Ext.form.field.Text#enforceMaxLength" class="docClass">enforceMaxLength</a></b></tt> option.</p>
754 </div></div></div><div id="config-maxLengthText" class="member inherited"><a href="Ext.form.field.Number.html#config-maxLengthText" rel="config-maxLengthText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-maxLengthText" class="viewSource">view source</a></div><a name="maxLengthText"></a><a name="config-maxLengthText"></a><a href="Ext.form.field.Number.html#" rel="config-maxLengthText" class="cls expand">maxLengthText</a><span> : String</span></div><div class="description"><div class="short">Error text to display if the maximum length
755 validation fails (defaults to 'The maximum length for this field is {maxL...</div><div class="long"><p>Error text to display if the <b><tt><a href="Ext.form.field.Number.html#maxLength" rel="Ext.form.field.Number#maxLength" class="docClass">maximum length</a></tt></b>
756 validation fails (defaults to <tt>'The maximum length for this field is {maxLength}'</tt>)</p>
757 </div></div></div><div id="config-maxText" class="member ni"><a href="Ext.form.field.Number.html#config-maxText" rel="config-maxText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-cfg-maxText" class="viewSource">view source</a></div><a name="maxText"></a><a name="config-maxText"></a><a href="Ext.form.field.Number.html#" rel="config-maxText" class="cls expand">maxText</a><span> : String</span></div><div class="description"><div class="short">Error text to display if the maximum value validation fails (defaults to 'The maximum
758 value for this field is {maxVal...</div><div class="long"><p>Error text to display if the maximum value validation fails (defaults to 'The maximum
759 value for this field is {maxValue}')</p>
760 </div></div></div><div id="config-maxValue" class="member ni"><a href="Ext.form.field.Number.html#config-maxValue" rel="config-maxValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-cfg-maxValue" class="viewSource">view source</a></div><a name="maxValue"></a><a name="config-maxValue"></a><a href="Ext.form.field.Number.html#" rel="config-maxValue" class="cls expand">maxValue</a><span> : Number</span></div><div class="description"><div class="short">The maximum allowed value (defaults to Number.MAX_VALUE). Will be used by
761 the field's validation logic, and for
762 enabl...</div><div class="long"><p>The maximum allowed value (defaults to Number.MAX_VALUE). Will be used by
763 the field's validation logic, and for
764 <a href="Ext.form.field.Spinner.html#setSpinUpEnabled" rel="Ext.form.field.Spinner#setSpinUpEnabled" class="docClass">enabling/disabling the up spinner button</a>.</p>
765 </div></div></div><div id="config-maxWidth" class="member inherited"><a href="Ext.form.field.Number.html#config-maxWidth" rel="config-maxWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-maxWidth" class="viewSource">view source</a></div><a name="maxWidth"></a><a name="config-maxWidth"></a><a href="Ext.form.field.Number.html#" rel="config-maxWidth" class="cls expand">maxWidth</a><span> : Number</span></div><div class="description"><div class="short">The maximum value in pixels which this Component will set its width to.
766
767
768 Warning: This will override any size manage...</div><div class="long"><p>The maximum value in pixels which this Component will set its width to.</p>
769
770
771 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
772
773 </div></div></div><div id="config-minHeight" class="member inherited"><a href="Ext.form.field.Number.html#config-minHeight" rel="config-minHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-minHeight" class="viewSource">view source</a></div><a name="minHeight"></a><a name="config-minHeight"></a><a href="Ext.form.field.Number.html#" rel="config-minHeight" class="cls expand">minHeight</a><span> : Number</span></div><div class="description"><div class="short">The minimum value in pixels which this Component will set its height to.
774
775
776 Warning: This will override any size manag...</div><div class="long"><p>The minimum value in pixels which this Component will set its height to.</p>
777
778
779 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
780
781 </div></div></div><div id="config-minLength" class="member inherited"><a href="Ext.form.field.Number.html#config-minLength" rel="config-minLength" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-minLength" class="viewSource">view source</a></div><a name="minLength"></a><a name="config-minLength"></a><a href="Ext.form.field.Number.html#" rel="config-minLength" class="cls expand">minLength</a><span> : Number</span></div><div class="description"><div class="short"><p>Minimum input field length required (defaults to <tt>0</tt>)</p>
782 </div><div class="long"><p>Minimum input field length required (defaults to <tt>0</tt>)</p>
783 </div></div></div><div id="config-minLengthText" class="member inherited"><a href="Ext.form.field.Number.html#config-minLengthText" rel="config-minLengthText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-minLengthText" class="viewSource">view source</a></div><a name="minLengthText"></a><a name="config-minLengthText"></a><a href="Ext.form.field.Number.html#" rel="config-minLengthText" class="cls expand">minLengthText</a><span> : String</span></div><div class="description"><div class="short">Error text to display if the minimum length
784 validation fails (defaults to 'The minimum length for this field is {minL...</div><div class="long"><p>Error text to display if the <b><tt><a href="Ext.form.field.Number.html#minLength" rel="Ext.form.field.Number#minLength" class="docClass">minimum length</a></tt></b>
785 validation fails (defaults to <tt>'The minimum length for this field is {minLength}'</tt>)</p>
786 </div></div></div><div id="config-minText" class="member ni"><a href="Ext.form.field.Number.html#config-minText" rel="config-minText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-cfg-minText" class="viewSource">view source</a></div><a name="minText"></a><a name="config-minText"></a><a href="Ext.form.field.Number.html#" rel="config-minText" class="cls expand">minText</a><span> : String</span></div><div class="description"><div class="short">Error text to display if the minimum value validation fails (defaults to 'The minimum
787 value for this field is {minVal...</div><div class="long"><p>Error text to display if the minimum value validation fails (defaults to 'The minimum
788 value for this field is {minValue}')</p>
789 </div></div></div><div id="config-minValue" class="member ni"><a href="Ext.form.field.Number.html#config-minValue" rel="config-minValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-cfg-minValue" class="viewSource">view source</a></div><a name="minValue"></a><a name="config-minValue"></a><a href="Ext.form.field.Number.html#" rel="config-minValue" class="cls expand">minValue</a><span> : Number</span></div><div class="description"><div class="short">The minimum allowed value (defaults to Number.NEGATIVE_INFINITY). Will be used by
790 the field's validation logic, and f...</div><div class="long"><p>The minimum allowed value (defaults to Number.NEGATIVE_INFINITY). Will be used by
791 the field's validation logic, and for
792 <a href="Ext.form.field.Spinner.html#setSpinUpEnabled" rel="Ext.form.field.Spinner#setSpinUpEnabled" class="docClass">enabling/disabling the down spinner button</a>.</p>
793 </div></div></div><div id="config-minWidth" class="member inherited"><a href="Ext.form.field.Number.html#config-minWidth" rel="config-minWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-minWidth" class="viewSource">view source</a></div><a name="minWidth"></a><a name="config-minWidth"></a><a href="Ext.form.field.Number.html#" rel="config-minWidth" class="cls expand">minWidth</a><span> : Number</span></div><div class="description"><div class="short">The minimum value in pixels which this Component will set its width to.
794
795
796 Warning: This will override any size manage...</div><div class="long"><p>The minimum value in pixels which this Component will set its width to.</p>
797
798
799 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
800
801 </div></div></div><div id="config-mouseWheelEnabled" class="member inherited"><a href="Ext.form.field.Number.html#config-mouseWheelEnabled" rel="config-mouseWheelEnabled" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-cfg-mouseWheelEnabled" class="viewSource">view source</a></div><a name="mouseWheelEnabled"></a><a name="config-mouseWheelEnabled"></a><a href="Ext.form.field.Number.html#" rel="config-mouseWheelEnabled" class="cls expand">mouseWheelEnabled</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Specifies whether the mouse wheel should trigger spinning up and down while the field has
802 focus. Defaults to <tt>true</tt>.</p>
803 </div><div class="long"><p>Specifies whether the mouse wheel should trigger spinning up and down while the field has
804 focus. Defaults to <tt>true</tt>.</p>
805 </div></div></div><div id="config-msgTarget" class="member inherited"><a href="Ext.form.field.Number.html#config-msgTarget" rel="config-msgTarget" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-msgTarget" class="viewSource">view source</a></div><a name="msgTarget"></a><a name="config-msgTarget"></a><a href="Ext.form.field.Number.html#" rel="config-msgTarget" class="cls expand">msgTarget</a><span> : String</span></div><div class="description"><div class="short">The location where the error message text should display.
806 Must be one of the following values:
807
808
809
810 qtip Display a quic...</div><div class="long"><p>The location where the error message text should display.
811 Must be one of the following values:</p>
812
813
814 <div class="mdetail-params"><ul>
815 <li><code>qtip</code> Display a quick tip containing the message when the user hovers over the field. This is the default.
816 <div class="subdesc"><b><a href="Ext.tip.QuickTipManager.html#init" rel="Ext.tip.QuickTipManager#init" class="docClass">Ext.tip.QuickTipManager.init</a> must have been called for this setting to work.</b></div></li>
817 <li><code>title</code> Display the message in a default browser title attribute popup.</li>
818 <li><code>under</code> Add a block div beneath the field containing the error message.</li>
819 <li><code>side</code> Add an error icon to the right of the field, displaying the message in a popup on hover.</li>
820 <li><code>none</code> Don't display any error message. This might be useful if you are implementing custom error display.</li>
821 <li><code>[element id]</code> Add the error message directly to the innerHTML of the specified element.</li>
822 </ul></div>
823
824 </div></div></div><div id="config-name" class="member inherited"><a href="Ext.form.field.Number.html#config-name" rel="config-name" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-cfg-name" class="viewSource">view source</a></div><a name="name"></a><a name="config-name"></a><a href="Ext.form.field.Number.html#" rel="config-name" class="cls expand">name</a><span> : String</span></div><div class="description"><div class="short">The name of the field (defaults to undefined). By default this is used as the parameter
825 name when including the field...</div><div class="long"><p>The name of the field (defaults to undefined). By default this is used as the parameter
826 name when including the <a href="Ext.form.field.Number.html#getSubmitData" rel="Ext.form.field.Number#getSubmitData" class="docClass">field value</a> in a <a href="Ext.form.Basic.html#submit" rel="Ext.form.Basic#submit" class="docClass">form submit()</a>.
827 To prevent the field from being included in the form submit, set <a href="Ext.form.field.Number.html#submitValue" rel="Ext.form.field.Number#submitValue" class="docClass">submitValue</a> to <tt>false</tt>.</p>
828 </div></div></div><div id="config-nanText" class="member ni"><a href="Ext.form.field.Number.html#config-nanText" rel="config-nanText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-cfg-nanText" class="viewSource">view source</a></div><a name="nanText"></a><a name="config-nanText"></a><a href="Ext.form.field.Number.html#" rel="config-nanText" class="cls expand">nanText</a><span> : String</span></div><div class="description"><div class="short">Error text to display if the value is not a valid number.  For example, this can happen
829 if a valid character like '.'...</div><div class="long"><p>Error text to display if the value is not a valid number.  For example, this can happen
830 if a valid character like '.' or '-' is left in the field with no number (defaults to '{value} is not a valid number')</p>
831 </div></div></div><div id="config-negativeText" class="member ni"><a href="Ext.form.field.Number.html#config-negativeText" rel="config-negativeText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-cfg-negativeText" class="viewSource">view source</a></div><a name="negativeText"></a><a name="config-negativeText"></a><a href="Ext.form.field.Number.html#" rel="config-negativeText" class="cls expand">negativeText</a><span> : String</span></div><div class="description"><div class="short">Error text to display if the value is negative and minValue is set to
832 0. This is used instead of the minText in that ...</div><div class="long"><p>Error text to display if the value is negative and <a href="Ext.form.field.Number.html#minValue" rel="Ext.form.field.Number#minValue" class="docClass">minValue</a> is set to
833 <tt>0</tt>. This is used instead of the <a href="Ext.form.field.Number.html#minText" rel="Ext.form.field.Number#minText" class="docClass">minText</a> in that circumstance only.</p>
834 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.form.field.Number.html#config-overCls" rel="config-overCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-overCls" class="viewSource">view source</a></div><a name="overCls"></a><a name="config-overCls"></a><a href="Ext.form.field.Number.html#" rel="config-overCls" class="cls expand">overCls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves
835 over the Element, and...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element when the mouse moves
836 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
837 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
838 </div></div></div><div id="config-padding" class="member inherited"><a href="Ext.form.field.Number.html#config-padding" rel="config-padding" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-padding" class="viewSource">view source</a></div><a name="padding"></a><a name="config-padding"></a><a href="Ext.form.field.Number.html#" rel="config-padding" class="cls expand">padding</a><span> : Number/String</span></div><div class="description"><div class="short">Specifies the padding for this component. The padding can be a single numeric value to apply to all sides or
839 it can b...</div><div class="long"><p>Specifies the padding for this component. The padding can be a single numeric value to apply to all sides or
840 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
841 </div></div></div><div id="config-plugins" class="member inherited"><a href="Ext.form.field.Number.html#config-plugins" rel="config-plugins" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-plugins" class="viewSource">view source</a></div><a name="plugins"></a><a name="config-plugins"></a><a href="Ext.form.field.Number.html#" rel="config-plugins" class="cls expand">plugins</a><span> : Object/Array</span></div><div class="description"><div class="short">An object or array of objects that will provide custom functionality for this component.  The only
842 requirement for a ...</div><div class="long"><p>An object or array of objects that will provide custom functionality for this component.  The only
843 requirement for a valid plugin is that it contain an init method that accepts a reference of type <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>.
844 When a component is created, if any plugins are available, the component will call the init method on each
845 plugin, passing a reference to itself.  Each plugin can then call methods or respond to events on the
846 component as needed to provide its functionality.</p>
847 </div></div></div><div id="config-preventMark" class="member inherited"><a href="Ext.form.field.Number.html#config-preventMark" rel="config-preventMark" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-cfg-preventMark" class="viewSource">view source</a></div><a name="preventMark"></a><a name="config-preventMark"></a><a href="Ext.form.field.Number.html#" rel="config-preventMark" class="cls expand">preventMark</a><span> : Boolean</span></div><div class="description"><div class="short"><p><tt>true</tt> to disable displaying any <a href="Ext.form.field.Number.html#setActiveError" rel="Ext.form.field.Number#setActiveError" class="docClass">error message</a> set on this object.
848 Defaults to <tt>false</tt>.</p>
849 </div><div class="long"><p><tt>true</tt> to disable displaying any <a href="Ext.form.field.Number.html#setActiveError" rel="Ext.form.field.Number#setActiveError" class="docClass">error message</a> set on this object.
850 Defaults to <tt>false</tt>.</p>
851 </div></div></div><div id="config-readOnly" class="member inherited"><a href="Ext.form.field.Number.html#config-readOnly" rel="config-readOnly" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-cfg-readOnly" class="viewSource">view source</a></div><a name="readOnly"></a><a name="config-readOnly"></a><a href="Ext.form.field.Number.html#" rel="config-readOnly" class="cls expand">readOnly</a><span> : Boolean</span></div><div class="description"><div class="short">true to prevent the user from changing the field, and
852 hides the trigger.  Supercedes the editable and hideTrigger opt...</div><div class="long"><p><tt>true</tt> to prevent the user from changing the field, and
853 hides the trigger.  Supercedes the editable and hideTrigger options if the value is true.
854 (defaults to <tt>false</tt>)</p>
855 </div></div></div><div id="config-readOnlyCls" class="member inherited"><a href="Ext.form.field.Number.html#config-readOnlyCls" rel="config-readOnlyCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-readOnlyCls" class="viewSource">view source</a></div><a name="readOnlyCls"></a><a name="config-readOnlyCls"></a><a href="Ext.form.field.Number.html#" rel="config-readOnlyCls" class="cls expand">readOnlyCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class applied to the component's main element when it is <a href="Ext.form.field.Number.html#readOnly" rel="Ext.form.field.Number#readOnly" class="docClass">readOnly</a>.</p>
856 </div><div class="long"><p>The CSS class applied to the component's main element when it is <a href="Ext.form.field.Number.html#readOnly" rel="Ext.form.field.Number#readOnly" class="docClass">readOnly</a>.</p>
857 </div></div></div><div id="config-regex" class="member inherited"><a href="Ext.form.field.Number.html#config-regex" rel="config-regex" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-regex" class="viewSource">view source</a></div><a name="regex"></a><a name="config-regex"></a><a href="Ext.form.field.Number.html#" rel="config-regex" class="cls expand">regex</a><span> : RegExp</span></div><div class="description"><div class="short">A JavaScript RegExp object to be tested against the field value during validation
858 (defaults to undefined). If the tes...</div><div class="long"><p>A JavaScript RegExp object to be tested against the field value during validation
859 (defaults to <tt>undefined</tt>). If the test fails, the field will be marked invalid using
860 <b><tt><a href="Ext.form.field.Number.html#regexText" rel="Ext.form.field.Number#regexText" class="docClass">regexText</a></tt></b>.</p>
861 </div></div></div><div id="config-regexText" class="member inherited"><a href="Ext.form.field.Number.html#config-regexText" rel="config-regexText" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-regexText" class="viewSource">view source</a></div><a name="regexText"></a><a name="config-regexText"></a><a href="Ext.form.field.Number.html#" rel="config-regexText" class="cls expand">regexText</a><span> : String</span></div><div class="description"><div class="short"><p>The error text to display if <b><tt><a href="Ext.form.field.Number.html#regex" rel="Ext.form.field.Number#regex" class="docClass">regex</a></tt></b> is used and the
862 test fails during validation (defaults to <tt>''</tt>)</p>
863 </div><div class="long"><p>The error text to display if <b><tt><a href="Ext.form.field.Number.html#regex" rel="Ext.form.field.Number#regex" class="docClass">regex</a></tt></b> is used and the
864 test fails during validation (defaults to <tt>''</tt>)</p>
865 </div></div></div><div id="config-renderSelectors" class="member inherited"><a href="Ext.form.field.Number.html#config-renderSelectors" rel="config-renderSelectors" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-renderSelectors" class="viewSource">view source</a></div><a name="renderSelectors"></a><a name="config-renderSelectors"></a><a href="Ext.form.field.Number.html#" rel="config-renderSelectors" class="cls expand">renderSelectors</a><span> : Object</span></div><div class="description"><div class="short">An object containing properties specifying DomQuery selectors which identify child elements
866 created by the render pro...</div><div class="long"><p>An object containing properties specifying <a href="Ext.DomQuery.html" rel="Ext.DomQuery" class="docClass">DomQuery</a> selectors which identify child elements
867 created by the render process.</p>
868
869 <p>After the Component's internal structure is rendered according to the <a href="Ext.form.field.Number.html#renderTpl" rel="Ext.form.field.Number#renderTpl" class="docClass">renderTpl</a>, this object is iterated through,
870 and the found Elements are added as properties to the Component using the <code>renderSelector</code> property name.</p>
871
872 <p>For example, a Component which rendered an image, and description into its element might use the following properties
873 coded into its prototype:</p>
874
875 <pre><code>renderTpl: '&amp;lt;img src="{imageUrl}" class="x-image-component-img"&gt;&amp;lt;div class="x-image-component-desc"&gt;{description}&amp;gt;/div&amp;lt;',
876
877 renderSelectors: {
878     image: 'img.x-image-component-img',
879     descEl: 'div.x-image-component-desc'
880 }
881 </code></pre>
882
883 <p>After rendering, the Component would have a property <code>image</code> referencing its child <code>img</code> Element,
884 and a property <code>descEl</code> referencing the <code>div</code> Element which contains the description.</p>
885 </div></div></div><div id="config-renderTo" class="member inherited"><a href="Ext.form.field.Number.html#config-renderTo" rel="config-renderTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-renderTo" class="viewSource">view source</a></div><a name="renderTo"></a><a name="config-renderTo"></a><a href="Ext.form.field.Number.html#" rel="config-renderTo" class="cls expand">renderTo</a><span> : Mixed</span></div><div class="description"><div class="short">Specify the id of the element, a DOM element or an existing Element that this component
886 will be rendered into.
887
888
889
890 Not...</div><div class="long"><p>Specify the id of the element, a DOM element or an existing Element that this component
891 will be rendered into.</p>
892
893
894 <div><ul>
895 <li><b>Notes</b> : <ul>
896 <div class="sub-desc">Do <u>not</u> use this option if the Component is to be a child item of
897 a <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>. It is the responsibility of the
898 <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>'s <a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout manager</a>
899 to render and manage its child items.</div>
900 <div class="sub-desc">When using this config, a call to render() is not required.</div>
901 </ul></li>
902 </ul></div>
903
904
905 <p>See <code><a href="Ext.form.field.Number.html#render" rel="Ext.form.field.Number#render" class="docClass">render</a></code> also.</p>
906
907 </div></div></div><div id="config-renderTpl" class="member inherited"><a href="Ext.form.field.Number.html#config-renderTpl" rel="config-renderTpl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-renderTpl" class="viewSource">view source</a></div><a name="renderTpl"></a><a name="config-renderTpl"></a><a href="Ext.form.field.Number.html#" rel="config-renderTpl" class="cls expand">renderTpl</a><span> : Mixed</span></div><div class="description"><div class="short">An XTemplate used to create the internal structure inside this Component's
908 encapsulating Element.
909
910
911 You do not normal...</div><div class="long"><p>An <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">XTemplate</a> used to create the internal structure inside this Component's
912 encapsulating <a href="Ext.form.field.Number.html#getEl" rel="Ext.form.field.Number#getEl" class="docClass">Element</a>.</p>
913
914
915 <p>You do not normally need to specify this. For the base classes <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>
916 and <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Ext.container.Container</a>, this defaults to <b><code>null</code></b> which means that they will be initially rendered
917 with no internal structure; they render their <a href="Ext.form.field.Number.html#getEl" rel="Ext.form.field.Number#getEl" class="docClass">Element</a> empty. The more specialized ExtJS and Touch classes
918 which use a more complex DOM structure, provide their own template definitions.</p>
919
920
921 <p>This is intended to allow the developer to create application-specific utility Components with customized
922 internal structure.</p>
923
924
925 <p>Upon rendering, any created child elements may be automatically imported into object properties using the
926 <a href="Ext.form.field.Number.html#renderSelectors" rel="Ext.form.field.Number#renderSelectors" class="docClass">renderSelectors</a> option.</p>
927
928 </div></div></div><div id="config-repeatTriggerClick" class="member inherited"><a href="Ext.form.field.Number.html#config-repeatTriggerClick" rel="config-repeatTriggerClick" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-cfg-repeatTriggerClick" class="viewSource">view source</a></div><a name="repeatTriggerClick"></a><a name="config-repeatTriggerClick"></a><a href="Ext.form.field.Number.html#" rel="config-repeatTriggerClick" class="cls expand">repeatTriggerClick</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Whether a <a href="Ext.util.ClickRepeater.html" rel="Ext.util.ClickRepeater" class="docClass">click repeater</a> should be
929 attached to the spinner buttons. Defaults to <tt>true</tt>.</p>
930 </div><div class="long"><p>Whether a <a href="Ext.util.ClickRepeater.html" rel="Ext.util.ClickRepeater" class="docClass">click repeater</a> should be
931 attached to the spinner buttons. Defaults to <tt>true</tt>.</p>
932 </div></div></div><div id="config-resizable" class="member inherited"><a href="Ext.form.field.Number.html#config-resizable" rel="config-resizable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-resizable" class="viewSource">view source</a></div><a name="resizable"></a><a name="config-resizable"></a><a href="Ext.form.field.Number.html#" rel="config-resizable" class="cls expand">resizable</a><span> : Mixed</span></div><div class="description"><div class="short">Specify as true to apply a Resizer to this Component
933 after rendering.
934
935
936 May also be specified as a config object to b...</div><div class="long"><p>Specify as <code>true</code> to apply a <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Resizer</a> to this Component
937 after rendering.</p>
938
939
940 <p>May also be specified as a config object to be passed to the constructor of <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Resizer</a>
941 to override any defaults. By default the Component passes its minimum and maximum size, and uses
942 <code><a href="Ext.resizer.Resizer.html#dynamic" rel="Ext.resizer.Resizer#dynamic" class="docClass">Ext.resizer.Resizer.dynamic</a>: false</code></p>
943
944 </div></div></div><div id="config-resizeHandles" class="member inherited"><a href="Ext.form.field.Number.html#config-resizeHandles" rel="config-resizeHandles" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-resizeHandles" class="viewSource">view source</a></div><a name="resizeHandles"></a><a name="config-resizeHandles"></a><a href="Ext.form.field.Number.html#" rel="config-resizeHandles" class="cls expand">resizeHandles</a><span> : String</span></div><div class="description"><div class="short"><p>A valid <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Ext.resizer.Resizer</a> handles config string (defaults to 'all').  Only applies when resizable = true.</p>
945 </div><div class="long"><p>A valid <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Ext.resizer.Resizer</a> handles config string (defaults to 'all').  Only applies when resizable = true.</p>
946 </div></div></div><div id="config-saveBuffer" class="member inherited"><a href="Ext.form.field.Number.html#config-saveBuffer" rel="config-saveBuffer" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-saveBuffer" class="viewSource">view source</a></div><a name="saveBuffer"></a><a name="config-saveBuffer"></a><a href="Ext.form.field.Number.html#" rel="config-saveBuffer" class="cls expand">saveBuffer</a><span> : Number</span></div><div class="description"><div class="short"><p>A buffer to be applied if many state events are fired within
947 a short period. Defaults to 100.</p>
948 </div><div class="long"><p>A buffer to be applied if many state events are fired within
949 a short period. Defaults to 100.</p>
950 </div></div></div><div id="config-selectOnFocus" class="member inherited"><a href="Ext.form.field.Number.html#config-selectOnFocus" rel="config-selectOnFocus" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-cfg-selectOnFocus" class="viewSource">view source</a></div><a name="selectOnFocus"></a><a name="config-selectOnFocus"></a><a href="Ext.form.field.Number.html#" rel="config-selectOnFocus" class="cls expand">selectOnFocus</a><span> : Boolean</span></div><div class="description"><div class="short">true to select any existing text in the field immediately on focus.
951 Only applies when editable = true (defaults to fa...</div><div class="long"><p><tt>true</tt> to select any existing text in the field immediately on focus.
952 Only applies when <tt><a href="Ext.form.field.Number.html#editable" rel="Ext.form.field.Number#editable" class="docClass">editable</a> = true</tt> (defaults to <tt>false</tt>).</p>
953 </div></div></div><div id="config-shadow" class="member inherited"><a href="Ext.form.field.Number.html#config-shadow" rel="config-shadow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-cfg-shadow" class="viewSource">view source</a></div><a name="shadow"></a><a name="config-shadow"></a><a href="Ext.form.field.Number.html#" rel="config-shadow" class="cls expand">shadow</a><span> : String/Boolean</span></div><div class="description"><div class="short">Specifies whether the floating component should be given a shadow. Set to
954 true to automatically create an Ext.Shadow,...</div><div class="long"><p>Specifies whether the floating component should be given a shadow. Set to
955 <tt>true</tt> to automatically create an <a href="Ext.Shadow.html" rel="Ext.Shadow" class="docClass">Ext.Shadow</a>, or a string indicating the
956 shadow's display <a href="Ext.Shadow.html#mode" rel="Ext.Shadow#mode" class="docClass">Ext.Shadow.mode</a>. Set to <tt>false</tt> to disable the shadow.
957 (Defaults to <tt>'sides'</tt>.)</p>
958 </div></div></div><div id="config-size" class="member inherited"><a href="Ext.form.field.Number.html#config-size" rel="config-size" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-size" class="viewSource">view source</a></div><a name="size"></a><a name="config-size"></a><a href="Ext.form.field.Number.html#" rel="config-size" class="cls expand">size</a><span> : Number</span></div><div class="description"><div class="short">An initial value for the 'size' attribute on the text input element. This is only
959 used if the field has no configured...</div><div class="long"><p>An initial value for the 'size' attribute on the text input element. This is only
960 used if the field has no configured <a href="Ext.form.field.Number.html#width" rel="Ext.form.field.Number#width" class="docClass">width</a> and is not given a width by its container's layout.
961 Defaults to <tt>20</tt>.</p>
962 </div></div></div><div id="config-spinDownEnabled" class="member inherited"><a href="Ext.form.field.Number.html#config-spinDownEnabled" rel="config-spinDownEnabled" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-cfg-spinDownEnabled" class="viewSource">view source</a></div><a name="spinDownEnabled"></a><a name="config-spinDownEnabled"></a><a href="Ext.form.field.Number.html#" rel="config-spinDownEnabled" class="cls expand">spinDownEnabled</a><span> : Boolean</span></div><div class="description"><div class="short">Specifies whether the down spinner button is enabled. Defaults to true. To change this
963 after the component is created...</div><div class="long"><p>Specifies whether the down spinner button is enabled. Defaults to <tt>true</tt>. To change this
964 after the component is created, use the <a href="Ext.form.field.Number.html#setSpinDownEnabled" rel="Ext.form.field.Number#setSpinDownEnabled" class="docClass">setSpinDownEnabled</a> method.</p>
965 </div></div></div><div id="config-spinUpEnabled" class="member inherited"><a href="Ext.form.field.Number.html#config-spinUpEnabled" rel="config-spinUpEnabled" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-cfg-spinUpEnabled" class="viewSource">view source</a></div><a name="spinUpEnabled"></a><a name="config-spinUpEnabled"></a><a href="Ext.form.field.Number.html#" rel="config-spinUpEnabled" class="cls expand">spinUpEnabled</a><span> : Boolean</span></div><div class="description"><div class="short">Specifies whether the up spinner button is enabled. Defaults to true. To change this
966 after the component is created, ...</div><div class="long"><p>Specifies whether the up spinner button is enabled. Defaults to <tt>true</tt>. To change this
967 after the component is created, use the <a href="Ext.form.field.Number.html#setSpinUpEnabled" rel="Ext.form.field.Number#setSpinUpEnabled" class="docClass">setSpinUpEnabled</a> method.</p>
968 </div></div></div><div id="config-stateEvents" class="member inherited"><a href="Ext.form.field.Number.html#config-stateEvents" rel="config-stateEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-stateEvents" class="viewSource">view source</a></div><a name="stateEvents"></a><a name="config-stateEvents"></a><a href="Ext.form.field.Number.html#" rel="config-stateEvents" class="cls expand">stateEvents</a><span> : Array</span></div><div class="description"><div class="short">An array of events that, when fired, should trigger this object to
969 save its state (defaults to none). stateEvents may...</div><div class="long"><p>An array of events that, when fired, should trigger this object to
970 save its state (defaults to none). <code>stateEvents</code> may be any type
971 of event supported by this object, including browser or custom events
972 (e.g., <tt>['click', 'customerchange']</tt>).</p>
973
974
975 <p>See <code><a href="Ext.form.field.Number.html#stateful" rel="Ext.form.field.Number#stateful" class="docClass">stateful</a></code> for an explanation of saving and
976 restoring object state.</p>
977
978 </div></div></div><div id="config-stateId" class="member inherited"><a href="Ext.form.field.Number.html#config-stateId" rel="config-stateId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-stateId" class="viewSource">view source</a></div><a name="stateId"></a><a name="config-stateId"></a><a href="Ext.form.field.Number.html#" rel="config-stateId" class="cls expand">stateId</a><span> : String</span></div><div class="description"><div class="short">The unique id for this object to use for state management purposes.
979
980 See stateful for an explanation of saving and re...</div><div class="long"><p>The unique id for this object to use for state management purposes.</p>
981
982 <p>See <a href="Ext.form.field.Number.html#stateful" rel="Ext.form.field.Number#stateful" class="docClass">stateful</a> for an explanation of saving and restoring state.</p>
983
984 </div></div></div><div id="config-stateful" class="member inherited"><a href="Ext.form.field.Number.html#config-stateful" rel="config-stateful" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-stateful" class="viewSource">view source</a></div><a name="stateful"></a><a name="config-stateful"></a><a href="Ext.form.field.Number.html#" rel="config-stateful" class="cls expand">stateful</a><span> : Boolean</span></div><div class="description"><div class="short">A flag which causes the object to attempt to restore the state of
985 internal properties from a saved state on startup. ...</div><div class="long"><p>A flag which causes the object to attempt to restore the state of
986 internal properties from a saved state on startup. The object must have
987 a <code><a href="Ext.form.field.Number.html#stateId" rel="Ext.form.field.Number#stateId" class="docClass">stateId</a></code> for state to be managed. 
988 Auto-generated ids are not guaranteed to be stable across page loads and 
989 cannot be relied upon to save and restore the same state for a object.<p>
990 <p>For state saving to work, the state manager's provider must have been
991 set to an implementation of <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> which overrides the
992 <a href="Ext.state.Provider.html#set" rel="Ext.state.Provider#set" class="docClass">set</a> and <a href="Ext.state.Provider.html#get" rel="Ext.state.Provider#get" class="docClass">get</a>
993 methods to save and recall name/value pairs. A built-in implementation,
994 <a href="Ext.state.CookieProvider.html" rel="Ext.state.CookieProvider" class="docClass">Ext.state.CookieProvider</a> is available.</p>
995 <p>To set the state provider for the current page:</p>
996 <pre><code>Ext.state.Manager.setProvider(new Ext.state.CookieProvider({
997     expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now
998 }));
999 </code></pre>
1000 <p>A stateful object attempts to save state when one of the events
1001 listed in the <code><a href="Ext.form.field.Number.html#stateEvents" rel="Ext.form.field.Number#stateEvents" class="docClass">stateEvents</a></code> configuration fires.</p>
1002 <p>To save state, a stateful object first serializes its state by
1003 calling <b><code><a href="Ext.form.field.Number.html#getState" rel="Ext.form.field.Number#getState" class="docClass">getState</a></code></b>. By default, this function does
1004 nothing. The developer must provide an implementation which returns an
1005 object hash which represents the restorable state of the object.</p>
1006 <p>The value yielded by getState is passed to <a href="Ext.state.Manager.html#set" rel="Ext.state.Manager#set" class="docClass">Ext.state.Manager.set</a>
1007 which uses the configured <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> to save the object
1008 keyed by the <code><a href="stateId.html" rel="stateId" class="docClass">stateId</a></code></p>.
1009 <p>During construction, a stateful object attempts to <i>restore</i>
1010 its state by calling <a href="Ext.state.Manager.html#get" rel="Ext.state.Manager#get" class="docClass">Ext.state.Manager.get</a> passing the
1011 <code><a href="Ext.form.field.Number.html#stateId" rel="Ext.form.field.Number#stateId" class="docClass">stateId</a></code></p>
1012 <p>The resulting object is passed to <b><code><a href="Ext.form.field.Number.html#applyState" rel="Ext.form.field.Number#applyState" class="docClass">applyState</a></code></b>.
1013 The default implementation of <code><a href="Ext.form.field.Number.html#applyState" rel="Ext.form.field.Number#applyState" class="docClass">applyState</a></code> simply copies
1014 properties into the object, but a developer may override this to support
1015 more behaviour.</p>
1016 <p>You can perform extra processing on state save and restore by attaching
1017 handlers to the <a href="Ext.form.field.Number.html#beforestaterestore" rel="Ext.form.field.Number#beforestaterestore" class="docClass">beforestaterestore</a>, <a href="Ext.form.field.Number.html#staterestore" rel="Ext.form.field.Number#staterestore" class="docClass">staterestore</a>,
1018 <a href="Ext.form.field.Number.html#beforestatesave" rel="Ext.form.field.Number#beforestatesave" class="docClass">beforestatesave</a> and <a href="Ext.form.field.Number.html#statesave" rel="Ext.form.field.Number#statesave" class="docClass">statesave</a> events.</p>
1019
1020 </div></div></div><div id="config-step" class="member ni"><a href="Ext.form.field.Number.html#config-step" rel="config-step" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-cfg-step" class="viewSource">view source</a></div><a name="step"></a><a name="config-step"></a><a href="Ext.form.field.Number.html#" rel="config-step" class="cls expand">step</a><span> : Number</span></div><div class="description"><div class="short">Specifies a numeric interval by which the field's value will be incremented or
1021 decremented when the user invokes the ...</div><div class="long"><p>Specifies a numeric interval by which the field's value will be incremented or
1022 decremented when the user invokes the spinner. Defaults to <tt>1</tt>.</p>
1023 </div></div></div><div id="config-stripCharsRe" class="member inherited"><a href="Ext.form.field.Number.html#config-stripCharsRe" rel="config-stripCharsRe" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-stripCharsRe" class="viewSource">view source</a></div><a name="stripCharsRe"></a><a name="config-stripCharsRe"></a><a href="Ext.form.field.Number.html#" rel="config-stripCharsRe" class="cls expand">stripCharsRe</a><span> : RegExp</span></div><div class="description"><div class="short"><p>A JavaScript RegExp object used to strip unwanted content from the value
1024 before validation (defaults to <tt>undefined</tt>).</p>
1025 </div><div class="long"><p>A JavaScript RegExp object used to strip unwanted content from the value
1026 before validation (defaults to <tt>undefined</tt>).</p>
1027 </div></div></div><div id="config-style" class="member inherited"><a href="Ext.form.field.Number.html#config-style" rel="config-style" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-style" class="viewSource">view source</a></div><a name="style"></a><a name="config-style"></a><a href="Ext.form.field.Number.html#" rel="config-style" class="cls expand">style</a><span> : String</span></div><div class="description"><div class="short">A custom style specification to be applied to this component's Element.  Should be a valid argument to
1028 Ext.core.Eleme...</div><div class="long"><p>A custom style specification to be applied to this component's Element.  Should be a valid argument to
1029 <a href="Ext.core.Element.html#applyStyles" rel="Ext.core.Element#applyStyles" class="docClass">Ext.core.Element.applyStyles</a>.</p>
1030
1031 <pre><code>        new Ext.panel.Panel({
1032             title: 'Some Title',
1033             renderTo: Ext.getBody(),
1034             width: 400, height: 300,
1035             layout: 'form',
1036             items: [{
1037                 xtype: 'textarea',
1038                 style: {
1039                     width: '95%',
1040                     marginBottom: '10px'
1041                 }
1042             },
1043             new Ext.button.Button({
1044                 text: 'Send',
1045                 minWidth: '100',
1046                 style: {
1047                     marginBottom: '10px'
1048                 }
1049             })
1050             ]
1051         });
1052      </code></pre>
1053
1054 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.form.field.Number.html#config-styleHtmlCls" rel="config-styleHtmlCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlCls" class="viewSource">view source</a></div><a name="styleHtmlCls"></a><a name="config-styleHtmlCls"></a><a href="Ext.form.field.Number.html#" rel="config-styleHtmlCls" class="cls expand">styleHtmlCls</a><span> : String</span></div><div class="description"><div class="short"><p>The class that is added to the content target when you set styleHtmlContent to true.
1055 Defaults to 'x-html'</p>
1056 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
1057 Defaults to 'x-html'</p>
1058 </div></div></div><div id="config-styleHtmlContent" class="member inherited"><a href="Ext.form.field.Number.html#config-styleHtmlContent" rel="config-styleHtmlContent" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlContent" class="viewSource">view source</a></div><a name="styleHtmlContent"></a><a name="config-styleHtmlContent"></a><a href="Ext.form.field.Number.html#" rel="config-styleHtmlContent" class="cls expand">styleHtmlContent</a><span> : String</span></div><div class="description"><div class="short"><p>True to automatically style the html inside the content target of this component (body for panels).
1059 Defaults to false.</p>
1060 </div><div class="long"><p>True to automatically style the html inside the content target of this component (body for panels).
1061 Defaults to false.</p>
1062 </div></div></div><div id="config-submitValue" class="member inherited"><a href="Ext.form.field.Number.html#config-submitValue" rel="config-submitValue" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-cfg-submitValue" class="viewSource">view source</a></div><a name="submitValue"></a><a name="config-submitValue"></a><a href="Ext.form.field.Number.html#" rel="config-submitValue" class="cls expand">submitValue</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Setting this to <tt>false</tt> will prevent the field from being
1063 <a href="Ext.form.Basic.html#submit" rel="Ext.form.Basic#submit" class="docClass">submitted</a> even when it is not disabled. Defaults to <tt>true</tt>.</p>
1064 </div><div class="long"><p>Setting this to <tt>false</tt> will prevent the field from being
1065 <a href="Ext.form.Basic.html#submit" rel="Ext.form.Basic#submit" class="docClass">submitted</a> even when it is not disabled. Defaults to <tt>true</tt>.</p>
1066 </div></div></div><div id="config-tabIndex" class="member inherited"><a href="Ext.form.field.Number.html#config-tabIndex" rel="config-tabIndex" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-tabIndex" class="viewSource">view source</a></div><a name="tabIndex"></a><a name="config-tabIndex"></a><a href="Ext.form.field.Number.html#" rel="config-tabIndex" class="cls expand">tabIndex</a><span> : Number</span></div><div class="description"><div class="short">The tabIndex for this field. Note this only applies to fields that are rendered,
1067 not those which are built via applyT...</div><div class="long"><p>The tabIndex for this field. Note this only applies to fields that are rendered,
1068 not those which are built via applyTo (defaults to undefined).</p>
1069 </div></div></div><div id="config-toFrontOnShow" class="member inherited"><a href="Ext.form.field.Number.html#config-toFrontOnShow" rel="config-toFrontOnShow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-toFrontOnShow" class="viewSource">view source</a></div><a name="toFrontOnShow"></a><a name="config-toFrontOnShow"></a><a href="Ext.form.field.Number.html#" rel="config-toFrontOnShow" class="cls expand">toFrontOnShow</a><span> : Boolean</span></div><div class="description"><div class="short">True to automatically call toFront when the show method is called
1070 on an already visible, floating component (default ...</div><div class="long"><p>True to automatically call <a href="Ext.form.field.Number.html#toFront" rel="Ext.form.field.Number#toFront" class="docClass">toFront</a> when the <a href="Ext.form.field.Number.html#show" rel="Ext.form.field.Number#show" class="docClass">show</a> method is called
1071 on an already visible, floating component (default is <code>true</code>).</p>
1072
1073 </div></div></div><div id="config-tpl" class="member inherited"><a href="Ext.form.field.Number.html#config-tpl" rel="config-tpl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-tpl" class="viewSource">view source</a></div><a name="tpl"></a><a name="config-tpl"></a><a href="Ext.form.field.Number.html#" rel="config-tpl" class="cls expand">tpl</a><span> : Mixed</span></div><div class="description"><div class="short">An Ext.Template, Ext.XTemplate
1074 or an array of strings to form an Ext.XTemplate.
1075 Used in conjunction with the data and...</div><div class="long"><p>An <bold><a href="Ext.Template.html" rel="Ext.Template" class="docClass">Ext.Template</a></bold>, <bold><a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">Ext.XTemplate</a></bold>
1076 or an array of strings to form an <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">Ext.XTemplate</a>.
1077 Used in conjunction with the <code><a href="Ext.form.field.Number.html#data" rel="Ext.form.field.Number#data" class="docClass">data</a></code> and
1078 <code><a href="Ext.form.field.Number.html#tplWriteMode" rel="Ext.form.field.Number#tplWriteMode" class="docClass">tplWriteMode</a></code> configurations.</p>
1079 </div></div></div><div id="config-tplWriteMode" class="member inherited"><a href="Ext.form.field.Number.html#config-tplWriteMode" rel="config-tplWriteMode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-tplWriteMode" class="viewSource">view source</a></div><a name="tplWriteMode"></a><a name="config-tplWriteMode"></a><a href="Ext.form.field.Number.html#" rel="config-tplWriteMode" class="cls expand">tplWriteMode</a><span> : String</span></div><div class="description"><div class="short">The Ext.(X)Template method to use when
1080 updating the content area of the Component. Defaults to 'overwrite'
1081 (see Ext.X...</div><div class="long"><p>The Ext.(X)Template method to use when
1082 updating the content area of the Component. Defaults to <code>'overwrite'</code>
1083 (see <code><a href="Ext.XTemplate.html#overwrite" rel="Ext.XTemplate#overwrite" class="docClass">Ext.XTemplate.overwrite</a></code>).</p>
1084 </div></div></div><div id="config-triggerBaseCls" class="member inherited"><a href="Ext.form.field.Number.html#config-triggerBaseCls" rel="config-triggerBaseCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-cfg-triggerBaseCls" class="viewSource">view source</a></div><a name="triggerBaseCls"></a><a name="config-triggerBaseCls"></a><a href="Ext.form.field.Number.html#" rel="config-triggerBaseCls" class="cls expand">triggerBaseCls</a><span> : String</span></div><div class="description"><div class="short">The base CSS class that is always added to the trigger button. The triggerCls will be
1085 appended in addition to this cl...</div><div class="long"><p>The base CSS class that is always added to the trigger button. The <a href="Ext.form.field.Number.html#triggerCls" rel="Ext.form.field.Number#triggerCls" class="docClass">triggerCls</a> will be
1086 appended in addition to this class.</p>
1087 </div></div></div><div id="config-triggerCls" class="member inherited"><a href="Ext.form.field.Number.html#config-triggerCls" rel="config-triggerCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-cfg-triggerCls" class="viewSource">view source</a></div><a name="triggerCls"></a><a name="config-triggerCls"></a><a href="Ext.form.field.Number.html#" rel="config-triggerCls" class="cls expand">triggerCls</a><span> : String</span></div><div class="description"><div class="short">An additional CSS class used to style the trigger button.  The trigger will always get the
1088 triggerBaseCls by default ...</div><div class="long"><p>An additional CSS class used to style the trigger button.  The trigger will always get the
1089 <a href="Ext.form.field.Number.html#triggerBaseCls" rel="Ext.form.field.Number#triggerBaseCls" class="docClass">triggerBaseCls</a> by default and <tt>triggerCls</tt> will be <b>appended</b> if specified.
1090 Defaults to undefined.</p>
1091 </div></div></div><div id="config-triggerWrapCls" class="member inherited"><a href="Ext.form.field.Number.html#config-triggerWrapCls" rel="config-triggerWrapCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-cfg-triggerWrapCls" class="viewSource">view source</a></div><a name="triggerWrapCls"></a><a name="config-triggerWrapCls"></a><a href="Ext.form.field.Number.html#" rel="config-triggerWrapCls" class="cls expand">triggerWrapCls</a><span> : String</span></div><div class="description"><div class="short"><p>The CSS class that is added to the div wrapping the trigger button(s).</p>
1092 </div><div class="long"><p>The CSS class that is added to the div wrapping the trigger button(s).</p>
1093 </div></div></div><div id="config-ui" class="member inherited"><a href="Ext.form.field.Number.html#config-ui" rel="config-ui" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-ui" class="viewSource">view source</a></div><a name="ui"></a><a name="config-ui"></a><a href="Ext.form.field.Number.html#" rel="config-ui" class="cls expand">ui</a><span> : String/Array</span></div><div class="description"><div class="short"><p>A set style for a component. Can be a string or an Array of multiple strings (UIs)</p>
1094 </div><div class="long"><p>A set style for a component. Can be a string or an Array of multiple strings (UIs)</p>
1095 </div></div></div><div id="config-validateOnBlur" class="member inherited"><a href="Ext.form.field.Number.html#config-validateOnBlur" rel="config-validateOnBlur" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-cfg-validateOnBlur" class="viewSource">view source</a></div><a name="validateOnBlur"></a><a name="config-validateOnBlur"></a><a href="Ext.form.field.Number.html#" rel="config-validateOnBlur" class="cls expand">validateOnBlur</a><span> : Boolean</span></div><div class="description"><div class="short">Whether the field should validate when it loses focus (defaults to true). This will cause fields
1096 to be validated as t...</div><div class="long"><p>Whether the field should validate when it loses focus (defaults to <tt>true</tt>). This will cause fields
1097 to be validated as the user steps through the fields in the form regardless of whether they are making
1098 changes to those fields along the way. See also <a href="Ext.form.field.Number.html#validateOnChange" rel="Ext.form.field.Number#validateOnChange" class="docClass">validateOnChange</a>.</p>
1099 </div></div></div><div id="config-validateOnChange" class="member inherited"><a href="Ext.form.field.Number.html#config-validateOnChange" rel="config-validateOnChange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-cfg-validateOnChange" class="viewSource">view source</a></div><a name="validateOnChange"></a><a name="config-validateOnChange"></a><a href="Ext.form.field.Number.html#" rel="config-validateOnChange" class="cls expand">validateOnChange</a><span> : Boolean</span></div><div class="description"><div class="short">Specifies whether this field should be validated immediately whenever a change in its value is detected.
1100 Defaults to ...</div><div class="long"><p>Specifies whether this field should be validated immediately whenever a change in its value is detected.
1101 Defaults to <tt>true</tt>. If the validation results in a change in the field's validity, a
1102 <a href="Ext.form.field.Number.html#validitychange" rel="Ext.form.field.Number#validitychange" class="docClass">validitychange</a> event will be fired. This allows the field to show feedback about the
1103 validity of its contents immediately as the user is typing.</p>
1104
1105
1106 <p>When set to <tt>false</tt>, feedback will not be immediate. However the form will still be validated
1107 before submitting if the <tt>clientValidation</tt> option to <a href="Ext.form.Basic.html#doAction" rel="Ext.form.Basic#doAction" class="docClass">Ext.form.Basic.doAction</a> is
1108 enabled, or if the field or form are validated manually.</p>
1109
1110
1111 <p>See also <a href="Ext.form.field.Base.html#checkChangeEvents" rel="Ext.form.field.Base#checkChangeEvents" class="docClass">Ext.form.field.Base.checkChangeEvents</a>for controlling how changes to the field's value are detected.</p>
1112
1113 </div></div></div><div id="config-validator" class="member inherited"><a href="Ext.form.field.Number.html#config-validator" rel="config-validator" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-validator" class="viewSource">view source</a></div><a name="validator"></a><a name="config-validator"></a><a href="Ext.form.field.Number.html#" rel="config-validator" class="cls expand">validator</a><span> : Function</span></div><div class="description"><div class="short">A custom validation function to be called during field validation (getErrors)
1114 (defaults to undefined). If specified, ...</div><div class="long"><p>A custom validation function to be called during field validation (<a href="Ext.form.field.Number.html#getErrors" rel="Ext.form.field.Number#getErrors" class="docClass">getErrors</a>)
1115 (defaults to <tt>undefined</tt>). If specified, this function will be called first, allowing the
1116 developer to override the default validation process.</p>
1117
1118
1119 <br><p>This function will be passed the following Parameters:</p>
1120
1121
1122 <div class="mdetail-params"><ul>
1123 <li><code>value</code>: <i>Mixed</i>
1124 <div class="sub-desc">The current field value</div></li>
1125 </ul></div>
1126
1127
1128 <br><p>This function is to Return:</p>
1129
1130
1131 <div class="mdetail-params"><ul>
1132 <li><code>true</code>: <i>Boolean</i>
1133 <div class="sub-desc"><code>true</code> if the value is valid</div></li>
1134 <li><code>msg</code>: <i>String</i>
1135 <div class="sub-desc">An error message if the value is invalid</div></li>
1136 </ul></div>
1137
1138 </div></div></div><div id="config-value" class="member inherited"><a href="Ext.form.field.Number.html#config-value" rel="config-value" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-cfg-value" class="viewSource">view source</a></div><a name="value"></a><a name="config-value"></a><a href="Ext.form.field.Number.html#" rel="config-value" class="cls expand">value</a><span> : Mixed</span></div><div class="description"><div class="short"><p>A value to initialize this field with (defaults to undefined).</p>
1139 </div><div class="long"><p>A value to initialize this field with (defaults to undefined).</p>
1140 </div></div></div><div id="config-vtype" class="member inherited"><a href="Ext.form.field.Number.html#config-vtype" rel="config-vtype" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-vtype" class="viewSource">view source</a></div><a name="vtype"></a><a name="config-vtype"></a><a href="Ext.form.field.Number.html#" rel="config-vtype" class="cls expand">vtype</a><span> : String</span></div><div class="description"><div class="short"><p>A validation type name as defined in <a href="Ext.form.field.VTypes.html" rel="Ext.form.field.VTypes" class="docClass">Ext.form.field.VTypes</a> (defaults to <tt>undefined</tt>)</p>
1141 </div><div class="long"><p>A validation type name as defined in <a href="Ext.form.field.VTypes.html" rel="Ext.form.field.VTypes" class="docClass">Ext.form.field.VTypes</a> (defaults to <tt>undefined</tt>)</p>
1142 </div></div></div><div id="config-vtypeText" class="member inherited"><a href="Ext.form.field.Number.html#config-vtypeText" rel="config-vtypeText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-cfg-vtypeText" class="viewSource">view source</a></div><a name="vtypeText"></a><a name="config-vtypeText"></a><a href="Ext.form.field.Number.html#" rel="config-vtypeText" class="cls expand">vtypeText</a><span> : String</span></div><div class="description"><div class="short">A custom error message to display in place of the default message provided
1143 for the vtype currently set for this field...</div><div class="long"><p>A custom error message to display in place of the default message provided
1144 for the <b><code><a href="Ext.form.field.Number.html#vtype" rel="Ext.form.field.Number#vtype" class="docClass">vtype</a></code></b> currently set for this field (defaults to <tt>undefined</tt>).
1145 <b>Note</b>: only applies if <b><code><a href="Ext.form.field.Number.html#vtype" rel="Ext.form.field.Number#vtype" class="docClass">vtype</a></code></b> is set, else ignored.</p>
1146 </div></div></div><div id="config-width" class="member inherited"><a href="Ext.form.field.Number.html#config-width" rel="config-width" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-width" class="viewSource">view source</a></div><a name="width"></a><a name="config-width"></a><a href="Ext.form.field.Number.html#" rel="config-width" class="cls expand">width</a><span> : Number</span></div><div class="description"><div class="short"><p>The width of this component in pixels.</p>
1147 </div><div class="long"><p>The width of this component in pixels.</p>
1148 </div></div></div></div><div class="m-properties"><a name="properties"></a><div class="definedBy">Defined By</div><h3 class="prp p">Properties</h3><div id="property-bodyEl" class="member f inherited"><a href="Ext.form.field.Number.html#property-bodyEl" rel="property-bodyEl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-property-bodyEl" class="viewSource">view source</a></div><a name="bodyEl"></a><a name="property-bodyEl"></a><a href="Ext.form.field.Number.html#" rel="property-bodyEl" class="cls expand">bodyEl</a><span> : Ext.core.Element</span></div><div class="description"><div class="short"><p>The div Element wrapping the component's contents. Only available after the component has been rendered.</p>
1149 </div><div class="long"><p>The div Element wrapping the component's contents. Only available after the component has been rendered.</p>
1150 </div></div></div><div id="property-clearInvalid" class="member inherited"><a href="Ext.form.field.Number.html#property-clearInvalid" rel="property-clearInvalid" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-property-clearInvalid" class="viewSource">view source</a></div><a name="clearInvalid"></a><a name="property-clearInvalid"></a><a href="Ext.form.field.Number.html#" rel="property-clearInvalid" class="cls expand">clearInvalid</a><span> : Object</span></div><div class="description"><div class="short">Clear any invalid styles/messages for this field. Components using this mixin should implement
1151 this method to update ...</div><div class="long"><p>Clear any invalid styles/messages for this field. Components using this mixin should implement
1152 this method to update the components rendering to clear any existing messages.</p>
1153
1154
1155 <p><b>Note</b>: this method does not cause the Field's <a href="Ext.form.field.Number.html#validate" rel="Ext.form.field.Number#validate" class="docClass">validate</a> or <a href="Ext.form.field.Number.html#isValid" rel="Ext.form.field.Number#isValid" class="docClass">isValid</a> methods to
1156 return <code>true</code> if the value does not <i>pass</i> validation. So simply clearing a field's errors
1157 will not necessarily allow submission of forms submitted with the <a href="Ext.form.action.Submit.html#clientValidation" rel="Ext.form.action.Submit#clientValidation" class="docClass">Ext.form.action.Submit.clientValidation</a>
1158 option set.</p>
1159
1160 </div></div></div><div id="property-draggable" class="member inherited"><a href="Ext.form.field.Number.html#property-draggable" rel="property-draggable" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-draggable" class="viewSource">view source</a></div><a name="draggable"></a><a name="property-draggable"></a><a href="Ext.form.field.Number.html#" rel="property-draggable" class="cls expand">draggable</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Read-only property indicating whether or not the component can be dragged</p>
1161 </div><div class="long"><p>Read-only property indicating whether or not the component can be dragged</p>
1162 </div></div></div><div id="property-errorEl" class="member inherited"><a href="Ext.form.field.Number.html#property-errorEl" rel="property-errorEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-property-errorEl" class="viewSource">view source</a></div><a name="errorEl"></a><a name="property-errorEl"></a><a href="Ext.form.field.Number.html#" rel="property-errorEl" class="cls expand">errorEl</a><span> : Ext.core.Element</span></div><div class="description"><div class="short">The div Element that will contain the component's error message(s). Note that depending on the
1163 configured msgTarget, ...</div><div class="long"><p>The div Element that will contain the component's error message(s). Note that depending on the
1164 configured <a href="Ext.form.field.Number.html#msgTarget" rel="Ext.form.field.Number#msgTarget" class="docClass">msgTarget</a>, this element may be hidden in favor of some other form of
1165 presentation, but will always be present in the DOM for use by assistive technologies.</p>
1166 </div></div></div><div id="property-floatParent" class="member inherited"><a href="Ext.form.field.Number.html#property-floatParent" rel="property-floatParent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-property-floatParent" class="viewSource">view source</a></div><a name="floatParent"></a><a name="property-floatParent"></a><a href="Ext.form.field.Number.html#" rel="property-floatParent" class="cls expand">floatParent</a><span> : Ext.Container</span></div><div class="description"><div class="short">Optional. Only present for floating Components which were inserted as descendant items of floating Containers.
1167
1168
1169 Floa...</div><div class="long"><p>Optional. Only present for <a href="Ext.form.field.Number.html#floating" rel="Ext.form.field.Number#floating" class="docClass">floating</a> Components which were inserted as descendant items of floating Containers.</p>
1170
1171
1172 <p>Floating Components that are programatically <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a> will not have a <code>floatParent</code> property.</p>
1173
1174
1175 <p>For <a href="Ext.form.field.Number.html#floating" rel="Ext.form.field.Number#floating" class="docClass">floating</a> Components which are child items of a Container, the floatParent will be the floating ancestor Container which is
1176 responsible for the base z-index value of all its floating descendants. It provides a <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a> which provides
1177 z-indexing services for all its descendant floating Components.</p>
1178
1179
1180 <p>For example, the dropdown <a href="Ext.view.BoundList.html" rel="Ext.view.BoundList" class="docClass">BoundList</a> of a ComboBox which is in a Window will have the Window as its
1181 <code>floatParent</code></p>
1182
1183
1184 <p>See <a href="Ext.form.field.Number.html#floating" rel="Ext.form.field.Number#floating" class="docClass">floating</a> and <a href="Ext.form.field.Number.html#zIndexManager" rel="Ext.form.field.Number#zIndexManager" class="docClass">zIndexManager</a></p>
1185
1186 </div></div></div><div id="property-frameSize" class="member inherited"><a href="Ext.form.field.Number.html#property-frameSize" rel="property-frameSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-frameSize" class="viewSource">view source</a></div><a name="frameSize"></a><a name="property-frameSize"></a><a href="Ext.form.field.Number.html#" rel="property-frameSize" class="cls expand">frameSize</a><span> : Object</span></div><div class="description"><div class="short">Read-only property indicating the width of any framing elements which were added within the encapsulating element
1187 to ...</div><div class="long"><p>Read-only property indicating the width of any framing elements which were added within the encapsulating element
1188 to provide graphical, rounded borders. See the <a href="Ext.form.field.Number.html#frame" rel="Ext.form.field.Number#frame" class="docClass">frame</a> config.</p>
1189
1190
1191 <p> This is an object containing the frame width in pixels for all four sides of the Component containing
1192 the following properties:</p>
1193
1194
1195 <div class="mdetail-params"><ul>
1196 <li><code>top</code> The width of the top framing element in pixels.</li>
1197 <li><code>right</code> The width of the right framing element in pixels.</li>
1198 <li><code>bottom</code> The width of the bottom framing element in pixels.</li>
1199 <li><code>left</code> The width of the left framing element in pixels.</li>
1200 </ul></div>
1201
1202 </div></div></div><div id="property-hasActiveFx" class="member inherited"><a href="Ext.form.field.Number.html#property-hasActiveFx" rel="property-hasActiveFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-property-hasActiveFx" class="viewSource">view source</a></div><a name="hasActiveFx"></a><a name="property-hasActiveFx"></a><a href="Ext.form.field.Number.html#" rel="property-hasActiveFx" class="cls expand">hasActiveFx</a><span> : Object</span></div><div class="description"><div class="short">@deprecated 4.0 Replaced by getActiveAnimation
1203 Returns thq current animation if this object has any effects actively ...</div><div class="long"><p>@deprecated 4.0 Replaced by <a href="Ext.form.field.Number.html#getActiveAnimation" rel="Ext.form.field.Number#getActiveAnimation" class="docClass">getActiveAnimation</a>
1204 Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1205 </div></div></div><div id="property-inputEl" class="member inherited"><a href="Ext.form.field.Number.html#property-inputEl" rel="property-inputEl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-property-inputEl" class="viewSource">view source</a></div><a name="inputEl"></a><a name="property-inputEl"></a><a href="Ext.form.field.Number.html#" rel="property-inputEl" class="cls expand">inputEl</a><span> : Ext.core.Element</span></div><div class="description"><div class="short"><p>The input Element for this Field. Only available after the field has been rendered.</p>
1206 </div><div class="long"><p>The input Element for this Field. Only available after the field has been rendered.</p>
1207 </div></div></div><div id="property-isFieldLabelable" class="member inherited"><a href="Ext.form.field.Number.html#property-isFieldLabelable" rel="property-isFieldLabelable" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-property-isFieldLabelable" class="viewSource">view source</a></div><a name="isFieldLabelable"></a><a name="property-isFieldLabelable"></a><a href="Ext.form.field.Number.html#" rel="property-isFieldLabelable" class="cls expand">isFieldLabelable</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Flag denoting that this object is labelable as a field. Always true.</p>
1208 </div><div class="long"><p>Flag denoting that this object is labelable as a field. Always true.</p>
1209 </div></div></div><div id="property-isFormField" class="member inherited"><a href="Ext.form.field.Number.html#property-isFormField" rel="property-isFormField" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-property-isFormField" class="viewSource">view source</a></div><a name="isFormField"></a><a name="property-isFormField"></a><a href="Ext.form.field.Number.html#" rel="property-isFormField" class="cls expand">isFormField</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Flag denoting that this component is a Field. Always true.</p>
1210 </div><div class="long"><p>Flag denoting that this component is a Field. Always true.</p>
1211 </div></div></div><div id="property-labelEl" class="member inherited"><a href="Ext.form.field.Number.html#property-labelEl" rel="property-labelEl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-property-labelEl" class="viewSource">view source</a></div><a name="labelEl"></a><a name="property-labelEl"></a><a href="Ext.form.field.Number.html#" rel="property-labelEl" class="cls expand">labelEl</a><span> : Ext.core.Element</span></div><div class="description"><div class="short"><p>The label Element for this component. Only available after the component has been rendered.</p>
1212 </div><div class="long"><p>The label Element for this component. Only available after the component has been rendered.</p>
1213 </div></div></div><div id="property-markInvalid" class="member inherited"><a href="Ext.form.field.Number.html#property-markInvalid" rel="property-markInvalid" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-property-markInvalid" class="viewSource">view source</a></div><a name="markInvalid"></a><a name="property-markInvalid"></a><a href="Ext.form.field.Number.html#" rel="property-markInvalid" class="cls expand">markInvalid</a><span> : Object</span></div><div class="description"><div class="short">Associate one or more error messages with this field. Components using this mixin should implement
1214 this method to upd...</div><div class="long"><p>Associate one or more error messages with this field. Components using this mixin should implement
1215 this method to update the component's rendering to display the messages.</p>
1216
1217
1218 <p><b>Note</b>: this method does not cause the Field's <a href="Ext.form.field.Number.html#validate" rel="Ext.form.field.Number#validate" class="docClass">validate</a> or <a href="Ext.form.field.Number.html#isValid" rel="Ext.form.field.Number#isValid" class="docClass">isValid</a> methods to
1219 return <code>false</code> if the value does <i>pass</i> validation. So simply marking a Field as invalid
1220 will not prevent submission of forms submitted with the <a href="Ext.form.action.Submit.html#clientValidation" rel="Ext.form.action.Submit#clientValidation" class="docClass">Ext.form.action.Submit.clientValidation</a>
1221 option set.</p>
1222
1223 </div></div></div><div id="property-maskOnDisable" class="member inherited"><a href="Ext.form.field.Number.html#property-maskOnDisable" rel="property-maskOnDisable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-maskOnDisable" class="viewSource">view source</a></div><a name="maskOnDisable"></a><a name="property-maskOnDisable"></a><a href="Ext.form.field.Number.html#" rel="property-maskOnDisable" class="cls expand">maskOnDisable</a><span> : Boolean</span></div><div class="description"><div class="short">This is an internal flag that you use when creating custom components.
1224 By default this is set to true which means tha...</div><div class="long"><p>This is an internal flag that you use when creating custom components.
1225 By default this is set to true which means that every component gets a mask when its disabled.
1226 Components like FieldContainer, FieldSet, Field, Button, Tab override this property to false
1227 since they want to implement custom disable logic.</p>
1228 </div></div></div><div id="property-onSpinDown" class="member inherited"><a href="Ext.form.field.Number.html#property-onSpinDown" rel="property-onSpinDown" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-property-onSpinDown" class="viewSource">view source</a></div><a name="onSpinDown"></a><a name="property-onSpinDown"></a><a href="Ext.form.field.Number.html#" rel="property-onSpinDown" class="cls expand">onSpinDown</a><span> : Object</span></div><div class="description"><div class="short">This method is called when the spinner down button is clicked, or when the down arrow key is pressed
1229 if keyNavEnabled...</div><div class="long"><p>This method is called when the spinner down button is clicked, or when the down arrow key is pressed
1230 if <a href="Ext.form.field.Number.html#keyNavEnabled" rel="Ext.form.field.Number#keyNavEnabled" class="docClass">keyNavEnabled</a> is <tt>true</tt>. Must be implemented by subclasses.</p>
1231 </div></div></div><div id="property-onSpinUp" class="member inherited"><a href="Ext.form.field.Number.html#property-onSpinUp" rel="property-onSpinUp" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-property-onSpinUp" class="viewSource">view source</a></div><a name="onSpinUp"></a><a name="property-onSpinUp"></a><a href="Ext.form.field.Number.html#" rel="property-onSpinUp" class="cls expand">onSpinUp</a><span> : Object</span></div><div class="description"><div class="short">This method is called when the spinner up button is clicked, or when the up arrow key is pressed
1232 if keyNavEnabled is ...</div><div class="long"><p>This method is called when the spinner up button is clicked, or when the up arrow key is pressed
1233 if <a href="Ext.form.field.Number.html#keyNavEnabled" rel="Ext.form.field.Number#keyNavEnabled" class="docClass">keyNavEnabled</a> is <tt>true</tt>. Must be implemented by subclasses.</p>
1234 </div></div></div><div id="property-originalValue" class="member inherited"><a href="Ext.form.field.Number.html#property-originalValue" rel="property-originalValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-property-originalValue" class="viewSource">view source</a></div><a name="originalValue"></a><a name="property-originalValue"></a><a href="Ext.form.field.Number.html#" rel="property-originalValue" class="cls expand">originalValue</a><span> : Mixed</span></div><div class="description"><div class="short">The original value of the field as configured in the value configuration, or as loaded by
1235 the last form load operatio...</div><div class="long"><p>The original value of the field as configured in the <a href="Ext.form.field.Number.html#value" rel="Ext.form.field.Number#value" class="docClass">value</a> configuration, or as loaded by
1236 the last form load operation if the form's <a href="Ext.form.Basic.html#trackResetOnLoad" rel="Ext.form.Basic#trackResetOnLoad" class="docClass">trackResetOnLoad</a>
1237 setting is <code>true</code>.</p>
1238 </div></div></div><div id="property-ownerCt" class="member inherited"><a href="Ext.form.field.Number.html#property-ownerCt" rel="property-ownerCt" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-ownerCt" class="viewSource">view source</a></div><a name="ownerCt"></a><a name="property-ownerCt"></a><a href="Ext.form.field.Number.html#" rel="property-ownerCt" class="cls expand">ownerCt</a><span> : Ext.Container</span></div><div class="description"><div class="short">This Component's owner Container (defaults to undefined, and is set automatically when
1239 this Component is added to a C...</div><div class="long"><p>This Component's owner <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a> (defaults to undefined, and is set automatically when
1240 this Component is added to a Container).  Read-only.</p>
1241
1242 <p><b>Note</b>: to access items within the Container see <tt><a href="Ext.form.field.Number.html#itemId" rel="Ext.form.field.Number#itemId" class="docClass">itemId</a></tt>.</p>
1243
1244 </div></div></div><div id="property-rendered" class="member inherited"><a href="Ext.form.field.Number.html#property-rendered" rel="property-rendered" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-rendered" class="viewSource">view source</a></div><a name="rendered"></a><a name="property-rendered"></a><a href="Ext.form.field.Number.html#" rel="property-rendered" class="cls expand">rendered</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Read-only property indicating whether or not the component has been rendered.</p>
1245 </div><div class="long"><p>Read-only property indicating whether or not the component has been rendered.</p>
1246 </div></div></div><div id="property-spinDownEl" class="member inherited"><a href="Ext.form.field.Number.html#property-spinDownEl" rel="property-spinDownEl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-property-spinDownEl" class="viewSource">view source</a></div><a name="spinDownEl"></a><a name="property-spinDownEl"></a><a href="Ext.form.field.Number.html#" rel="property-spinDownEl" class="cls expand">spinDownEl</a><span> : Ext.core.Element</span></div><div class="description"><div class="short"><p>The spinner down button element</p>
1247 </div><div class="long"><p>The spinner down button element</p>
1248 </div></div></div><div id="property-spinUpEl" class="member inherited"><a href="Ext.form.field.Number.html#property-spinUpEl" rel="property-spinUpEl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-property-spinUpEl" class="viewSource">view source</a></div><a name="spinUpEl"></a><a name="property-spinUpEl"></a><a href="Ext.form.field.Number.html#" rel="property-spinUpEl" class="cls expand">spinUpEl</a><span> : Ext.core.Element</span></div><div class="description"><div class="short"><p>The spinner up button element</p>
1249 </div><div class="long"><p>The spinner up button element</p>
1250 </div></div></div><div id="property-stopFx" class="member inherited"><a href="Ext.form.field.Number.html#property-stopFx" rel="property-stopFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-property-stopFx" class="viewSource">view source</a></div><a name="stopFx"></a><a name="property-stopFx"></a><a href="Ext.form.field.Number.html#" rel="property-stopFx" class="cls expand">stopFx</a><span> : Object</span></div><div class="description"><div class="short">Stops any running effects and clears this object's internal effects queue if it contains
1251 any additional effects that ...</div><div class="long"><p>Stops any running effects and clears this object's internal effects queue if it contains
1252 any additional effects that haven't started yet.</p>
1253 </div></div></div><div id="property-triggerEl" class="member inherited"><a href="Ext.form.field.Number.html#property-triggerEl" rel="property-triggerEl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-property-triggerEl" class="viewSource">view source</a></div><a name="triggerEl"></a><a name="property-triggerEl"></a><a href="Ext.form.field.Number.html#" rel="property-triggerEl" class="cls expand">triggerEl</a><span> : Ext.CompositeElement</span></div><div class="description"><div class="short"><p>A composite of all the trigger button elements. Only set after the field has been rendered.</p>
1254 </div><div class="long"><p>A composite of all the trigger button elements. Only set after the field has been rendered.</p>
1255 </div></div></div><div id="property-triggerWrap" class="member inherited"><a href="Ext.form.field.Number.html#property-triggerWrap" rel="property-triggerWrap" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-property-triggerWrap" class="viewSource">view source</a></div><a name="triggerWrap"></a><a name="property-triggerWrap"></a><a href="Ext.form.field.Number.html#" rel="property-triggerWrap" class="cls expand">triggerWrap</a><span> : Ext.core.Element</span></div><div class="description"><div class="short"><p>A reference to the div element wrapping the trigger button(s). Only set after the field has been rendered.</p>
1256 </div><div class="long"><p>A reference to the div element wrapping the trigger button(s). Only set after the field has been rendered.</p>
1257 </div></div></div><div id="property-zIndexManager" class="member inherited"><a href="Ext.form.field.Number.html#property-zIndexManager" rel="property-zIndexManager" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-property-zIndexManager" class="viewSource">view source</a></div><a name="zIndexManager"></a><a name="property-zIndexManager"></a><a href="Ext.form.field.Number.html#" rel="property-zIndexManager" class="cls expand">zIndexManager</a><span> : Ext.ZIndexManager</span></div><div class="description"><div class="short">Optional. Only present for floating Components after they have been rendered.
1258
1259
1260 A reference to the ZIndexManager whic...</div><div class="long"><p>Optional. Only present for <a href="Ext.form.field.Number.html#floating" rel="Ext.form.field.Number#floating" class="docClass">floating</a> Components after they have been rendered.</p>
1261
1262
1263 <p>A reference to the ZIndexManager which is managing this Component's z-index.</p>
1264
1265
1266 <p>The <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a> maintains a stack of floating Component z-indices, and also provides a single modal
1267 mask which is insert just beneath the topmost visible modal floating Component.</p>
1268
1269
1270 <p>Floating Components may be <a href="Ext.form.field.Number.html#toFront" rel="Ext.form.field.Number#toFront" class="docClass">brought to the front</a> or <a href="Ext.form.field.Number.html#toBack" rel="Ext.form.field.Number#toBack" class="docClass">sent to the back</a> of the z-index stack.</p>
1271
1272
1273 <p>This defaults to the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> for floating Components that are programatically
1274 <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a>.</p>
1275
1276
1277 <p>For <a href="Ext.form.field.Number.html#floating" rel="Ext.form.field.Number#floating" class="docClass">floating</a> Components which are added to a Container, the ZIndexManager is acquired from the first ancestor Container found
1278 which is floating, or if not found the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> is used.</p>
1279
1280
1281 <p>See <a href="Ext.form.field.Number.html#floating" rel="Ext.form.field.Number#floating" class="docClass">floating</a> and <a href="Ext.form.field.Number.html#floatParent" rel="Ext.form.field.Number#floatParent" class="docClass">floatParent</a></p>
1282
1283 </div></div></div></div><div class="m-methods"><a name="methods"></a><div class="definedBy">Defined By</div><h3 class="mth p">Methods</h3><div id="method-Number" class="member f ni"><a href="Ext.form.field.Number.html#method-Number" rel="method-Number" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-method-constructor" class="viewSource">view source</a></div><a name="Number"></a><a name="method-Number"></a><a href="Ext.form.field.Number.html#" rel="method-Number" class="cls expand">Number</a>(
1284 <span class="pre">Object config</span>)
1285  : void</div><div class="description"><div class="short"><p>Creates a new Number field</p>
1286 </div><div class="long"><p>Creates a new Number field</p>
1287 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>Configuration options</p>
1288 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1289 </li></ul></div></div></div><div id="method-addClass" class="member inherited"><a href="Ext.form.field.Number.html#method-addClass" rel="method-addClass" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-addClass" class="viewSource">view source</a></div><a name="addClass"></a><a name="method-addClass"></a><a href="Ext.form.field.Number.html#" rel="method-addClass" class="cls expand">addClass</a>(
1290 <span class="pre">String cls</span>)
1291  : Ext.Component</div><div class="description"><div class="short"><p>@deprecated 4.0 Replaced by {link:#addCls}
1292 Adds a CSS class to the top level element representing this component.</p>
1293 </div><div class="long"><p>@deprecated 4.0 Replaced by {link:#addCls}
1294 Adds a CSS class to the top level element representing this component.</p>
1295 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The CSS class name to add</p>
1296 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>Returns the Component to allow method chaining.</p>
1297 </li></ul></div></div></div><div id="method-addCls" class="member inherited"><a href="Ext.form.field.Number.html#method-addCls" rel="method-addCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-addCls" class="viewSource">view source</a></div><a name="addCls"></a><a name="method-addCls"></a><a href="Ext.form.field.Number.html#" rel="method-addCls" class="cls expand">addCls</a>(
1298 <span class="pre">String cls</span>)
1299  : Ext.Component</div><div class="description"><div class="short"><p>Adds a CSS class to the top level element representing this component.</p>
1300 </div><div class="long"><p>Adds a CSS class to the top level element representing this component.</p>
1301 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The CSS class name to add</p>
1302 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>Returns the Component to allow method chaining.</p>
1303 </li></ul></div></div></div><div id="method-addClsWithUI" class="member inherited"><a href="Ext.form.field.Number.html#method-addClsWithUI" rel="method-addClsWithUI" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-addClsWithUI" class="viewSource">view source</a></div><a name="addClsWithUI"></a><a name="method-addClsWithUI"></a><a href="Ext.form.field.Number.html#" rel="method-addClsWithUI" class="cls expand">addClsWithUI</a>(
1304 <span class="pre">String/Array cls</span>)
1305  : void</div><div class="description"><div class="short"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.form.field.Number.html#addUIClsToElement" rel="Ext.form.field.Number#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
1306 to all elements of this component.</p>
1307 </div><div class="long"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.form.field.Number.html#addUIClsToElement" rel="Ext.form.field.Number#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
1308 to all elements of this component.</p>
1309 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String/Array<div class="sub-desc"><p>A string or an array of strings to add to the uiCls</p>
1310 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1311 </li></ul></div></div></div><div id="method-addEvents" class="member inherited"><a href="Ext.form.field.Number.html#method-addEvents" rel="method-addEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addEvents" class="viewSource">view source</a></div><a name="addEvents"></a><a name="method-addEvents"></a><a href="Ext.form.field.Number.html#" rel="method-addEvents" class="cls expand">addEvents</a>(
1312 <span class="pre">Object/String o, String </span>)
1313  : void</div><div class="description"><div class="short"><p>Adds the specified events to the list of events which this Observable may fire.</p>
1314 </div><div class="long"><p>Adds the specified events to the list of events which this Observable may fire.</p>
1315 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Object/String<div class="sub-desc"><p>Either an object with event names as properties with a value of <code>true</code>
1316 or the first event name string if multiple event names are being passed as separate parameters.</p>
1317 </div></li><li><span class="pre"></span> : String<div class="sub-desc"><p>[additional] Optional additional event names if multiple event names are being passed as separate parameters.
1318 Usage:</p>
1319
1320 <pre><code>this.addEvents('storeloaded', 'storecleared');
1321 </code></pre>
1322
1323 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1324 </li></ul></div></div></div><div id="method-addListener" class="member inherited"><a href="Ext.form.field.Number.html#method-addListener" rel="method-addListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addListener" class="viewSource">view source</a></div><a name="addListener"></a><a name="method-addListener"></a><a href="Ext.form.field.Number.html#" rel="method-addListener" class="cls expand">addListener</a>(
1325 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
1326  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object.</p>
1327 </div><div class="long"><p>Appends an event handler to this object.</p>
1328 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to listen for. May also be an object who's property names are event names. See</p>
1329 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes.</p>
1330 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
1331 <b>If omitted, defaults to the object which fired the event.</b></p>
1332 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.
1333 properties. This may contain any of the following properties:<ul>
1334 <li><b>scope</b> : Object<div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
1335 <b>If omitted, defaults to the object which fired the event.</b></div></li>
1336 <li><b>delay</b> : Number<div class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</div></li>
1337 <li><b>single</b> : Boolean<div class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>
1338 <li><b>buffer</b> : Number<div class="sub-desc">Causes the handler to be scheduled to run in an <a href="Ext.util.DelayedTask.html" rel="Ext.util.DelayedTask" class="docClass">Ext.util.DelayedTask</a> delayed
1339 by the specified number of milliseconds. If the event fires again within that time, the original
1340 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
1341 <li><b>target</b> : Observable<div class="sub-desc">Only call the handler if the event was fired on the target Observable, <i>not</i>
1342 if the event was bubbled up from a child Observable.</div></li>
1343 <li><b>element</b> : String<div class="sub-desc"><b>This option is only valid for listeners bound to <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a>.</b>
1344 The name of a Component property which references an element to add a listener to.</p>
1345
1346 <p>This option is useful during Component construction to add DOM event listeners to elements of <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a> which
1347 will exist only after the Component is rendered. For example, to add a click listener to a Panel's body:
1348 <pre><code>new Ext.panel.Panel({
1349     title: 'The title',
1350     listeners: {
1351         click: this.handlePanelClick,
1352         element: 'body'
1353     }
1354 });
1355 </code></pre></p>
1356
1357
1358 <p>When added in this way, the options available are the options applicable to <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">Ext.core.Element.addListener</a></p>
1359
1360
1361 <p></div></li>
1362 </ul><br></p>
1363
1364 <p>
1365 <b>Combining Options</b><br>
1366 Using the options argument, it is possible to combine different types of listeners:<br>
1367 <br>
1368 A delayed, one-time listener.
1369 <pre><code>myPanel.on('hide', this.handleClick, this, {
1370 single: true,
1371 delay: 100
1372 });</code></pre>
1373 <p>
1374 <b>Attaching multiple handlers in 1 call</b><br>
1375 The method also allows for a single argument to be passed which is a config object containing properties
1376 which specify multiple events. For example:
1377 <pre><code>myGridPanel.on({
1378     cellClick: this.onCellClick,
1379     mouseover: this.onMouseOver,
1380     mouseout: this.onMouseOut,
1381     scope: this // Important. Ensure "this" is correct during handler execution
1382 });
1383 </code></pre>.
1384 <p>
1385
1386 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1387 </li></ul></div></div></div><div id="method-addManagedListener" class="member inherited"><a href="Ext.form.field.Number.html#method-addManagedListener" rel="method-addManagedListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addManagedListener" class="viewSource">view source</a></div><a name="addManagedListener"></a><a name="method-addManagedListener"></a><a href="Ext.form.field.Number.html#" rel="method-addManagedListener" class="cls expand">addManagedListener</a>(
1388 <span class="pre">Observable/Element item, Object/String ename, Function fn, Object scope, Object opt</span>)
1389  : void</div><div class="description"><div class="short"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
1390 is destroyed.
1391
1392 </div><div class="long"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
1393 is destroyed.
1394
1395 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Observable/Element<div class="sub-desc"><p>The item to which to add a listener/listeners.</p>
1396 </div></li><li><span class="pre">ename</span> : Object/String<div class="sub-desc"><p>The event name, or an object containing event name properties.</p>
1397 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1398 is the handler function.</p>
1399 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1400 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
1401 </div></li><li><span class="pre">opt</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1402 is the <a href="Ext.util.Observable.html#addListener" rel="Ext.util.Observable#addListener" class="docClass">addListener</a> options.</p>
1403 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1404 </li></ul></div></div></div><div id="method-addStateEvents" class="member inherited"><a href="Ext.form.field.Number.html#method-addStateEvents" rel="method-addStateEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-addStateEvents" class="viewSource">view source</a></div><a name="addStateEvents"></a><a name="method-addStateEvents"></a><a href="Ext.form.field.Number.html#" rel="method-addStateEvents" class="cls expand">addStateEvents</a>(
1405 <span class="pre">String/Array events</span>)
1406  : void</div><div class="description"><div class="short"><p>Add events that will trigger the state to be saved.</p>
1407 </div><div class="long"><p>Add events that will trigger the state to be saved.</p>
1408 <h3 class="pa">Parameters</h3><ul><li><span class="pre">events</span> : String/Array<div class="sub-desc"><p>The event name or an array of event names.</p>
1409 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1410 </li></ul></div></div></div><div id="method-afterComponentLayout" class="member inherited"><a href="Ext.form.field.Number.html#method-afterComponentLayout" rel="method-afterComponentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-afterComponentLayout" class="viewSource">view source</a></div><a name="afterComponentLayout"></a><a name="method-afterComponentLayout"></a><a href="Ext.form.field.Number.html#" rel="method-afterComponentLayout" class="cls expand">afterComponentLayout</a>(
1411 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1412  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
1413 <h3 class="pa">Parameters</h3><ul><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
1414 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1415 </div></li><li><span class="pre">isSetSize</span> : Boolean<div class="sub-desc"><p>Whether or not the height/width are stored on the component permanently</p>
1416 </div></li><li><span class="pre">layoutOwner</span> : Ext.Component<div class="sub-desc"><p>Component which sent the layout. Only used when isSetSize is false.</p>
1417 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1418 </li></ul></div></div></div><div id="method-alignTo" class="member inherited"><a href="Ext.form.field.Number.html#method-alignTo" rel="method-alignTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-alignTo" class="viewSource">view source</a></div><a name="alignTo"></a><a name="method-alignTo"></a><a href="Ext.form.field.Number.html#" rel="method-alignTo" class="cls expand">alignTo</a>(
1419 <span class="pre">Mixed element, String position, [Array offsets]</span>)
1420  : Component</div><div class="description"><div class="short"><p>Aligns this floating Component to the specified element</p>
1421 </div><div class="long"><p>Aligns this floating Component to the specified element</p>
1422 <h3 class="pa">Parameters</h3><ul><li><span class="pre">element</span> : Mixed<div class="sub-desc"><p>The element or <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> to align to. If passing a component, it must
1423 be a omponent instance. If a string id is passed, it will be used as an element id.</p>
1424 </div></li><li><span class="pre">position</span> : String<div class="sub-desc"><p>(optional, defaults to "tl-bl?") The position to align to (see <a href="Ext.core.Element.html#alignTo" rel="Ext.core.Element#alignTo" class="docClass">Ext.core.Element.alignTo</a> for more details).</p>
1425 </div></li><li><span class="pre">offsets</span> : Array<div class="sub-desc"><p>(optional) Offset the positioning by [x, y]</p>
1426 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1427 </li></ul></div></div></div><div id="method-animate" class="member inherited"><a href="Ext.form.field.Number.html#method-animate" rel="method-animate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-animate" class="viewSource">view source</a></div><a name="animate"></a><a name="method-animate"></a><a href="Ext.form.field.Number.html#" rel="method-animate" class="cls expand">animate</a>(
1428 <span class="pre">Object config</span>)
1429  : Object</div><div class="description"><div class="short">Perform custom animation on this object.
1430 This method is applicable to both the the Component class and the Element cl...</div><div class="long"><p>Perform custom animation on this object.<p>
1431 <p>This method is applicable to both the the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a> class and the <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Element</a> class.
1432 It performs animated transitions of certain properties of this object over a specified timeline.</p>
1433 <p>The sole parameter is an object which specifies start property values, end property values, and properties which
1434 describe the timeline. Of the properties listed below, only <b><code>to</code></b> is mandatory.</p>
1435 <p>Properties include<ul>
1436 <li><code>from</code> <div class="sub-desc">An object which specifies start values for the properties being animated.
1437 If not supplied, properties are animated from current settings. The actual properties which may be animated depend upon
1438 ths object being animated. See the sections below on Element and Component animation.<div></li>
1439 <li><code>to</code> <div class="sub-desc">An object which specifies end values for the properties being animated.</div></li>
1440 <li><code>duration</code><div class="sub-desc">The duration <b>in milliseconds</b> for which the animation will run.</div></li>
1441 <li><code>easing</code> <div class="sub-desc">A string value describing an easing type to modify the rate of change from the default linear to non-linear. Values may be one of:<code><ul>
1442 <li>ease</li>
1443 <li>easeIn</li>
1444 <li>easeOut</li>
1445 <li>easeInOut</li>
1446 <li>backIn</li>
1447 <li>backOut</li>
1448 <li>elasticIn</li>
1449 <li>elasticOut</li>
1450 <li>bounceIn</li>
1451 <li>bounceOut</li>
1452 </ul></code></div></li>
1453 <li><code>keyframes</code> <div class="sub-desc">This is an object which describes the state of animated properties at certain points along the timeline.
1454 it is an object containing properties who's names are the percentage along the timeline being described and who's values specify the animation state at that point.</div></li>
1455 <li><code>listeners</code> <div class="sub-desc">This is a standard <a href="Ext.util.Observable.html#listeners" rel="Ext.util.Observable#listeners" class="docClass">listeners</a> configuration object which may be used
1456 to inject behaviour at either the <code>beforeanimate</code> event or the <code>afteranimate</code> event.</div></li>
1457 </ul></p>
1458 <h3>Animating an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Element</a></h3>
1459 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1460 <li><code>x</code> <div class="sub-desc">The page X position in pixels.</div></li>
1461 <li><code>y</code> <div class="sub-desc">The page Y position in pixels</div></li>
1462 <li><code>left</code> <div class="sub-desc">The element's CSS <code>left</code> value. Units must be supplied.</div></li>
1463 <li><code>top</code> <div class="sub-desc">The element's CSS <code>top</code> value. Units must be supplied.</div></li>
1464 <li><code>width</code> <div class="sub-desc">The element's CSS <code>width</code> value. Units must be supplied.</div></li>
1465 <li><code>height</code> <div class="sub-desc">The element's CSS <code>height</code> value. Units must be supplied.</div></li>
1466 <li><code>scrollLeft</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1467 <li><code>scrollTop</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1468 <li><code>opacity</code> <div class="sub-desc">The element's <code>opacity</code> value. This must be a value between <code>0</code> and <code>1</code>.</div></li>
1469 </ul>
1470 <p><b>Be aware than animating an Element which is being used by an <a href="Ext.html" rel="Ext" class="docClass">Ext</a> Component without in some way informing the Component about the changed element state
1471 will 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
1472 directly animate certain properties of Components.</b></p>
1473 <h3>Animating a <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a></h3>
1474 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1475 <li><code>x</code> <div class="sub-desc">The Component's page X position in pixels.</div></li>
1476 <li><code>y</code> <div class="sub-desc">The Component's page Y position in pixels</div></li>
1477 <li><code>left</code> <div class="sub-desc">The Component's <code>left</code> value in pixels.</div></li>
1478 <li><code>top</code> <div class="sub-desc">The Component's <code>top</code> value in pixels.</div></li>
1479 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1480 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1481 <li><code>dynamic</code> <div class="sub-desc">Specify as true to update the Component's layout (if it is a Container) at every frame
1482 of the animation. <i>Use sparingly as laying out on every intermediate size change is an expensive operation</i>.</div></li>
1483 </ul>
1484 <p>For example, to animate a Window to a new size, ensuring that its internal layout, and any shadow is correct:</p>
1485 <pre><code>myWindow = Ext.create('Ext.window.Window', {
1486     title: 'Test Component animation',
1487     width: 500,
1488     height: 300,
1489     layout: {
1490         type: 'hbox',
1491         align: 'stretch'
1492     },
1493     items: [{
1494         title: 'Left: 33%',
1495         margins: '5 0 5 5',
1496         flex: 1
1497     }, {
1498         title: 'Left: 66%',
1499         margins: '5 5 5 5',
1500         flex: 2
1501     }]
1502 });
1503 myWindow.show();
1504 myWindow.header.el.on('click', function() {
1505     myWindow.animate({
1506         to: {
1507             width: (myWindow.getWidth() == 500) ? 700 : 500,
1508             height: (myWindow.getHeight() == 300) ? 400 : 300,
1509         }
1510     });
1511 });
1512 </code></pre>
1513 <p>For performance reasons, by default, the internal layout is only updated when the Window reaches its final <code>"to"</code> size. If dynamic updating of the Window's child
1514 Components is required, then configure the animation with <code>dynamic: true</code> and the two child items will maintain their proportions during the animation.</p>
1515
1516 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>An object containing properties which describe the animation's start and end states, and the timeline of the animation.</p>
1517 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>this</p>
1518 </li></ul></div></div></div><div id="method-applyState" class="member inherited"><a href="Ext.form.field.Number.html#method-applyState" rel="method-applyState" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-applyState" class="viewSource">view source</a></div><a name="applyState"></a><a name="method-applyState"></a><a href="Ext.form.field.Number.html#" rel="method-applyState" class="cls expand">applyState</a>(
1519 <span class="pre">Object state</span>)
1520  : void</div><div class="description"><div class="short">Applies the state to the object. This should be overridden in subclasses to do
1521 more complex state operations. By defa...</div><div class="long"><p>Applies the state to the object. This should be overridden in subclasses to do
1522 more complex state operations. By default it applies the state properties onto
1523 the current object.</p>
1524 <h3 class="pa">Parameters</h3><ul><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The state</p>
1525 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1526 </li></ul></div></div></div><div id="method-autoSize" class="member inherited"><a href="Ext.form.field.Number.html#method-autoSize" rel="method-autoSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-method-autoSize" class="viewSource">view source</a></div><a name="autoSize"></a><a name="method-autoSize"></a><a href="Ext.form.field.Number.html#" rel="method-autoSize" class="cls expand">autoSize</a> : void</div><div class="description"><div class="short">Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.
1527 This only ta...</div><div class="long"><p>Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.
1528 This only takes effect if <tt><a href="Ext.form.field.Number.html#grow" rel="Ext.form.field.Number#grow" class="docClass">grow</a> = true</tt>, and fires the <a href="Ext.form.field.Number.html#autosize" rel="Ext.form.field.Number#autosize" class="docClass">autosize</a> event if the
1529 width changes.</p>
1530 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1531 </li></ul></div></div></div><div id="method-batchChanges" class="member inherited"><a href="Ext.form.field.Number.html#method-batchChanges" rel="method-batchChanges" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-batchChanges" class="viewSource">view source</a></div><a name="batchChanges"></a><a name="method-batchChanges"></a><a href="Ext.form.field.Number.html#" rel="method-batchChanges" class="cls expand">batchChanges</a>(
1532 <span class="pre">Object fn</span>)
1533  : void</div><div class="description"><div class="short">A utility for grouping a set of modifications which may trigger value changes into a single
1534 transaction, to prevent e...</div><div class="long"><p>A utility for grouping a set of modifications which may trigger value changes into a single
1535 transaction, to prevent excessive firing of <a href="Ext.form.field.Number.html#change" rel="Ext.form.field.Number#change" class="docClass">change</a> events. This is useful for instance
1536 if the field has sub-fields which are being updated as a group; you don't want the container
1537 field to check its own changed state for each subfield change.</p>
1538 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Object<div class="sub-desc"><p>A function containing the transaction code</p>
1539 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1540 </li></ul></div></div></div><div id="method-beforeComponentLayout" class="member inherited"><a href="Ext.form.field.Number.html#method-beforeComponentLayout" rel="method-beforeComponentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-beforeComponentLayout" class="viewSource">view source</a></div><a name="beforeComponentLayout"></a><a name="method-beforeComponentLayout"></a><a href="Ext.form.field.Number.html#" rel="method-beforeComponentLayout" class="cls expand">beforeComponentLayout</a>(
1541 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1542  : void</div><div class="description"><div class="short">Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1543 from being ex...</div><div class="long"><p>Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1544 from being executed.</p>
1545 <h3 class="pa">Parameters</h3><ul><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
1546 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1547 </div></li><li><span class="pre">isSetSize</span> : Boolean<div class="sub-desc"><p>Whether or not the height/width are stored on the component permanently</p>
1548 </div></li><li><span class="pre">layoutOwner</span> : Ext.Component<div class="sub-desc"><p>Component which sent the layout. Only used when isSetSize is false.</p>
1549 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1550 </li></ul></div></div></div><div id="method-bubble" class="member inherited"><a href="Ext.form.field.Number.html#method-bubble" rel="method-bubble" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-bubble" class="viewSource">view source</a></div><a name="bubble"></a><a name="method-bubble"></a><a href="Ext.form.field.Number.html#" rel="method-bubble" class="cls expand">bubble</a>(
1551 <span class="pre">Function fn, [Object scope], [Array args]</span>)
1552  : Ext.Component</div><div class="description"><div class="short">Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of...</div><div class="long"><p>Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (<i>this</i>) of
1553 function call will be the scope provided or the current component. The arguments to the function
1554 will be the args provided or the current component. If the function returns false at any point,
1555 the bubble is stopped.</p>
1556 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
1557 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope of the function (defaults to current node)</p>
1558 </div></li><li><span class="pre">args</span> : Array<div class="sub-desc"><p>(optional) The args to call the function with (default to passing the current component)</p>
1559 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1560 </li></ul></div></div></div><div id="method-capture" class="member inherited"><a href="Ext.form.field.Number.html#method-capture" rel="method-capture" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-capture" class="viewSource">view source</a></div><a name="capture"></a><a name="method-capture"></a><a href="Ext.form.field.Number.html#" rel="method-capture" class="cls expand">capture</a>(
1561 <span class="pre">Observable o, Function fn, [Object scope]</span>)
1562  : void</div><div class="description"><div class="short">Starts capture on the specified Observable. All events will be passed
1563 to the supplied function with the event name + ...</div><div class="long"><p>Starts capture on the specified Observable. All events will be passed
1564 to the supplied function with the event name + standard signature of the event
1565 <b>before</b> the event is fired. If the supplied function returns false,
1566 the event will not fire.</p>
1567 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to capture events from.</p>
1568 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call when an event is fired.</p>
1569 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the Observable firing the event.</p>
1570 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1571 </li></ul></div></div></div><div id="method-center" class="member inherited"><a href="Ext.form.field.Number.html#method-center" rel="method-center" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-center" class="viewSource">view source</a></div><a name="center"></a><a name="method-center"></a><a href="Ext.form.field.Number.html#" rel="method-center" class="cls expand">center</a> : Component</div><div class="description"><div class="short"><p>Center this Component in its container.</p>
1572 </div><div class="long"><p>Center this Component in its container.</p>
1573 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1574 </li></ul></div></div></div><div id="method-checkChange" class="member inherited"><a href="Ext.form.field.Number.html#method-checkChange" rel="method-checkChange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-checkChange" class="viewSource">view source</a></div><a name="checkChange"></a><a name="method-checkChange"></a><a href="Ext.form.field.Number.html#" rel="method-checkChange" class="cls expand">checkChange</a> : void</div><div class="description"><div class="short">Checks whether the value of the field has changed since the last time it was checked. If the value
1575 has changed, it:
1576
1577 ...</div><div class="long"><p>Checks whether the value of the field has changed since the last time it was checked. If the value
1578 has changed, it:</p>
1579
1580
1581 <ol>
1582 <li>Fires the <a href="Ext.form.field.Number.html#change" rel="Ext.form.field.Number#change" class="docClass">change event</a>,</li>
1583 <li>Performs validation if the <a href="Ext.form.field.Number.html#validateOnChange" rel="Ext.form.field.Number#validateOnChange" class="docClass">validateOnChange</a> config is enabled, firing the
1584 <a href="Ext.form.field.Number.html#validationchange" rel="Ext.form.field.Number#validationchange" class="docClass">validationchange event</a> if the validity has changed, and</li>
1585 <li>Checks the <a href="Ext.form.field.Number.html#isDirty" rel="Ext.form.field.Number#isDirty" class="docClass">dirty state</a> of the field and fires the <a href="Ext.form.field.Number.html#dirtychange" rel="Ext.form.field.Number#dirtychange" class="docClass">dirtychange event</a>
1586 if it has changed.</li>
1587 </ol>
1588
1589 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1590 </li></ul></div></div></div><div id="method-checkDirty" class="member inherited"><a href="Ext.form.field.Number.html#method-checkDirty" rel="method-checkDirty" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-checkDirty" class="viewSource">view source</a></div><a name="checkDirty"></a><a name="method-checkDirty"></a><a href="Ext.form.field.Number.html#" rel="method-checkDirty" class="cls expand">checkDirty</a> : void</div><div class="description"><div class="short">Checks the isDirty state of the field and if it has changed since the last time
1591 it was checked, fires the dirtychange...</div><div class="long"><p>Checks the <a href="Ext.form.field.Number.html#isDirty" rel="Ext.form.field.Number#isDirty" class="docClass">isDirty</a> state of the field and if it has changed since the last time
1592 it was checked, fires the <a href="Ext.form.field.Number.html#dirtychange" rel="Ext.form.field.Number#dirtychange" class="docClass">dirtychange</a> event.</p>
1593 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1594 </li></ul></div></div></div><div id="method-clearInvalid" class="member inherited"><a href="Ext.form.field.Number.html#method-clearInvalid" rel="method-clearInvalid" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-method-clearInvalid" class="viewSource">view source</a></div><a name="clearInvalid"></a><a name="method-clearInvalid"></a><a href="Ext.form.field.Number.html#" rel="method-clearInvalid" class="cls expand">clearInvalid</a> : void</div><div class="description"><div class="short">Clear any invalid styles/messages for this field.
1595
1596
1597 Note: this method does not cause the Field's validate or isValid ...</div><div class="long"><p>Clear any invalid styles/messages for this field.</p>
1598
1599
1600 <p><b>Note</b>: this method does not cause the Field's <a href="Ext.form.field.Number.html#validate" rel="Ext.form.field.Number#validate" class="docClass">validate</a> or <a href="Ext.form.field.Number.html#isValid" rel="Ext.form.field.Number#isValid" class="docClass">isValid</a> methods to
1601 return <code>true</code> if the value does not <i>pass</i> validation. So simply clearing a field's errors
1602 will not necessarily allow submission of forms submitted with the <a href="Ext.form.action.Submit.html#clientValidation" rel="Ext.form.action.Submit#clientValidation" class="docClass">Ext.form.action.Submit.clientValidation</a>
1603 option set.</p>
1604
1605 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1606 </li></ul></div></div></div><div id="method-clearListeners" class="member inherited"><a href="Ext.form.field.Number.html#method-clearListeners" rel="method-clearListeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-clearListeners" class="viewSource">view source</a></div><a name="clearListeners"></a><a name="method-clearListeners"></a><a href="Ext.form.field.Number.html#" rel="method-clearListeners" class="cls expand">clearListeners</a> : void</div><div class="description"><div class="short"><p>Removes all listeners for this object including the managed listeners</p>
1607 </div><div class="long"><p>Removes all listeners for this object including the managed listeners</p>
1608 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1609 </li></ul></div></div></div><div id="method-clearManagedListeners" class="member inherited"><a href="Ext.form.field.Number.html#method-clearManagedListeners" rel="method-clearManagedListeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-clearManagedListeners" class="viewSource">view source</a></div><a name="clearManagedListeners"></a><a name="method-clearManagedListeners"></a><a href="Ext.form.field.Number.html#" rel="method-clearManagedListeners" class="cls expand">clearManagedListeners</a> : void</div><div class="description"><div class="short"><p>Removes all managed listeners for this object.</p>
1610 </div><div class="long"><p>Removes all managed listeners for this object.</p>
1611 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1612 </li></ul></div></div></div><div id="method-cloneConfig" class="member inherited"><a href="Ext.form.field.Number.html#method-cloneConfig" rel="method-cloneConfig" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-cloneConfig" class="viewSource">view source</a></div><a name="cloneConfig"></a><a name="method-cloneConfig"></a><a href="Ext.form.field.Number.html#" rel="method-cloneConfig" class="cls expand">cloneConfig</a>(
1613 <span class="pre">Object overrides</span>)
1614  : Ext.Component</div><div class="description"><div class="short"><p>Clone the current component using the original config values passed into this instance by default.</p>
1615 </div><div class="long"><p>Clone the current component using the original config values passed into this instance by default.</p>
1616 <h3 class="pa">Parameters</h3><ul><li><span class="pre">overrides</span> : Object<div class="sub-desc"><p>A new config containing any properties to override in the cloned version.
1617 An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</p>
1618 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>clone The cloned copy of this component</p>
1619 </li></ul></div></div></div><div id="method-destroy" class="member inherited"><a href="Ext.form.field.Number.html#method-destroy" rel="method-destroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-destroy" class="viewSource">view source</a></div><a name="destroy"></a><a name="method-destroy"></a><a href="Ext.form.field.Number.html#" rel="method-destroy" class="cls expand">destroy</a> : void</div><div class="description"><div class="short"><p>Destroys this stateful object.</p>
1620 </div><div class="long"><p>Destroys this stateful object.</p>
1621 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1622 </li></ul></div></div></div><div id="method-disable" class="member inherited"><a href="Ext.form.field.Number.html#method-disable" rel="method-disable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-disable" class="viewSource">view source</a></div><a name="disable"></a><a name="method-disable"></a><a href="Ext.form.field.Number.html#" rel="method-disable" class="cls expand">disable</a>(
1623 <span class="pre">Boolean silent</span>)
1624  : void</div><div class="description"><div class="short"><p>Disable the component.</p>
1625 </div><div class="long"><p>Disable the component.</p>
1626 <h3 class="pa">Parameters</h3><ul><li><span class="pre">silent</span> : Boolean<div class="sub-desc"><p>Passing true, will supress the 'disable' event from being fired.</p>
1627 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1628 </li></ul></div></div></div><div id="method-doAutoRender" class="member inherited"><a href="Ext.form.field.Number.html#method-doAutoRender" rel="method-doAutoRender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-doAutoRender" class="viewSource">view source</a></div><a name="doAutoRender"></a><a name="method-doAutoRender"></a><a href="Ext.form.field.Number.html#" rel="method-doAutoRender" class="cls expand">doAutoRender</a> : void</div><div class="description"><div class="short">Handles autoRender.
1629 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them wit...</div><div class="long"><p>Handles autoRender.
1630 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them within that
1631 ownerCt, and have their z-index managed locally. Floating Components are always rendered to document.body</p>
1632 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1633 </li></ul></div></div></div><div id="method-doComponentLayout" class="member inherited"><a href="Ext.form.field.Number.html#method-doComponentLayout" rel="method-doComponentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-doComponentLayout" class="viewSource">view source</a></div><a name="doComponentLayout"></a><a name="method-doComponentLayout"></a><a href="Ext.form.field.Number.html#" rel="method-doComponentLayout" class="cls expand">doComponentLayout</a>(
1634 <span class="pre">Object width, Object height, Object isSetSize, Object ownerCt</span>)
1635  : Ext.container.Container</div><div class="description"><div class="short">This method needs to be called whenever you change something on this component that requires the Component's
1636 layout t...</div><div class="long"><p>This method needs to be called whenever you change something on this component that requires the Component's
1637 layout to be recalculated.</p>
1638 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Object<div class="sub-desc">
1639 </div></li><li><span class="pre">height</span> : Object<div class="sub-desc">
1640 </div></li><li><span class="pre">isSetSize</span> : Object<div class="sub-desc">
1641 </div></li><li><span class="pre">ownerCt</span> : Object<div class="sub-desc">
1642 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>this</p>
1643 </li></ul></div></div></div><div id="method-doConstrain" class="member inherited"><a href="Ext.form.field.Number.html#method-doConstrain" rel="method-doConstrain" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-doConstrain" class="viewSource">view source</a></div><a name="doConstrain"></a><a name="method-doConstrain"></a><a href="Ext.form.field.Number.html#" rel="method-doConstrain" class="cls expand">doConstrain</a>(
1644 <span class="pre">Mixed constrainTo</span>)
1645  : void</div><div class="description"><div class="short">Moves this floating Component into a constrain region.
1646
1647
1648 By default, this Component is constrained to be within the c...</div><div class="long"><p>Moves this floating Component into a constrain region.</p>
1649
1650
1651 <p>By default, this Component is constrained to be within the container it was added to, or the element
1652 it was rendered to.</p>
1653
1654
1655 <p>An alternative constraint may be passed.</p>
1656
1657 <h3 class="pa">Parameters</h3><ul><li><span class="pre">constrainTo</span> : Mixed<div class="sub-desc"><p>Optional. The Element or <a href="Ext.util.Region.html" rel="Ext.util.Region" class="docClass">Region</a> into which this Component is to be constrained.</p>
1658 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1659 </li></ul></div></div></div><div id="method-enable" class="member inherited"><a href="Ext.form.field.Number.html#method-enable" rel="method-enable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-enable" class="viewSource">view source</a></div><a name="enable"></a><a name="method-enable"></a><a href="Ext.form.field.Number.html#" rel="method-enable" class="cls expand">enable</a>(
1660 <span class="pre">Boolean silent</span>)
1661  : void</div><div class="description"><div class="short"><p>Enable the component</p>
1662 </div><div class="long"><p>Enable the component</p>
1663 <h3 class="pa">Parameters</h3><ul><li><span class="pre">silent</span> : Boolean<div class="sub-desc"><p>Passing false will supress the 'enable' event from being fired.</p>
1664 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1665 </li></ul></div></div></div><div id="method-enableBubble" class="member inherited"><a href="Ext.form.field.Number.html#method-enableBubble" rel="method-enableBubble" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-enableBubble" class="viewSource">view source</a></div><a name="enableBubble"></a><a name="method-enableBubble"></a><a href="Ext.form.field.Number.html#" rel="method-enableBubble" class="cls expand">enableBubble</a>(
1666 <span class="pre">String/Array events</span>)
1667  : void</div><div class="description"><div class="short">Enables events fired by this Observable to bubble up an owner hierarchy by calling
1668 this.getBubbleTarget() if present....</div><div class="long"><p>Enables events fired by this Observable to bubble up an owner hierarchy by calling
1669 <code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>
1670
1671
1672 <p>This is commonly used by Ext.Components to bubble events to owner Containers. See <a href="Ext.Component.html#getBubbleTarget" rel="Ext.Component#getBubbleTarget" class="docClass">Ext.Component.getBubbleTarget</a>. The default
1673 implementation in <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> returns the Component's immediate owner. But if a known target is required, this can be overridden to
1674 access the required target more quickly.</p>
1675
1676
1677 <p>Example:</p>
1678
1679
1680 <pre><code>Ext.override(Ext.form.field.Base, {
1681 //  Add functionality to Field&#39;s initComponent to enable the change event to bubble
1682 initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {
1683     this.enableBubble('change');
1684 }),
1685
1686 //  We know that we want Field&#39;s events to bubble directly to the FormPanel.
1687 getBubbleTarget : function() {
1688     if (!this.formPanel) {
1689         this.formPanel = this.findParentByType('form');
1690     }
1691     return this.formPanel;
1692 }
1693 });
1694
1695 var myForm = new Ext.formPanel({
1696 title: 'User Details',
1697 items: [{
1698     ...
1699 }],
1700 listeners: {
1701     change: function() {
1702         // Title goes red if form has been modified.
1703         myForm.header.setStyle('color', 'red');
1704     }
1705 }
1706 });
1707 </code></pre>
1708
1709 <h3 class="pa">Parameters</h3><ul><li><span class="pre">events</span> : String/Array<div class="sub-desc"><p>The event name to bubble, or an Array of event names.</p>
1710 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1711 </li></ul></div></div></div><div id="method-extractFileInput" class="member inherited"><a href="Ext.form.field.Number.html#method-extractFileInput" rel="method-extractFileInput" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-extractFileInput" class="viewSource">view source</a></div><a name="extractFileInput"></a><a name="method-extractFileInput"></a><a href="Ext.form.field.Number.html#" rel="method-extractFileInput" class="cls expand">extractFileInput</a> : HTMLInputElement</div><div class="description"><div class="short">Only relevant if the instance's isFileUpload method returns true. Returns a reference
1712 to the file input DOM element h...</div><div class="long"><p>Only relevant if the instance's <a href="Ext.form.field.Number.html#isFileUpload" rel="Ext.form.field.Number#isFileUpload" class="docClass">isFileUpload</a> method returns true. Returns a reference
1713 to the file input DOM element holding the user's selected file. The input will be appended into
1714 the submission form and will not be returned, so this method should also create a replacement.</p>
1715 <h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLInputElement</span>&nbsp; &nbsp;
1716 </li></ul></div></div></div><div id="method-findLayoutController" class="member inherited"><a href="Ext.form.field.Number.html#method-findLayoutController" rel="method-findLayoutController" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-findLayoutController" class="viewSource">view source</a></div><a name="findLayoutController"></a><a name="method-findLayoutController"></a><a href="Ext.form.field.Number.html#" rel="method-findLayoutController" class="cls expand">findLayoutController</a> : void</div><div class="description"><div class="short">This method finds the topmost active layout who's processing will eventually determine the size and position of this
1717 ...</div><div class="long"><p>This method finds the topmost active layout who's processing will eventually determine the size and position of this
1718 Component.<p>
1719 <p>This method is useful when dynamically adding Components into Containers, and some processing must take place after the
1720 final sizing and positioning of the Component has been performed.</p>
1721
1722 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1723 </li></ul></div></div></div><div id="method-findParentBy" class="member inherited"><a href="Ext.form.field.Number.html#method-findParentBy" rel="method-findParentBy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-findParentBy" class="viewSource">view source</a></div><a name="findParentBy"></a><a name="method-findParentBy"></a><a href="Ext.form.field.Number.html#" rel="method-findParentBy" class="cls expand">findParentBy</a>(
1724 <span class="pre">Function fn</span>)
1725  : Ext.container.Container</div><div class="description"><div class="short">Find a container above this component at any level by a custom function. If the passed function returns
1726 true, the con...</div><div class="long"><p>Find a container above this component at any level by a custom function. If the passed function returns
1727 true, the container will be returned.</p>
1728 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The custom function to call with the arguments (container, this component).</p>
1729 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>The first Container for which the custom function returns true</p>
1730 </li></ul></div></div></div><div id="method-findParentByType" class="member inherited"><a href="Ext.form.field.Number.html#method-findParentByType" rel="method-findParentByType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-findParentByType" class="viewSource">view source</a></div><a name="findParentByType"></a><a name="method-findParentByType"></a><a href="Ext.form.field.Number.html#" rel="method-findParentByType" class="cls expand">findParentByType</a>(
1731 <span class="pre">String/Class xtype</span>)
1732  : Ext.container.Container</div><div class="description"><div class="short"><p>Find a container above this component at any level by xtype or class</p>
1733
1734
1735 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1736
1737 </div><div class="long"><p>Find a container above this component at any level by xtype or class</p>
1738
1739
1740 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1741
1742 <h3 class="pa">Parameters</h3><ul><li><span class="pre">xtype</span> : String/Class<div class="sub-desc"><p>The xtype string for a component, or the class of the component directly</p>
1743 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>The first Container which matches the given xtype or class</p>
1744 </li></ul></div></div></div><div id="method-fireEvent" class="member inherited"><a href="Ext.form.field.Number.html#method-fireEvent" rel="method-fireEvent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-fireEvent" class="viewSource">view source</a></div><a name="fireEvent"></a><a name="method-fireEvent"></a><a href="Ext.form.field.Number.html#" rel="method-fireEvent" class="cls expand">fireEvent</a>(
1745 <span class="pre">String eventName, Object... args</span>)
1746  : Boolean</div><div class="description"><div class="short">Fires the specified event with the passed parameters (minus the event name).
1747
1748
1749 An event may be set to bubble up an Ob...</div><div class="long"><p>Fires the specified event with the passed parameters (minus the event name).</p>
1750
1751
1752 <p>An event may be set to bubble up an Observable parent hierarchy (See <a href="Ext.Component.html#getBubbleTarget" rel="Ext.Component#getBubbleTarget" class="docClass">Ext.Component.getBubbleTarget</a>)
1753 by calling <a href="Ext.form.field.Number.html#enableBubble" rel="Ext.form.field.Number#enableBubble" class="docClass">enableBubble</a>.</p>
1754
1755 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to fire.</p>
1756 </div></li><li><span class="pre">args</span> : Object...<div class="sub-desc"><p>Variable number of parameters are passed to handlers.</p>
1757 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>returns false if any of the handlers return false otherwise it returns true.</p>
1758 </li></ul></div></div></div><div id="method-focus" class="member inherited"><a href="Ext.form.field.Number.html#method-focus" rel="method-focus" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-focus" class="viewSource">view source</a></div><a name="focus"></a><a name="method-focus"></a><a href="Ext.form.field.Number.html#" rel="method-focus" class="cls expand">focus</a>(
1759 <span class="pre">[Boolean selectText], [Boolean/Number delay]</span>)
1760  : Ext.Component</div><div class="description"><div class="short"><p>Try to focus this component.</p>
1761 </div><div class="long"><p>Try to focus this component.</p>
1762 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selectText</span> : Boolean<div class="sub-desc"><p>(optional) If applicable, true to also select the text in this component</p>
1763 </div></li><li><span class="pre">delay</span> : Boolean/Number<div class="sub-desc"><p>(optional) Delay the focus this number of milliseconds (true for 10 milliseconds).</p>
1764 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1765 </li></ul></div></div></div><div id="method-getActiveAnimation" class="member inherited"><a href="Ext.form.field.Number.html#method-getActiveAnimation" rel="method-getActiveAnimation" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-getActiveAnimation" class="viewSource">view source</a></div><a name="getActiveAnimation"></a><a name="method-getActiveAnimation"></a><a href="Ext.form.field.Number.html#" rel="method-getActiveAnimation" class="cls expand">getActiveAnimation</a> : Mixed</div><div class="description"><div class="short"><p>Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1766 </div><div class="long"><p>Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1767 <h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>anim if element has active effects, else false</p>
1768 </li></ul></div></div></div><div id="method-getActiveError" class="member inherited"><a href="Ext.form.field.Number.html#method-getActiveError" rel="method-getActiveError" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-getActiveError" class="viewSource">view source</a></div><a name="getActiveError"></a><a name="method-getActiveError"></a><a href="Ext.form.field.Number.html#" rel="method-getActiveError" class="cls expand">getActiveError</a> : String</div><div class="description"><div class="short">Gets the active error message for this component, if any. This does not trigger
1769 validation on its own, it merely retu...</div><div class="long"><p>Gets the active error message for this component, if any. This does not trigger
1770 validation on its own, it merely returns any message that the component may already hold.</p>
1771 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The active error message on the component; if there is no error, an empty string is returned.</p>
1772 </li></ul></div></div></div><div id="method-getActiveErrors" class="member inherited"><a href="Ext.form.field.Number.html#method-getActiveErrors" rel="method-getActiveErrors" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-getActiveErrors" class="viewSource">view source</a></div><a name="getActiveErrors"></a><a name="method-getActiveErrors"></a><a href="Ext.form.field.Number.html#" rel="method-getActiveErrors" class="cls expand">getActiveErrors</a> : Array</div><div class="description"><div class="short">Gets an Array of any active error messages currently applied to the field. This does not trigger
1773 validation on its ow...</div><div class="long"><p>Gets an Array of any active error messages currently applied to the field. This does not trigger
1774 validation on its own, it merely returns any messages that the component may already hold.</p>
1775 <h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>The active error messages on the component; if there are no errors, an empty Array is returned.</p>
1776 </li></ul></div></div></div><div id="method-getBox" class="member inherited"><a href="Ext.form.field.Number.html#method-getBox" rel="method-getBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-getBox" class="viewSource">view source</a></div><a name="getBox"></a><a name="method-getBox"></a><a href="Ext.form.field.Number.html#" rel="method-getBox" class="cls expand">getBox</a>(
1777 <span class="pre">[Boolean local]</span>)
1778  : Object</div><div class="description"><div class="short"><p>Gets the current box measurements of the component's underlying element.</p>
1779 </div><div class="long"><p>Gets the current box measurements of the component's underlying element.</p>
1780 <h3 class="pa">Parameters</h3><ul><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</p>
1781 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>box An object in the format {x, y, width, height}</p>
1782 </li></ul></div></div></div><div id="method-getBubbleTarget" class="member inherited"><a href="Ext.form.field.Number.html#method-getBubbleTarget" rel="method-getBubbleTarget" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getBubbleTarget" class="viewSource">view source</a></div><a name="getBubbleTarget"></a><a name="method-getBubbleTarget"></a><a href="Ext.form.field.Number.html#" rel="method-getBubbleTarget" class="cls expand">getBubbleTarget</a> : Ext.container.Container</div><div class="description"><div class="short"><p>Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.</p>
1783 </div><div class="long"><p>Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.</p>
1784 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>the Container which owns this Component.</p>
1785 </li></ul></div></div></div><div id="method-getEl" class="member inherited"><a href="Ext.form.field.Number.html#method-getEl" rel="method-getEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getEl" class="viewSource">view source</a></div><a name="getEl"></a><a name="method-getEl"></a><a href="Ext.form.field.Number.html#" rel="method-getEl" class="cls expand">getEl</a> : void</div><div class="description"><div class="short"><p>Retrieves the top level element representing this component.</p>
1786 </div><div class="long"><p>Retrieves the top level element representing this component.</p>
1787 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1788 </li></ul></div></div></div><div id="method-getErrors" class="member ni"><a href="Ext.form.field.Number.html#method-getErrors" rel="method-getErrors" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-method-getErrors" class="viewSource">view source</a></div><a name="getErrors"></a><a name="method-getErrors"></a><a href="Ext.form.field.Number.html#" rel="method-getErrors" class="cls expand">getErrors</a>(
1789 <span class="pre">Mixed value</span>)
1790  : Array</div><div class="description"><div class="short">Runs all of Number's validations and returns an array of any errors. Note that this first
1791 runs Text's validations, so...</div><div class="long"><p>Runs all of Number's validations and returns an array of any errors. Note that this first
1792 runs Text's validations, so the returned array is an amalgamation of all field errors.
1793 The additional validations run test that the value is a number, and that it is within the
1794 configured min and max values.</p>
1795 <h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to get errors for (defaults to the current field value)</p>
1796 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>All validation errors for this field</p>
1797 </li></ul></div></div></div><div id="method-getFieldLabel" class="member inherited"><a href="Ext.form.field.Number.html#method-getFieldLabel" rel="method-getFieldLabel" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-getFieldLabel" class="viewSource">view source</a></div><a name="getFieldLabel"></a><a name="method-getFieldLabel"></a><a href="Ext.form.field.Number.html#" rel="method-getFieldLabel" class="cls expand">getFieldLabel</a> : String</div><div class="description"><div class="short"><p>Returns the label for the field. Defaults to simply returning the <a href="Ext.form.field.Number.html#fieldLabel" rel="Ext.form.field.Number#fieldLabel" class="docClass">fieldLabel</a> config. Can be
1798 overridden to provide</p>
1799 </div><div class="long"><p>Returns the label for the field. Defaults to simply returning the <a href="Ext.form.field.Number.html#fieldLabel" rel="Ext.form.field.Number#fieldLabel" class="docClass">fieldLabel</a> config. Can be
1800 overridden to provide</p>
1801 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The configured field label, or empty string if not defined</p>
1802 </li></ul></div></div></div><div id="method-getHeight" class="member inherited"><a href="Ext.form.field.Number.html#method-getHeight" rel="method-getHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getHeight" class="viewSource">view source</a></div><a name="getHeight"></a><a name="method-getHeight"></a><a href="Ext.form.field.Number.html#" rel="method-getHeight" class="cls expand">getHeight</a> : Number</div><div class="description"><div class="short"><p>Gets the current height of the component's underlying element.</p>
1803 </div><div class="long"><p>Gets the current height of the component's underlying element.</p>
1804 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
1805 </li></ul></div></div></div><div id="method-getId" class="member inherited"><a href="Ext.form.field.Number.html#method-getId" rel="method-getId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getId" class="viewSource">view source</a></div><a name="getId"></a><a name="method-getId"></a><a href="Ext.form.field.Number.html#" rel="method-getId" class="cls expand">getId</a> : void</div><div class="description"><div class="short"><p>Retrieves the id of this component.
1806 Will autogenerate an id if one has not already been set.</p>
1807 </div><div class="long"><p>Retrieves the id of this component.
1808 Will autogenerate an id if one has not already been set.</p>
1809 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1810 </li></ul></div></div></div><div id="method-getInputId" class="member inherited"><a href="Ext.form.field.Number.html#method-getInputId" rel="method-getInputId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-getInputId" class="viewSource">view source</a></div><a name="getInputId"></a><a name="method-getInputId"></a><a href="Ext.form.field.Number.html#" rel="method-getInputId" class="cls expand">getInputId</a> : String</div><div class="description"><div class="short">Get the input id, if any, for this component. This is used as the "for" attribute on the label element.
1811 Implementing ...</div><div class="long"><p>Get the input id, if any, for this component. This is used as the "for" attribute on the label element.
1812 Implementing subclasses may also use this as e.g. the id for their own <tt>input</tt> element.</p>
1813 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The input id</p>
1814 </li></ul></div></div></div><div id="method-getInsertPosition" class="member inherited"><a href="Ext.form.field.Number.html#method-getInsertPosition" rel="method-getInsertPosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getInsertPosition" class="viewSource">view source</a></div><a name="getInsertPosition"></a><a name="method-getInsertPosition"></a><a href="Ext.form.field.Number.html#" rel="method-getInsertPosition" class="cls expand">getInsertPosition</a>(
1815 <span class="pre">String/Number/Element/HTMLElement position</span>)
1816  : HTMLElement</div><div class="description"><div class="short">This function takes the position argument passed to onRender and returns a
1817 DOM element that you can use in the insert...</div><div class="long"><p>This function takes the position argument passed to onRender and returns a
1818 DOM element that you can use in the insertBefore.</p>
1819 <h3 class="pa">Parameters</h3><ul><li><span class="pre">position</span> : String/Number/Element/HTMLElement<div class="sub-desc"><p>Index, element id or element you want
1820 to put this component before.</p>
1821 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement</span>&nbsp; &nbsp;<p>DOM element that you can use in the insertBefore</p>
1822 </li></ul></div></div></div><div id="method-getLoader" class="member inherited"><a href="Ext.form.field.Number.html#method-getLoader" rel="method-getLoader" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getLoader" class="viewSource">view source</a></div><a name="getLoader"></a><a name="method-getLoader"></a><a href="Ext.form.field.Number.html#" rel="method-getLoader" class="cls expand">getLoader</a> : Ext.ComponentLoader</div><div class="description"><div class="short"><p>Gets the <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> for this Component.</p>
1823 </div><div class="long"><p>Gets the <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> for this Component.</p>
1824 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.ComponentLoader</span>&nbsp; &nbsp;<p>The loader instance, null if it doesn't exist.</p>
1825 </li></ul></div></div></div><div id="method-getModelData" class="member inherited"><a href="Ext.form.field.Number.html#method-getModelData" rel="method-getModelData" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-getModelData" class="viewSource">view source</a></div><a name="getModelData"></a><a name="method-getModelData"></a><a href="Ext.form.field.Number.html#" rel="method-getModelData" class="cls expand">getModelData</a> : Object</div><div class="description"><div class="short">Returns the value(s) that should be saved to the Ext.data.Model instance for this field, when
1826 Ext.form.Basic.updateRe...</div><div class="long"><p>Returns the value(s) that should be saved to the <a href="Ext.data.Model.html" rel="Ext.data.Model" class="docClass">Ext.data.Model</a> instance for this field, when
1827 <a href="Ext.form.Basic.html#updateRecord" rel="Ext.form.Basic#updateRecord" class="docClass">Ext.form.Basic.updateRecord</a> is called. Typically this will be an object with a single name-value
1828 pair, the name being this field's <a href="Ext.form.field.Number.html#getName" rel="Ext.form.field.Number#getName" class="docClass">name</a> and the value being its current data value. More
1829 advanced field implementations may return more than one name-value pair. The returned values will be
1830 saved to the corresponding field names in the Model.</p>
1831
1832
1833 <p>Note that the values returned from this method are not guaranteed to have been successfully
1834 <a href="Ext.form.field.Number.html#validate" rel="Ext.form.field.Number#validate" class="docClass">validated</a>.</p>
1835
1836 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>A mapping of submit parameter names to values; each value should be a string, or an array
1837 of strings if that particular name has multiple values. It can also return <tt>null</tt> if there are no
1838 parameters to be submitted.</p>
1839 </li></ul></div></div></div><div id="method-getName" class="member inherited"><a href="Ext.form.field.Number.html#method-getName" rel="method-getName" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-getName" class="viewSource">view source</a></div><a name="getName"></a><a name="method-getName"></a><a href="Ext.form.field.Number.html#" rel="method-getName" class="cls expand">getName</a> : String</div><div class="description"><div class="short">Returns the name attribute of the field. This is used as the parameter
1840 name when including the field value in a form ...</div><div class="long"><p>Returns the <a href="Ext.form.field.Field.html#name" rel="Ext.form.field.Field#name" class="docClass">name</a> attribute of the field. This is used as the parameter
1841 name when including the field value in a <a href="Ext.form.Basic.html#submit" rel="Ext.form.Basic#submit" class="docClass">form submit()</a>.</p>
1842 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>name The field <a href="Ext.form.field.Field.html#name" rel="Ext.form.field.Field#name" class="docClass">name</a></p>
1843 </li></ul></div></div></div><div id="method-getPlugin" class="member inherited"><a href="Ext.form.field.Number.html#method-getPlugin" rel="method-getPlugin" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getPlugin" class="viewSource">view source</a></div><a name="getPlugin"></a><a name="method-getPlugin"></a><a href="Ext.form.field.Number.html#" rel="method-getPlugin" class="cls expand">getPlugin</a>(
1844 <span class="pre">Object pluginId</span>)
1845  : Ext.AbstractPlugin</div><div class="description"><div class="short"><p>Retrieves a plugin by its pluginId which has been bound to this
1846 component.</p>
1847 </div><div class="long"><p>Retrieves a plugin by its pluginId which has been bound to this
1848 component.</p>
1849 <h3 class="pa">Parameters</h3><ul><li><span class="pre">pluginId</span> : Object<div class="sub-desc">
1850 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.AbstractPlugin</span>&nbsp; &nbsp;<p>pluginInstance</p>
1851 </li></ul></div></div></div><div id="method-getPosition" class="member inherited"><a href="Ext.form.field.Number.html#method-getPosition" rel="method-getPosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-getPosition" class="viewSource">view source</a></div><a name="getPosition"></a><a name="method-getPosition"></a><a href="Ext.form.field.Number.html#" rel="method-getPosition" class="cls expand">getPosition</a>(
1852 <span class="pre">[Boolean local]</span>)
1853  : Array</div><div class="description"><div class="short"><p>Gets the current XY position of the component's underlying element.</p>
1854 </div><div class="long"><p>Gets the current XY position of the component's underlying element.</p>
1855 <h3 class="pa">Parameters</h3><ul><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</p>
1856 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>The XY position of the element (e.g., [100, 200])</p>
1857 </li></ul></div></div></div><div id="method-getRawValue" class="member inherited"><a href="Ext.form.field.Number.html#method-getRawValue" rel="method-getRawValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-method-getRawValue" class="viewSource">view source</a></div><a name="getRawValue"></a><a name="method-getRawValue"></a><a href="Ext.form.field.Number.html#" rel="method-getRawValue" class="cls expand">getRawValue</a> : String</div><div class="description"><div class="short">Returns the raw String value of the field, without performing any normalization, conversion, or validation.
1858 Gets the ...</div><div class="long"><p>Returns the raw String value of the field, without performing any normalization, conversion, or validation.
1859 Gets the current value of the input element if the field has been rendered, ignoring the value if it is the
1860 <a href="Ext.form.field.Number.html#emptyText" rel="Ext.form.field.Number#emptyText" class="docClass">emptyText</a>. To get a normalized and converted value see <a href="Ext.form.field.Number.html#getValue" rel="Ext.form.field.Number#getValue" class="docClass">getValue</a>.</p>
1861 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>value The raw String value of the field</p>
1862 </li></ul></div></div></div><div id="method-getSize" class="member inherited"><a href="Ext.form.field.Number.html#method-getSize" rel="method-getSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getSize" class="viewSource">view source</a></div><a name="getSize"></a><a name="method-getSize"></a><a href="Ext.form.field.Number.html#" rel="method-getSize" class="cls expand">getSize</a> : Object</div><div class="description"><div class="short"><p>Gets the current size of the component's underlying element.</p>
1863 </div><div class="long"><p>Gets the current size of the component's underlying element.</p>
1864 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>An object containing the element's size {width: (element width), height: (element height)}</p>
1865 </li></ul></div></div></div><div id="method-getState" class="member inherited"><a href="Ext.form.field.Number.html#method-getState" rel="method-getState" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-getState" class="viewSource">view source</a></div><a name="getState"></a><a name="method-getState"></a><a href="Ext.form.field.Number.html#" rel="method-getState" class="cls expand">getState</a> : Object</div><div class="description"><div class="short">Gets the current state of the object. By default this function returns null,
1866 it should be overridden in subclasses to...</div><div class="long"><p>Gets the current state of the object. By default this function returns null,
1867 it should be overridden in subclasses to implement methods for getting the state.</p>
1868 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>The current state</p>
1869 </li></ul></div></div></div><div id="method-getStateId" class="member inherited"><a href="Ext.form.field.Number.html#method-getStateId" rel="method-getStateId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-getStateId" class="viewSource">view source</a></div><a name="getStateId"></a><a name="method-getStateId"></a><a href="Ext.form.field.Number.html#" rel="method-getStateId" class="cls expand">getStateId</a> : String</div><div class="description"><div class="short"><p>Gets the state id for this object.</p>
1870 </div><div class="long"><p>Gets the state id for this object.</p>
1871 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The state id, null if not found.</p>
1872 </li></ul></div></div></div><div id="method-getSubmitData" class="member inherited"><a href="Ext.form.field.Number.html#method-getSubmitData" rel="method-getSubmitData" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-getSubmitData" class="viewSource">view source</a></div><a name="getSubmitData"></a><a name="method-getSubmitData"></a><a href="Ext.form.field.Number.html#" rel="method-getSubmitData" class="cls expand">getSubmitData</a> : Object</div><div class="description"><div class="short">Returns the parameter(s) that would be included in a standard form submit for this field. Typically this
1873 will be an o...</div><div class="long"><p>Returns the parameter(s) that would be included in a standard form submit for this field. Typically this
1874 will be an object with a single name-value pair, the name being this field's <a href="Ext.form.field.Number.html#getName" rel="Ext.form.field.Number#getName" class="docClass">name</a> and the
1875 value being its current stringified value. More advanced field implementations may return more than one
1876 name-value pair.</p>
1877
1878
1879 <p>Note that the values returned from this method are not guaranteed to have been successfully
1880 <a href="Ext.form.field.Number.html#validate" rel="Ext.form.field.Number#validate" class="docClass">validated</a>.</p>
1881
1882 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>A mapping of submit parameter names to values; each value should be a string, or an array
1883 of strings if that particular name has multiple values. It can also return <tt>null</tt> if there are no
1884 parameters to be submitted.</p>
1885 </li></ul></div></div></div><div id="method-getSubmitValue" class="member inherited"><a href="Ext.form.field.Number.html#method-getSubmitValue" rel="method-getSubmitValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-method-getSubmitValue" class="viewSource">view source</a></div><a name="getSubmitValue"></a><a name="method-getSubmitValue"></a><a href="Ext.form.field.Number.html#" rel="method-getSubmitValue" class="cls expand">getSubmitValue</a> : String</div><div class="description"><div class="short">Returns the value that would be included in a standard form submit for this field. This will be combined
1886 with the fie...</div><div class="long"><p>Returns the value that would be included in a standard form submit for this field. This will be combined
1887 with the field's name to form a <tt>name=value</tt> pair in the <a href="Ext.form.field.Number.html#getSubmitData" rel="Ext.form.field.Number#getSubmitData" class="docClass">submitted parameters</a>.
1888 If an empty string is returned then just the <tt>name=</tt> will be submitted; if <tt>null</tt> is returned
1889 then nothing will be submitted.</p>
1890
1891
1892 <p>Note that the value returned will have been <a href="Ext.form.field.Number.html#processRawValue" rel="Ext.form.field.Number#processRawValue" class="docClass">processed</a> but may or may not have
1893 been successfully <a href="Ext.form.field.Number.html#validate" rel="Ext.form.field.Number#validate" class="docClass">validated</a>.</p>
1894
1895 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The value to be submitted, or <tt>null</tt>.</p>
1896 </li></ul></div></div></div><div id="method-getTriggerWidth" class="member inherited"><a href="Ext.form.field.Number.html#method-getTriggerWidth" rel="method-getTriggerWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-method-getTriggerWidth" class="viewSource">view source</a></div><a name="getTriggerWidth"></a><a name="method-getTriggerWidth"></a><a href="Ext.form.field.Number.html#" rel="method-getTriggerWidth" class="cls expand">getTriggerWidth</a> : Number</div><div class="description"><div class="short"><p>Get the total width of the trigger button area. Only useful after the field has been rendered.</p>
1897 </div><div class="long"><p>Get the total width of the trigger button area. Only useful after the field has been rendered.</p>
1898 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;<p>The trigger width</p>
1899 </li></ul></div></div></div><div id="method-getValue" class="member inherited"><a href="Ext.form.field.Number.html#method-getValue" rel="method-getValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-getValue" class="viewSource">view source</a></div><a name="getValue"></a><a name="method-getValue"></a><a href="Ext.form.field.Number.html#" rel="method-getValue" class="cls expand">getValue</a> : Mixed</div><div class="description"><div class="short">Returns the current data value of the field. The type of value returned is particular to the type of the
1900 particular f...</div><div class="long"><p>Returns the current data value of the field. The type of value returned is particular to the type of the
1901 particular field (e.g. a Date object for <a href="Ext.form.field.Date.html" rel="Ext.form.field.Date" class="docClass">Ext.form.field.Date</a>).</p>
1902 <h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>value The field value</p>
1903 </li></ul></div></div></div><div id="method-getWidth" class="member inherited"><a href="Ext.form.field.Number.html#method-getWidth" rel="method-getWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getWidth" class="viewSource">view source</a></div><a name="getWidth"></a><a name="method-getWidth"></a><a href="Ext.form.field.Number.html#" rel="method-getWidth" class="cls expand">getWidth</a> : Number</div><div class="description"><div class="short"><p>Gets the current width of the component's underlying element.</p>
1904 </div><div class="long"><p>Gets the current width of the component's underlying element.</p>
1905 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
1906 </li></ul></div></div></div><div id="method-getXType" class="member inherited"><a href="Ext.form.field.Number.html#method-getXType" rel="method-getXType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-getXType" class="viewSource">view source</a></div><a name="getXType"></a><a name="method-getXType"></a><a href="Ext.form.field.Number.html#" rel="method-getXType" class="cls expand">getXType</a> : String</div><div class="description"><div class="short">Gets the xtype for this component as registered with Ext.ComponentManager. For a list of all
1907 available xtypes, see th...</div><div class="long"><p>Gets the xtype for this component as registered with <a href="Ext.ComponentManager.html" rel="Ext.ComponentManager" class="docClass">Ext.ComponentManager</a>. For a list of all
1908 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header. Example usage:</p>
1909
1910 <pre><code>var t = new Ext.form.field.Text();
1911 alert(t.getXType());  // alerts 'textfield'
1912 </code></pre>
1913
1914 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype</p>
1915 </li></ul></div></div></div><div id="method-getXTypes" class="member inherited"><a href="Ext.form.field.Number.html#method-getXTypes" rel="method-getXTypes" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getXTypes" class="viewSource">view source</a></div><a name="getXTypes"></a><a name="method-getXTypes"></a><a href="Ext.form.field.Number.html#" rel="method-getXTypes" class="cls expand">getXTypes</a> : String</div><div class="description"><div class="short">Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1916 available xtypes, see the Ext...</div><div class="long"><p>Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1917 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header.</p>
1918
1919
1920 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1921 to participate in determination of inherited xtypes.</b></p>
1922
1923
1924 <p>Example usage:</p>
1925
1926
1927 <pre><code>var t = new Ext.form.field.Text();
1928 alert(t.getXTypes());  // alerts 'component/field/textfield'
1929 </code></pre>
1930
1931 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype hierarchy string</p>
1932 </li></ul></div></div></div><div id="method-hasActiveError" class="member inherited"><a href="Ext.form.field.Number.html#method-hasActiveError" rel="method-hasActiveError" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-hasActiveError" class="viewSource">view source</a></div><a name="hasActiveError"></a><a name="method-hasActiveError"></a><a href="Ext.form.field.Number.html#" rel="method-hasActiveError" class="cls expand">hasActiveError</a> : Boolean</div><div class="description"><div class="short">Tells whether the field currently has an active error message. This does not trigger
1933 validation on its own, it merely...</div><div class="long"><p>Tells whether the field currently has an active error message. This does not trigger
1934 validation on its own, it merely looks for any message that the component may already hold.</p>
1935 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
1936 </li></ul></div></div></div><div id="method-hasListener" class="member inherited"><a href="Ext.form.field.Number.html#method-hasListener" rel="method-hasListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-hasListener" class="viewSource">view source</a></div><a name="hasListener"></a><a name="method-hasListener"></a><a href="Ext.form.field.Number.html#" rel="method-hasListener" class="cls expand">hasListener</a>(
1937 <span class="pre">String eventName</span>)
1938  : Boolean</div><div class="description"><div class="short"><p>Checks to see if this object has any listeners for a specified event</p>
1939 </div><div class="long"><p>Checks to see if this object has any listeners for a specified event</p>
1940 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to check for</p>
1941 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if the event is being listened for, else false</p>
1942 </li></ul></div></div></div><div id="method-hasUICls" class="member inherited"><a href="Ext.form.field.Number.html#method-hasUICls" rel="method-hasUICls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-hasUICls" class="viewSource">view source</a></div><a name="hasUICls"></a><a name="method-hasUICls"></a><a href="Ext.form.field.Number.html#" rel="method-hasUICls" class="cls expand">hasUICls</a>(
1943 <span class="pre">String cls</span>)
1944  : void</div><div class="description"><div class="short"><p>Checks if there is currently a specified uiCls</p>
1945 </div><div class="long"><p>Checks if there is currently a specified uiCls</p>
1946 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The cls to check</p>
1947 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1948 </li></ul></div></div></div><div id="method-hide" class="member inherited"><a href="Ext.form.field.Number.html#method-hide" rel="method-hide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-hide" class="viewSource">view source</a></div><a name="hide"></a><a name="method-hide"></a><a href="Ext.form.field.Number.html#" rel="method-hide" class="cls expand">hide</a>(
1949 <span class="pre">String/Element/Component animateTarget, [Function callback], [Object scope]</span>)
1950  : Ext.Component</div><div class="description"><div class="short"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.form.field.Number.html#hideMode" rel="Ext.form.field.Number#hideMode" class="docClass">hideMode</a>.</p>
1951 </div><div class="long"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.form.field.Number.html#hideMode" rel="Ext.form.field.Number#hideMode" class="docClass">hideMode</a>.</p>
1952 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animateTarget</span> : String/Element/Component<div class="sub-desc"><p>Optional, and <b>only valid for <a href="Ext.form.field.Number.html#floating" rel="Ext.form.field.Number#floating" class="docClass">floating</a> Components such as
1953 <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a>s or <a href="Ext.tip.ToolTip.html" rel="Ext.tip.ToolTip" class="docClass">ToolTip</a>s, or regular Components which have been configured
1954 with <code>floating: true</code>.</b>.
1955 The target to which the Component should animate while hiding (defaults to null with no animation)</p>
1956 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>(optional) A callback function to call after the Component is hidden.</p>
1957 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this Component.</p>
1958 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1959 </li></ul></div></div></div><div id="method-initField" class="member inherited"><a href="Ext.form.field.Number.html#method-initField" rel="method-initField" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-initField" class="viewSource">view source</a></div><a name="initField"></a><a name="method-initField"></a><a href="Ext.form.field.Number.html#" rel="method-initField" class="cls expand">initField</a> : void</div><div class="description"><div class="short">Initializes this Field mixin on the current instance. Components using this mixin should call
1960 this method during thei...</div><div class="long"><p>Initializes this Field mixin on the current instance. Components using this mixin should call
1961 this method during their own initialization process.</p>
1962 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1963 </li></ul></div></div></div><div id="method-initLabelable" class="member inherited"><a href="Ext.form.field.Number.html#method-initLabelable" rel="method-initLabelable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-initLabelable" class="viewSource">view source</a></div><a name="initLabelable"></a><a name="method-initLabelable"></a><a href="Ext.form.field.Number.html#" rel="method-initLabelable" class="cls expand">initLabelable</a> : void</div><div class="description"><div class="short">Performs initialization of this mixin. Component classes using this mixin should call this method
1964 during their own in...</div><div class="long"><p>Performs initialization of this mixin. Component classes using this mixin should call this method
1965 during their own initialization.</p>
1966 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1967 </li></ul></div></div></div><div id="method-is" class="member inherited"><a href="Ext.form.field.Number.html#method-is" rel="method-is" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-is" class="viewSource">view source</a></div><a name="is"></a><a name="method-is"></a><a href="Ext.form.field.Number.html#" rel="method-is" class="cls expand">is</a>(
1968 <span class="pre">String selector</span>)
1969  : Boolean</div><div class="description"><div class="short"><p>Tests whether this Component matches the selector string.</p>
1970 </div><div class="long"><p>Tests whether this Component matches the selector string.</p>
1971 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>The selector string to test against.</p>
1972 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this Component matches the selector.</p>
1973 </li></ul></div></div></div><div id="method-isDescendantOf" class="member inherited"><a href="Ext.form.field.Number.html#method-isDescendantOf" rel="method-isDescendantOf" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDescendantOf" class="viewSource">view source</a></div><a name="isDescendantOf"></a><a name="method-isDescendantOf"></a><a href="Ext.form.field.Number.html#" rel="method-isDescendantOf" class="cls expand">isDescendantOf</a>(
1974 <span class="pre">Ext.Container container</span>)
1975  : Boolean</div><div class="description"><div class="short"><p>Determines whether this component is the descendant of a particular container.</p>
1976 </div><div class="long"><p>Determines whether this component is the descendant of a particular container.</p>
1977 <h3 class="pa">Parameters</h3><ul><li><span class="pre">container</span> : Ext.Container<div class="sub-desc">
1978 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>isDescendant</p>
1979 </li></ul></div></div></div><div id="method-isDirty" class="member inherited"><a href="Ext.form.field.Number.html#method-isDirty" rel="method-isDirty" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-isDirty" class="viewSource">view source</a></div><a name="isDirty"></a><a name="method-isDirty"></a><a href="Ext.form.field.Number.html#" rel="method-isDirty" class="cls expand">isDirty</a> : Boolean</div><div class="description"><div class="short">Returns true if the value of this Field has been changed from its originalValue.
1980 Will always return false if the fiel...</div><div class="long"><p>Returns true if the value of this Field has been changed from its <a href="Ext.form.field.Number.html#originalValue" rel="Ext.form.field.Number#originalValue" class="docClass">originalValue</a>.
1981 Will always return false if the field is disabled.</p>
1982
1983
1984 <p>Note that if the owning <a href="Ext.form.Basic.html" rel="Ext.form.Basic" class="docClass">form</a> was configured with
1985 <a href="Ext.form.Basic.html#trackResetOnLoad" rel="Ext.form.Basic#trackResetOnLoad" class="docClass">trackResetOnLoad</a>
1986 then the <a href="Ext.form.field.Number.html#originalValue" rel="Ext.form.field.Number#originalValue" class="docClass">originalValue</a> is updated when the values are loaded by
1987 <a href="Ext.form.Basic.html" rel="Ext.form.Basic" class="docClass">Ext.form.Basic</a>.<a href="Ext.form.Basic.html#setValues" rel="Ext.form.Basic#setValues" class="docClass">setValues</a>.</p>
1988
1989 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this field has been changed from its original value (and
1990 is not disabled), false otherwise.</p>
1991 </li></ul></div></div></div><div id="method-isDisabled" class="member inherited"><a href="Ext.form.field.Number.html#method-isDisabled" rel="method-isDisabled" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDisabled" class="viewSource">view source</a></div><a name="isDisabled"></a><a name="method-isDisabled"></a><a href="Ext.form.field.Number.html#" rel="method-isDisabled" class="cls expand">isDisabled</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is currently disabled.</p>
1992 </div><div class="long"><p>Method to determine whether this Component is currently disabled.</p>
1993 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the disabled state of this Component.</p>
1994 </li></ul></div></div></div><div id="method-isDraggable" class="member inherited"><a href="Ext.form.field.Number.html#method-isDraggable" rel="method-isDraggable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDraggable" class="viewSource">view source</a></div><a name="isDraggable"></a><a name="method-isDraggable"></a><a href="Ext.form.field.Number.html#" rel="method-isDraggable" class="cls expand">isDraggable</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is draggable.</p>
1995 </div><div class="long"><p>Method to determine whether this Component is draggable.</p>
1996 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the draggable state of this component.</p>
1997 </li></ul></div></div></div><div id="method-isDroppable" class="member inherited"><a href="Ext.form.field.Number.html#method-isDroppable" rel="method-isDroppable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDroppable" class="viewSource">view source</a></div><a name="isDroppable"></a><a name="method-isDroppable"></a><a href="Ext.form.field.Number.html#" rel="method-isDroppable" class="cls expand">isDroppable</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is droppable.</p>
1998 </div><div class="long"><p>Method to determine whether this Component is droppable.</p>
1999 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the droppable state of this component.</p>
2000 </li></ul></div></div></div><div id="method-isEqual" class="member inherited"><a href="Ext.form.field.Number.html#method-isEqual" rel="method-isEqual" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-isEqual" class="viewSource">view source</a></div><a name="isEqual"></a><a name="method-isEqual"></a><a href="Ext.form.field.Number.html#" rel="method-isEqual" class="cls expand">isEqual</a>(
2001 <span class="pre">Mixed value1, Mixed value2</span>)
2002  : Boolean</div><div class="description"><div class="short">Returns whether two field values are logically equal. Field implementations may override
2003 this to provide custom compa...</div><div class="long"><p>Returns whether two field <a href="Ext.form.field.Number.html#getValue" rel="Ext.form.field.Number#getValue" class="docClass">values</a> are logically equal. Field implementations may override
2004 this to provide custom comparison logic appropriate for the particular field's data type.</p>
2005 <h3 class="pa">Parameters</h3><ul><li><span class="pre">value1</span> : Mixed<div class="sub-desc"><p>The first value to compare</p>
2006 </div></li><li><span class="pre">value2</span> : Mixed<div class="sub-desc"><p>The second value to compare</p>
2007 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if the values are equal, false if inequal.</p>
2008 </li></ul></div></div></div><div id="method-isFileUpload" class="member inherited"><a href="Ext.form.field.Number.html#method-isFileUpload" rel="method-isFileUpload" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-isFileUpload" class="viewSource">view source</a></div><a name="isFileUpload"></a><a name="method-isFileUpload"></a><a href="Ext.form.field.Number.html#" rel="method-isFileUpload" class="cls expand">isFileUpload</a> : Boolean</div><div class="description"><div class="short">Returns whether this Field is a file upload field; if it returns true, forms will use
2009 special techniques for submitti...</div><div class="long"><p>Returns whether this Field is a file upload field; if it returns true, forms will use
2010 special techniques for <a href="Ext.form.Basic.html#submit" rel="Ext.form.Basic#submit" class="docClass">submitting the form</a> via AJAX. See
2011 <a href="Ext.form.Basic.html#hasUpload" rel="Ext.form.Basic#hasUpload" class="docClass">Ext.form.Basic.hasUpload</a> for details. If this returns true, the <a href="Ext.form.field.Number.html#extractFileInput" rel="Ext.form.field.Number#extractFileInput" class="docClass">extractFileInput</a>
2012 method must also be implemented to return the corresponding file input element.</p>
2013 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
2014 </li></ul></div></div></div><div id="method-isFloating" class="member inherited"><a href="Ext.form.field.Number.html#method-isFloating" rel="method-isFloating" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isFloating" class="viewSource">view source</a></div><a name="isFloating"></a><a name="method-isFloating"></a><a href="Ext.form.field.Number.html#" rel="method-isFloating" class="cls expand">isFloating</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is floating.</p>
2015 </div><div class="long"><p>Method to determine whether this Component is floating.</p>
2016 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the floating state of this component.</p>
2017 </li></ul></div></div></div><div id="method-isHidden" class="member inherited"><a href="Ext.form.field.Number.html#method-isHidden" rel="method-isHidden" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isHidden" class="viewSource">view source</a></div><a name="isHidden"></a><a name="method-isHidden"></a><a href="Ext.form.field.Number.html#" rel="method-isHidden" class="cls expand">isHidden</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is currently set to hidden.</p>
2018 </div><div class="long"><p>Method to determine whether this Component is currently set to hidden.</p>
2019 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the hidden state of this Component.</p>
2020 </li></ul></div></div></div><div id="method-isValid" class="member inherited"><a href="Ext.form.field.Number.html#method-isValid" rel="method-isValid" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-isValid" class="viewSource">view source</a></div><a name="isValid"></a><a name="method-isValid"></a><a href="Ext.form.field.Number.html#" rel="method-isValid" class="cls expand">isValid</a> : Boolean</div><div class="description"><div class="short">Returns whether or not the field value is currently valid by validating the
2021 field's current value. The validitychange...</div><div class="long"><p>Returns whether or not the field value is currently valid by <a href="Ext.form.field.Number.html#getErrors" rel="Ext.form.field.Number#getErrors" class="docClass">validating</a> the
2022 field's current value. The <a href="Ext.form.field.Number.html#validitychange" rel="Ext.form.field.Number#validitychange" class="docClass">validitychange</a> event will not be fired; use <a href="Ext.form.field.Number.html#validate" rel="Ext.form.field.Number#validate" class="docClass">validate</a>
2023 instead if you want the event to fire. <b>Note</b>: <a href="Ext.form.field.Number.html#disabled" rel="Ext.form.field.Number#disabled" class="docClass">disabled</a> fields are always treated as valid.</p>
2024
2025
2026 <p>Implementations are encouraged to ensure that this method does not have side-effects such as
2027 triggering error message display.</p>
2028
2029 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if the value is valid, else false</p>
2030 </li></ul></div></div></div><div id="method-isVisible" class="member inherited"><a href="Ext.form.field.Number.html#method-isVisible" rel="method-isVisible" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isVisible" class="viewSource">view source</a></div><a name="isVisible"></a><a name="method-isVisible"></a><a href="Ext.form.field.Number.html#" rel="method-isVisible" class="cls expand">isVisible</a>(
2031 <span class="pre">Boolean deep</span>)
2032  : Boolean</div><div class="description"><div class="short"><p>Returns true if this component is visible.</p>
2033 </div><div class="long"><p>Returns true if this component is visible.</p>
2034 <h3 class="pa">Parameters</h3><ul><li><span class="pre">deep</span> : Boolean<div class="sub-desc"><p>. <p>Optional. Pass <code>true</code> to interrogate the visibility status of all
2035 parent Containers to determine whether this Component is truly visible to the user.</p></p>
2036
2037 <p>Generally, to determine whether a Component is hidden, the no argument form is needed. For example
2038 when creating dynamically laid out UIs in a hidden Container before showing them.</p>
2039
2040 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this component is visible, false otherwise.</p>
2041 </li></ul></div></div></div><div id="method-isXType" class="member inherited"><a href="Ext.form.field.Number.html#method-isXType" rel="method-isXType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isXType" class="viewSource">view source</a></div><a name="isXType"></a><a name="method-isXType"></a><a href="Ext.form.field.Number.html#" rel="method-isXType" class="cls expand">isXType</a>(
2042 <span class="pre">String xtype, [Boolean shallow]</span>)
2043  : Boolean</div><div class="description"><div class="short">Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
2044 from th...</div><div class="long"><p>Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
2045 from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
2046
2047
2048 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
2049 to participate in determination of inherited xtypes.</b></p>
2050
2051
2052 <p>For a list of all available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header.</p>
2053
2054
2055 <p>Example usage:</p>
2056
2057
2058 <pre><code>var t = new Ext.form.field.Text();
2059 var isText = t.isXType('textfield');        // true
2060 var isBoxSubclass = t.isXType('field');       // true, descended from <a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="docClass">Ext.form.field.Base</a>
2061 var isBoxInstance = t.isXType('field', true); // false, not a direct <a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="docClass">Ext.form.field.Base</a> instance
2062 </code></pre>
2063
2064 <h3 class="pa">Parameters</h3><ul><li><span class="pre">xtype</span> : String<div class="sub-desc"><p>The xtype to check for this Component</p>
2065 </div></li><li><span class="pre">shallow</span> : Boolean<div class="sub-desc"><p>(optional) False to check whether this Component is descended from the xtype (this is
2066 the default), or true to check whether this Component is directly of the specified xtype.</p>
2067 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this component descends from the specified xtype, false otherwise.</p>
2068 </li></ul></div></div></div><div id="method-markInvalid" class="member inherited"><a href="Ext.form.field.Number.html#method-markInvalid" rel="method-markInvalid" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-method-markInvalid" class="viewSource">view source</a></div><a name="markInvalid"></a><a name="method-markInvalid"></a><a href="Ext.form.field.Number.html#" rel="method-markInvalid" class="cls expand">markInvalid</a>(
2069 <span class="pre">String/Array errors</span>)
2070  : void</div><div class="description"><div class="short">Display one or more error messages associated with this field, using msgTarget to determine how to
2071 display the messag...</div><div class="long"><p>Display one or more error messages associated with this field, using <a href="Ext.form.field.Number.html#msgTarget" rel="Ext.form.field.Number#msgTarget" class="docClass">msgTarget</a> to determine how to
2072 display the messages and applying <a href="Ext.form.field.Number.html#invalidCls" rel="Ext.form.field.Number#invalidCls" class="docClass">invalidCls</a> to the field's UI element.</p>
2073
2074
2075 <p><b>Note</b>: this method does not cause the Field's <a href="Ext.form.field.Number.html#validate" rel="Ext.form.field.Number#validate" class="docClass">validate</a> or <a href="Ext.form.field.Number.html#isValid" rel="Ext.form.field.Number#isValid" class="docClass">isValid</a> methods to
2076 return <code>false</code> if the value does <i>pass</i> validation. So simply marking a Field as invalid
2077 will not prevent submission of forms submitted with the <a href="Ext.form.action.Submit.html#clientValidation" rel="Ext.form.action.Submit#clientValidation" class="docClass">Ext.form.action.Submit.clientValidation</a>
2078 option set.</p>
2079
2080 <h3 class="pa">Parameters</h3><ul><li><span class="pre">errors</span> : String/Array<div class="sub-desc"><p>The validation message(s) to display.</p>
2081 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2082 </li></ul></div></div></div><div id="method-nextNode" class="member inherited"><a href="Ext.form.field.Number.html#method-nextNode" rel="method-nextNode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-nextNode" class="viewSource">view source</a></div><a name="nextNode"></a><a name="method-nextNode"></a><a href="Ext.form.field.Number.html#" rel="method-nextNode" class="cls expand">nextNode</a>(
2083 <span class="pre">String selector, Object includeSelf</span>)
2084  : void</div><div class="description"><div class="short">Returns the next node in the Component tree in tree traversal order.
2085
2086
2087 Note that this is not limited to siblings, and...</div><div class="long"><p>Returns the next node in the Component tree in tree traversal order.</p>
2088
2089
2090 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
2091 walk the tree to attempt to find a match. Contrast with <a href="Ext.form.field.Number.html#pnextSibling" rel="Ext.form.field.Number#pnextSibling" class="docClass">pnextSibling</a>.</p>
2092
2093 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the following nodes.</p>
2094 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
2095 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The next node (or the next node which matches the selector). Returns null if there is no matching node.</p>
2096 </li></ul></div></div></div><div id="method-nextSibling" class="member inherited"><a href="Ext.form.field.Number.html#method-nextSibling" rel="method-nextSibling" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-nextSibling" class="viewSource">view source</a></div><a name="nextSibling"></a><a name="method-nextSibling"></a><a href="Ext.form.field.Number.html#" rel="method-nextSibling" class="cls expand">nextSibling</a>(
2097 <span class="pre">String selector</span>)
2098  : void</div><div class="description"><div class="short">Returns the next sibling of this Component.
2099
2100
2101 Optionally selects the next sibling which matches the passed ComponentQ...</div><div class="long"><p>Returns the next sibling of this Component.</p>
2102
2103
2104 <p>Optionally selects the next sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
2105
2106
2107 <p>May also be refered to as <code><b>next()</b></code></p>
2108
2109
2110 <p>Note that this is limited to siblings, and if no siblings of the item match, <code>null</code> is returned. Contrast with <a href="Ext.form.field.Number.html#nextNode" rel="Ext.form.field.Number#nextNode" class="docClass">nextNode</a></p>
2111
2112 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the following items.</p>
2113 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The next sibling (or the next sibling which matches the selector). Returns null if there is no matching sibling.</p>
2114 </li></ul></div></div></div><div id="method-observe" class="member inherited"><a href="Ext.form.field.Number.html#method-observe" rel="method-observe" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-observe" class="viewSource">view source</a></div><a name="observe"></a><a name="method-observe"></a><a href="Ext.form.field.Number.html#" rel="method-observe" class="cls expand">observe</a>(
2115 <span class="pre">Function c, Object listeners</span>)
2116  : void</div><div class="description"><div class="short">Sets observability on the passed class constructor.
2117
2118 This makes any event fired on any instance of the passed class a...</div><div class="long"><p>Sets observability on the passed class constructor.</p>
2119
2120 <p>This makes any event fired on any instance of the passed class also fire a single event through
2121 the <strong>class</strong> allowing for central handling of events on many instances at once.</p>
2122
2123 <p>Usage:</p>
2124
2125 <pre><code>Ext.util.Observable.observe(Ext.data.Connection);
2126 Ext.data.Connection.on('beforerequest', function(con, options) {
2127     console.log('Ajax request made to ' + options.url);
2128 });
2129 </code></pre>
2130 <h3 class="pa">Parameters</h3><ul><li><span class="pre">c</span> : Function<div class="sub-desc"><p>The class constructor to make observable.</p>
2131 </div></li><li><span class="pre">listeners</span> : Object<div class="sub-desc"><p>An object containing a series of listeners to add. See <a href="Ext.form.field.Number.html#addListener" rel="Ext.form.field.Number#addListener" class="docClass">addListener</a>.</p>
2132 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2133 </li></ul></div></div></div><div id="method-on" class="member inherited"><a href="Ext.form.field.Number.html#method-on" rel="method-on" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-on" class="viewSource">view source</a></div><a name="on"></a><a name="method-on"></a><a href="Ext.form.field.Number.html#" rel="method-on" class="cls expand">on</a>(
2134 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
2135  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object (shorthand for <a href="Ext.form.field.Number.html#addListener" rel="Ext.form.field.Number#addListener" class="docClass">addListener</a>.)</p>
2136 </div><div class="long"><p>Appends an event handler to this object (shorthand for <a href="Ext.form.field.Number.html#addListener" rel="Ext.form.field.Number#addListener" class="docClass">addListener</a>.)</p>
2137 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event to listen for</p>
2138 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes</p>
2139 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
2140 <b>If omitted, defaults to the object which fired the event.</b></p>
2141 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.</p>
2142 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2143 </li></ul></div></div></div><div id="method-onTriggerClick" class="member inherited"><a href="Ext.form.field.Number.html#method-onTriggerClick" rel="method-onTriggerClick" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-method-onTriggerClick" class="viewSource">view source</a></div><a name="onTriggerClick"></a><a name="method-onTriggerClick"></a><a href="Ext.form.field.Number.html#" rel="method-onTriggerClick" class="cls expand">onTriggerClick</a>(
2144 <span class="pre">Ext.EventObject e</span>)
2145  : void</div><div class="description"><div class="short">The function that should handle the trigger's click event.  This method does nothing by default
2146 until overridden by a...</div><div class="long"><p>The function that should handle the trigger's click event.  This method does nothing by default
2147 until overridden by an implementing function.  See Ext.form.field.ComboBox and <a href="Ext.form.field.Date.html" rel="Ext.form.field.Date" class="docClass">Ext.form.field.Date</a> for
2148 sample implementations.</p>
2149 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc">
2150 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2151 </li></ul></div></div></div><div id="method-previousNode" class="member inherited"><a href="Ext.form.field.Number.html#method-previousNode" rel="method-previousNode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-previousNode" class="viewSource">view source</a></div><a name="previousNode"></a><a name="method-previousNode"></a><a href="Ext.form.field.Number.html#" rel="method-previousNode" class="cls expand">previousNode</a>(
2152 <span class="pre">String selector, Object includeSelf</span>)
2153  : void</div><div class="description"><div class="short">Returns the previous node in the Component tree in tree traversal order.
2154
2155
2156 Note that this is not limited to siblings,...</div><div class="long"><p>Returns the previous node in the Component tree in tree traversal order.</p>
2157
2158
2159 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
2160 walk the tree in reverse order to attempt to find a match. Contrast with <a href="Ext.form.field.Number.html#previousSibling" rel="Ext.form.field.Number#previousSibling" class="docClass">previousSibling</a>.</p>
2161
2162 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional. A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the preceding nodes.</p>
2163 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
2164 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The previous node (or the previous node which matches the selector). Returns null if there is no matching node.</p>
2165 </li></ul></div></div></div><div id="method-previousSibling" class="member inherited"><a href="Ext.form.field.Number.html#method-previousSibling" rel="method-previousSibling" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-previousSibling" class="viewSource">view source</a></div><a name="previousSibling"></a><a name="method-previousSibling"></a><a href="Ext.form.field.Number.html#" rel="method-previousSibling" class="cls expand">previousSibling</a>(
2166 <span class="pre">String selector</span>)
2167  : void</div><div class="description"><div class="short">Returns the previous sibling of this Component.
2168
2169
2170 Optionally selects the previous sibling which matches the passed Co...</div><div class="long"><p>Returns the previous sibling of this Component.</p>
2171
2172
2173 <p>Optionally selects the previous sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
2174
2175
2176 <p>May also be refered to as <code><b>prev()</b></code></p>
2177
2178
2179 <p>Note that this is limited to siblings, and if no siblings of the item match, <code>null</code> is returned. Contrast with <a href="Ext.form.field.Number.html#previousNode" rel="Ext.form.field.Number#previousNode" class="docClass">previousNode</a></p>
2180
2181 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional. A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the preceding items.</p>
2182 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The previous sibling (or the previous sibling which matches the selector). Returns null if there is no matching sibling.</p>
2183 </li></ul></div></div></div><div id="method-processRawValue" class="member inherited"><a href="Ext.form.field.Number.html#method-processRawValue" rel="method-processRawValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-method-processRawValue" class="viewSource">view source</a></div><a name="processRawValue"></a><a name="method-processRawValue"></a><a href="Ext.form.field.Number.html#" rel="method-processRawValue" class="cls expand">processRawValue</a>(
2184 <span class="pre">String value</span>)
2185  : String</div><div class="description"><div class="short">Performs any necessary manipulation of a raw String value to prepare it for conversion
2186 and/or validation. For text fi...</div><div class="long"><p>Performs any necessary manipulation of a raw String value to prepare it for <a href="Ext.form.field.Number.html#stringToValue" rel="Ext.form.field.Number#stringToValue" class="docClass">conversion</a>
2187 and/or <a href="Ext.form.field.Number.html#validate" rel="Ext.form.field.Number#validate" class="docClass">validation</a>. For text fields this applies the configured <a href="Ext.form.field.Number.html#stripCharsRe" rel="Ext.form.field.Number#stripCharsRe" class="docClass">stripCharsRe</a> to the
2188 raw value.</p>
2189 <h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : String<div class="sub-desc"><p>The unprocessed string value</p>
2190 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The processed string value</p>
2191 </li></ul></div></div></div><div id="method-rawToValue" class="member inherited"><a href="Ext.form.field.Number.html#method-rawToValue" rel="method-rawToValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-method-rawToValue" class="viewSource">view source</a></div><a name="rawToValue"></a><a name="method-rawToValue"></a><a href="Ext.form.field.Number.html#" rel="method-rawToValue" class="cls expand">rawToValue</a>(
2192 <span class="pre">Mixed rawValue</span>)
2193  : Mixed</div><div class="description"><div class="short">Converts a raw input field value into a mixed-type value that is suitable for this particular field type.
2194 This allows...</div><div class="long"><p>Converts a raw input field value into a mixed-type value that is suitable for this particular field type.
2195 This allows controlling the normalization and conversion of user-entered values into field-type-appropriate
2196 values, e.g. a Date object for <a href="Ext.form.field.Date.html" rel="Ext.form.field.Date" class="docClass">Ext.form.field.Date</a>, and is invoked by <a href="Ext.form.field.Number.html#getValue" rel="Ext.form.field.Number#getValue" class="docClass">getValue</a>.</p>
2197
2198
2199 <p>It is up to individual implementations to decide how to handle raw values that cannot be successfully
2200 converted to the desired object type.</p>
2201
2202
2203 <p>See <a href="Ext.form.field.Number.html#valueToRaw" rel="Ext.form.field.Number#valueToRaw" class="docClass">valueToRaw</a> for the opposite conversion.</p>
2204
2205
2206 <p>The base implementation does no conversion, returning the raw value untouched.</p>
2207
2208 <h3 class="pa">Parameters</h3><ul><li><span class="pre">rawValue</span> : Mixed<div class="sub-desc">
2209 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>The converted value.</p>
2210 </li></ul></div></div></div><div id="method-relayEvents" class="member inherited"><a href="Ext.form.field.Number.html#method-relayEvents" rel="method-relayEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-relayEvents" class="viewSource">view source</a></div><a name="relayEvents"></a><a name="method-relayEvents"></a><a href="Ext.form.field.Number.html#" rel="method-relayEvents" class="cls expand">relayEvents</a>(
2211 <span class="pre">Object origin, Array events, Object prefix</span>)
2212  : void</div><div class="description"><div class="short"><p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>
2213 </div><div class="long"><p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>
2214 <h3 class="pa">Parameters</h3><ul><li><span class="pre">origin</span> : Object<div class="sub-desc"><p>The Observable whose events this object is to relay.</p>
2215 </div></li><li><span class="pre">events</span> : Array<div class="sub-desc"><p>Array of event names to relay.</p>
2216 </div></li><li><span class="pre">prefix</span> : Object<div class="sub-desc">
2217 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2218 </li></ul></div></div></div><div id="method-releaseCapture" class="member inherited"><a href="Ext.form.field.Number.html#method-releaseCapture" rel="method-releaseCapture" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-releaseCapture" class="viewSource">view source</a></div><a name="releaseCapture"></a><a name="method-releaseCapture"></a><a href="Ext.form.field.Number.html#" rel="method-releaseCapture" class="cls expand">releaseCapture</a>(
2219 <span class="pre">Observable o</span>)
2220  : void</div><div class="description"><div class="short"><p>Removes <b>all</b> added captures from the Observable.</p>
2221 </div><div class="long"><p>Removes <b>all</b> added captures from the Observable.</p>
2222 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to release</p>
2223 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2224 </li></ul></div></div></div><div id="method-removeCls" class="member inherited"><a href="Ext.form.field.Number.html#method-removeCls" rel="method-removeCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-removeCls" class="viewSource">view source</a></div><a name="removeCls"></a><a name="method-removeCls"></a><a href="Ext.form.field.Number.html#" rel="method-removeCls" class="cls expand">removeCls</a>(
2225 <span class="pre">Object className</span>)
2226  : Ext.Component</div><div class="description"><div class="short"><p>Removes a CSS class from the top level element representing this component.</p>
2227 </div><div class="long"><p>Removes a CSS class from the top level element representing this component.</p>
2228 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : Object<div class="sub-desc">
2229 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>Returns the Component to allow method chaining.</p>
2230 </li></ul></div></div></div><div id="method-removeClsWithUI" class="member inherited"><a href="Ext.form.field.Number.html#method-removeClsWithUI" rel="method-removeClsWithUI" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-removeClsWithUI" class="viewSource">view source</a></div><a name="removeClsWithUI"></a><a name="method-removeClsWithUI"></a><a href="Ext.form.field.Number.html#" rel="method-removeClsWithUI" class="cls expand">removeClsWithUI</a>(
2231 <span class="pre">String/Array cls</span>)
2232  : void</div><div class="description"><div class="short">Removes a cls to the uiCls array, which will also call removeUIClsToElement and removes
2233 it from all elements of this ...</div><div class="long"><p>Removes a cls to the uiCls array, which will also call <a href="Ext.form.field.Number.html#removeUIClsToElement" rel="Ext.form.field.Number#removeUIClsToElement" class="docClass">removeUIClsToElement</a> and removes
2234 it from all elements of this component.</p>
2235 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String/Array<div class="sub-desc"><p>A string or an array of strings to remove to the uiCls</p>
2236 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2237 </li></ul></div></div></div><div id="method-removeListener" class="member inherited"><a href="Ext.form.field.Number.html#method-removeListener" rel="method-removeListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-removeListener" class="viewSource">view source</a></div><a name="removeListener"></a><a name="method-removeListener"></a><a href="Ext.form.field.Number.html#" rel="method-removeListener" class="cls expand">removeListener</a>(
2238 <span class="pre">String eventName, Function handler, [Object scope]</span>)
2239  : void</div><div class="description"><div class="short"><p>Removes an event handler.</p>
2240 </div><div class="long"><p>Removes an event handler.</p>
2241 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event the handler was associated with.</p>
2242 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The handler to remove. <b>This must be a reference to the function passed into the <a href="Ext.form.field.Number.html#addListener" rel="Ext.form.field.Number#addListener" class="docClass">addListener</a> call.</b></p>
2243 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
2244 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2245 </li></ul></div></div></div><div id="method-removeManagedListener" class="member inherited"><a href="Ext.form.field.Number.html#method-removeManagedListener" rel="method-removeManagedListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-removeManagedListener" class="viewSource">view source</a></div><a name="removeManagedListener"></a><a name="method-removeManagedListener"></a><a href="Ext.form.field.Number.html#" rel="method-removeManagedListener" class="cls expand">removeManagedListener</a>(
2246 <span class="pre">Observable|Element item, Object|String ename, Function fn, Object scope</span>)
2247  : void</div><div class="description"><div class="short"><p>Removes listeners that were added by the <a href="Ext.form.field.Number.html#mon" rel="Ext.form.field.Number#mon" class="docClass">mon</a> method.</p>
2248 </div><div class="long"><p>Removes listeners that were added by the <a href="Ext.form.field.Number.html#mon" rel="Ext.form.field.Number#mon" class="docClass">mon</a> method.</p>
2249 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Observable|Element<div class="sub-desc"><p>The item from which to remove a listener/listeners.</p>
2250 </div></li><li><span class="pre">ename</span> : Object|String<div class="sub-desc"><p>The event name, or an object containing event name properties.</p>
2251 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
2252 is the handler function.</p>
2253 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
2254 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
2255 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2256 </li></ul></div></div></div><div id="method-reset" class="member inherited"><a href="Ext.form.field.Number.html#method-reset" rel="method-reset" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-reset" class="viewSource">view source</a></div><a name="reset"></a><a name="method-reset"></a><a href="Ext.form.field.Number.html#" rel="method-reset" class="cls expand">reset</a> : void</div><div class="description"><div class="short">Resets the current field value to the originally loaded value and clears any validation messages.
2257 See Ext.form.Basic....</div><div class="long"><p>Resets the current field value to the originally loaded value and clears any validation messages.
2258 See <a href="Ext.form.Basic.html" rel="Ext.form.Basic" class="docClass">Ext.form.Basic</a>.<a href="Ext.form.Basic.html#trackResetOnLoad" rel="Ext.form.Basic#trackResetOnLoad" class="docClass">trackResetOnLoad</a></p>
2259 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2260 </li></ul></div></div></div><div id="method-resetOriginalValue" class="member inherited"><a href="Ext.form.field.Number.html#method-resetOriginalValue" rel="method-resetOriginalValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-resetOriginalValue" class="viewSource">view source</a></div><a name="resetOriginalValue"></a><a name="method-resetOriginalValue"></a><a href="Ext.form.field.Number.html#" rel="method-resetOriginalValue" class="cls expand">resetOriginalValue</a> : void</div><div class="description"><div class="short">Resets the field's originalValue property so it matches the current value.
2261 This is called by Ext.form.Basic.setValues...</div><div class="long"><p>Resets the field's <a href="Ext.form.field.Number.html#originalValue" rel="Ext.form.field.Number#originalValue" class="docClass">originalValue</a> property so it matches the current <a href="Ext.form.field.Number.html#getValue" rel="Ext.form.field.Number#getValue" class="docClass">value</a>.
2262 This is called by <a href="Ext.form.Basic.html" rel="Ext.form.Basic" class="docClass">Ext.form.Basic</a>.<a href="Ext.form.Basic.html#setValues" rel="Ext.form.Basic#setValues" class="docClass">setValues</a> if the form's
2263 <a href="Ext.form.Basic.html#trackResetOnLoad" rel="Ext.form.Basic#trackResetOnLoad" class="docClass">trackResetOnLoad</a> property is set to true.</p>
2264 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2265 </li></ul></div></div></div><div id="method-resumeEvents" class="member inherited"><a href="Ext.form.field.Number.html#method-resumeEvents" rel="method-resumeEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-resumeEvents" class="viewSource">view source</a></div><a name="resumeEvents"></a><a name="method-resumeEvents"></a><a href="Ext.form.field.Number.html#" rel="method-resumeEvents" class="cls expand">resumeEvents</a> : void</div><div class="description"><div class="short">Resume firing events. (see suspendEvents)
2266 If events were suspended using the queueSuspended parameter, then all
2267 event...</div><div class="long"><p>Resume firing events. (see <a href="Ext.form.field.Number.html#suspendEvents" rel="Ext.form.field.Number#suspendEvents" class="docClass">suspendEvents</a>)
2268 If events were suspended using the <code><b>queueSuspended</b></code> parameter, then all
2269 events fired during event suspension will be sent to any listeners now.</p>
2270 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2271 </li></ul></div></div></div><div id="method-selectText" class="member inherited"><a href="Ext.form.field.Number.html#method-selectText" rel="method-selectText" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-method-selectText" class="viewSource">view source</a></div><a name="selectText"></a><a name="method-selectText"></a><a href="Ext.form.field.Number.html#" rel="method-selectText" class="cls expand">selectText</a>(
2272 <span class="pre">[Number start], [Number end]</span>)
2273  : void</div><div class="description"><div class="short"><p>Selects text in this field</p>
2274 </div><div class="long"><p>Selects text in this field</p>
2275 <h3 class="pa">Parameters</h3><ul><li><span class="pre">start</span> : Number<div class="sub-desc"><p>(optional) The index where the selection should start (defaults to 0)</p>
2276 </div></li><li><span class="pre">end</span> : Number<div class="sub-desc"><p>(optional) The index where the selection should end (defaults to the text length)</p>
2277 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2278 </li></ul></div></div></div><div id="method-sequenceFx" class="member inherited"><a href="Ext.form.field.Number.html#method-sequenceFx" rel="method-sequenceFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-sequenceFx" class="viewSource">view source</a></div><a name="sequenceFx"></a><a name="method-sequenceFx"></a><a href="Ext.form.field.Number.html#" rel="method-sequenceFx" class="cls expand">sequenceFx</a> : Ext.core.Element</div><div class="description"><div class="short">Ensures that all effects queued after sequenceFx is called on this object are
2279 run in sequence.  This is the opposite ...</div><div class="long"><p>Ensures that all effects queued after sequenceFx is called on this object are
2280 run in sequence.  This is the opposite of <a href="Ext.form.field.Number.html#syncFx" rel="Ext.form.field.Number#syncFx" class="docClass">syncFx</a>.</p>
2281 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2282 </li></ul></div></div></div><div id="method-setActive" class="member inherited"><a href="Ext.form.field.Number.html#method-setActive" rel="method-setActive" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-setActive" class="viewSource">view source</a></div><a name="setActive"></a><a name="method-setActive"></a><a href="Ext.form.field.Number.html#" rel="method-setActive" class="cls expand">setActive</a>(
2283 <span class="pre">Boolean active, Component newActive</span>)
2284  : void</div><div class="description"><div class="short">This method is called internally by Ext.ZIndexManager to signal that a floating
2285 Component has either been moved to th...</div><div class="long"><p>This method is called internally by <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">Ext.ZIndexManager</a> to signal that a floating
2286 Component has either been moved to the top of its zIndex stack, or pushed from the top of its zIndex stack.</p>
2287
2288
2289 <p>If a <i>Window</i> is superceded by another Window, deactivating it hides its shadow.</p>
2290
2291
2292 <p>This method also fires the <a href="Ext.form.field.Number.html#activate" rel="Ext.form.field.Number#activate" class="docClass">activate</a> or <a href="Ext.form.field.Number.html#deactivate" rel="Ext.form.field.Number#deactivate" class="docClass">deactivate</a> event depending on which action occurred.</p>
2293
2294 <h3 class="pa">Parameters</h3><ul><li><span class="pre">active</span> : Boolean<div class="sub-desc"><p>True to activate the Component, false to deactivate it (defaults to false)</p>
2295 </div></li><li><span class="pre">newActive</span> : Component<div class="sub-desc"><p>The newly active Component which is taking over topmost zIndex position.</p>
2296 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2297 </li></ul></div></div></div><div id="method-setActiveError" class="member inherited"><a href="Ext.form.field.Number.html#method-setActiveError" rel="method-setActiveError" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-setActiveError" class="viewSource">view source</a></div><a name="setActiveError"></a><a name="method-setActiveError"></a><a href="Ext.form.field.Number.html#" rel="method-setActiveError" class="cls expand">setActiveError</a>(
2298 <span class="pre">String msg</span>)
2299  : void</div><div class="description"><div class="short">Sets the active error message to the given string. This replaces the entire error message
2300 contents with the given str...</div><div class="long"><p>Sets the active error message to the given string. This replaces the entire error message
2301 contents with the given string. Also see <a href="Ext.form.field.Number.html#setActiveErrors" rel="Ext.form.field.Number#setActiveErrors" class="docClass">setActiveErrors</a> which accepts an Array of
2302 messages and formats them according to the <a href="Ext.form.field.Number.html#activeErrorsTpl" rel="Ext.form.field.Number#activeErrorsTpl" class="docClass">activeErrorsTpl</a>.</p>
2303 <h3 class="pa">Parameters</h3><ul><li><span class="pre">msg</span> : String<div class="sub-desc"><p>The error message</p>
2304 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2305 </li></ul></div></div></div><div id="method-setActiveErrors" class="member inherited"><a href="Ext.form.field.Number.html#method-setActiveErrors" rel="method-setActiveErrors" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-setActiveErrors" class="viewSource">view source</a></div><a name="setActiveErrors"></a><a name="method-setActiveErrors"></a><a href="Ext.form.field.Number.html#" rel="method-setActiveErrors" class="cls expand">setActiveErrors</a>(
2306 <span class="pre">Array errors</span>)
2307  : void</div><div class="description"><div class="short">Set the active error message to an Array of error messages. The messages are formatted into
2308 a single message string u...</div><div class="long"><p>Set the active error message to an Array of error messages. The messages are formatted into
2309 a single message string using the <a href="Ext.form.field.Number.html#activeErrorsTpl" rel="Ext.form.field.Number#activeErrorsTpl" class="docClass">activeErrorsTpl</a>. Also see <a href="Ext.form.field.Number.html#setActiveError" rel="Ext.form.field.Number#setActiveError" class="docClass">setActiveError</a>
2310 which allows setting the entire error contents with a single string.</p>
2311 <h3 class="pa">Parameters</h3><ul><li><span class="pre">errors</span> : Array<div class="sub-desc"><p>The error messages</p>
2312 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2313 </li></ul></div></div></div><div id="method-setAutoScroll" class="member inherited"><a href="Ext.form.field.Number.html#method-setAutoScroll" rel="method-setAutoScroll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-setAutoScroll" class="viewSource">view source</a></div><a name="setAutoScroll"></a><a name="method-setAutoScroll"></a><a href="Ext.form.field.Number.html#" rel="method-setAutoScroll" class="cls expand">setAutoScroll</a>(
2314 <span class="pre">Boolean scroll</span>)
2315  : Ext.Component</div><div class="description"><div class="short"><p>Sets the overflow on the content element of the component.</p>
2316 </div><div class="long"><p>Sets the overflow on the content element of the component.</p>
2317 <h3 class="pa">Parameters</h3><ul><li><span class="pre">scroll</span> : Boolean<div class="sub-desc"><p>True to allow the Component to auto scroll.</p>
2318 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2319 </li></ul></div></div></div><div id="method-setDisabled" class="member inherited"><a href="Ext.form.field.Number.html#method-setDisabled" rel="method-setDisabled" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setDisabled" class="viewSource">view source</a></div><a name="setDisabled"></a><a name="method-setDisabled"></a><a href="Ext.form.field.Number.html#" rel="method-setDisabled" class="cls expand">setDisabled</a>(
2320 <span class="pre">Boolean disabled</span>)
2321  : void</div><div class="description"><div class="short"><p>Enable or disable the component.</p>
2322 </div><div class="long"><p>Enable or disable the component.</p>
2323 <h3 class="pa">Parameters</h3><ul><li><span class="pre">disabled</span> : Boolean<div class="sub-desc">
2324 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2325 </li></ul></div></div></div><div id="method-setDocked" class="member inherited"><a href="Ext.form.field.Number.html#method-setDocked" rel="method-setDocked" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setDocked" class="viewSource">view source</a></div><a name="setDocked"></a><a name="method-setDocked"></a><a href="Ext.form.field.Number.html#" rel="method-setDocked" class="cls expand">setDocked</a>(
2326 <span class="pre">Object dock, Object layoutParent</span>)
2327  : Component</div><div class="description"><div class="short">Sets the dock position of this component in its parent panel. Note that
2328 this only has effect if this item is part of ...</div><div class="long"><p>Sets the dock position of this component in its parent panel. Note that
2329 this only has effect if this item is part of the dockedItems collection
2330 of a parent that has a DockLayout (note that any Panel has a DockLayout
2331 by default)</p>
2332 <h3 class="pa">Parameters</h3><ul><li><span class="pre">dock</span> : Object<div class="sub-desc">
2333 </div></li><li><span class="pre">layoutParent</span> : Object<div class="sub-desc">
2334 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2335 </li></ul></div></div></div><div id="method-setEditable" class="member inherited"><a href="Ext.form.field.Number.html#method-setEditable" rel="method-setEditable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-method-setEditable" class="viewSource">view source</a></div><a name="setEditable"></a><a name="method-setEditable"></a><a href="Ext.form.field.Number.html#" rel="method-setEditable" class="cls expand">setEditable</a>(
2336 <span class="pre">Boolean editable</span>)
2337  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
2338 <h3 class="pa">Parameters</h3><ul><li><span class="pre">editable</span> : Boolean<div class="sub-desc"><p>True to allow the user to directly edit the field text
2339 Allow or prevent the user from directly editing the field text.  If false is passed,
2340 the user will only be able to modify the field using the trigger.  Will also add
2341 a click event to the text field which will call the trigger. This method
2342 is the runtime equivalent of setting the 'editable' config option at config time.</p>
2343 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2344 </li></ul></div></div></div><div id="method-setFieldDefaults" class="member inherited"><a href="Ext.form.field.Number.html#method-setFieldDefaults" rel="method-setFieldDefaults" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-setFieldDefaults" class="viewSource">view source</a></div><a name="setFieldDefaults"></a><a name="method-setFieldDefaults"></a><a href="Ext.form.field.Number.html#" rel="method-setFieldDefaults" class="cls expand">setFieldDefaults</a>(
2345 <span class="pre">Object defaults</span>)
2346  : void</div><div class="description"><div class="short">Applies a set of default configuration values to this Labelable instance. For each of the
2347 properties in the given obj...</div><div class="long"><p>Applies a set of default configuration values to this Labelable instance. For each of the
2348 properties in the given object, check if this component hasOwnProperty that config; if not
2349 then it's inheriting a default value from its prototype and we should apply the default value.</p>
2350 <h3 class="pa">Parameters</h3><ul><li><span class="pre">defaults</span> : Object<div class="sub-desc"><p>The defaults to apply to the object.</p>
2351 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2352 </li></ul></div></div></div><div id="method-setFieldStyle" class="member inherited"><a href="Ext.form.field.Number.html#method-setFieldStyle" rel="method-setFieldStyle" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-method-setFieldStyle" class="viewSource">view source</a></div><a name="setFieldStyle"></a><a name="method-setFieldStyle"></a><a href="Ext.form.field.Number.html#" rel="method-setFieldStyle" class="cls expand">setFieldStyle</a>(
2353 <span class="pre">String/Object/Function style</span>)
2354  : void</div><div class="description"><div class="short"><p>Set the <a href="Ext.form.field.Number.html#fieldStyle" rel="Ext.form.field.Number#fieldStyle" class="docClass">CSS style</a> of the <a href="Ext.form.field.Number.html#inputEl" rel="Ext.form.field.Number#inputEl" class="docClass">field input element</a>.</p>
2355 </div><div class="long"><p>Set the <a href="Ext.form.field.Number.html#fieldStyle" rel="Ext.form.field.Number#fieldStyle" class="docClass">CSS style</a> of the <a href="Ext.form.field.Number.html#inputEl" rel="Ext.form.field.Number#inputEl" class="docClass">field input element</a>.</p>
2356 <h3 class="pa">Parameters</h3><ul><li><span class="pre">style</span> : String/Object/Function<div class="sub-desc"><p>The style(s) to apply. Should be a valid argument to
2357 <a href="Ext.core.Element.html#applyStyles" rel="Ext.core.Element#applyStyles" class="docClass">Ext.core.Element.applyStyles</a>.</p>
2358 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2359 </li></ul></div></div></div><div id="method-setHeight" class="member inherited"><a href="Ext.form.field.Number.html#method-setHeight" rel="method-setHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setHeight" class="viewSource">view source</a></div><a name="setHeight"></a><a name="method-setHeight"></a><a href="Ext.form.field.Number.html#" rel="method-setHeight" class="cls expand">setHeight</a>(
2360 <span class="pre">Number height</span>)
2361  : Ext.Component</div><div class="description"><div class="short"><p>Sets the height of the component.  This method fires the <a href="Ext.form.field.Number.html#resize" rel="Ext.form.field.Number#resize" class="docClass">resize</a> event.</p>
2362 </div><div class="long"><p>Sets the height of the component.  This method fires the <a href="Ext.form.field.Number.html#resize" rel="Ext.form.field.Number#resize" class="docClass">resize</a> event.</p>
2363 <h3 class="pa">Parameters</h3><ul><li><span class="pre">height</span> : Number<div class="sub-desc"><p>The new height to set. This may be one of:<div class="mdetail-params"><ul>
2364 <li>A Number specifying the new height in the <a href="Ext.form.field.Number.html#getEl" rel="Ext.form.field.Number#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2365 <li>A String used to set the CSS height style.</li>
2366 <li><i>undefined</i> to leave the height unchanged.</li>
2367 </ul></div></p>
2368 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2369 </li></ul></div></div></div><div id="method-setLoading" class="member inherited"><a href="Ext.form.field.Number.html#method-setLoading" rel="method-setLoading" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setLoading" class="viewSource">view source</a></div><a name="setLoading"></a><a name="method-setLoading"></a><a href="Ext.form.field.Number.html#" rel="method-setLoading" class="cls expand">setLoading</a>(
2370 <span class="pre">Boolean/Object/String load, Boolean targetEl</span>)
2371  : Ext.LoadMask</div><div class="description"><div class="short"><p>This method allows you to show or hide a LoadMask on top of this component.</p>
2372 </div><div class="long"><p>This method allows you to show or hide a LoadMask on top of this component.</p>
2373 <h3 class="pa">Parameters</h3><ul><li><span class="pre">load</span> : Boolean/Object/String<div class="sub-desc"><p>True to show the default LoadMask, a config object
2374 that will be passed to the LoadMask constructor, or a message String to show. False to
2375 hide the current LoadMask.</p>
2376 </div></li><li><span class="pre">targetEl</span> : Boolean<div class="sub-desc"><p>True to mask the targetEl of this Component instead of the this.el.
2377 For example, setting this to true on a Panel will cause only the body to be masked. (defaults to false)</p>
2378 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.LoadMask</span>&nbsp; &nbsp;<p>The LoadMask instance that has just been shown.</p>
2379 </li></ul></div></div></div><div id="method-setMaxValue" class="member ni"><a href="Ext.form.field.Number.html#method-setMaxValue" rel="method-setMaxValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-method-setMaxValue" class="viewSource">view source</a></div><a name="setMaxValue"></a><a name="method-setMaxValue"></a><a href="Ext.form.field.Number.html#" rel="method-setMaxValue" class="cls expand">setMaxValue</a>(
2380 <span class="pre">Number value</span>)
2381  : void</div><div class="description"><div class="short"><p>Replaces any existing <a href="Ext.form.field.Number.html#maxValue" rel="Ext.form.field.Number#maxValue" class="docClass">maxValue</a> with the new value.</p>
2382 </div><div class="long"><p>Replaces any existing <a href="Ext.form.field.Number.html#maxValue" rel="Ext.form.field.Number#maxValue" class="docClass">maxValue</a> with the new value.</p>
2383 <h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Number<div class="sub-desc"><p>The maximum value</p>
2384 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2385 </li></ul></div></div></div><div id="method-setMinValue" class="member ni"><a href="Ext.form.field.Number.html#method-setMinValue" rel="method-setMinValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Number.html" class="definedIn docClass">Ext.form.field.Number</a><br/><a href="../source/Number.html#Ext-form.field.Number-method-setMinValue" class="viewSource">view source</a></div><a name="setMinValue"></a><a name="method-setMinValue"></a><a href="Ext.form.field.Number.html#" rel="method-setMinValue" class="cls expand">setMinValue</a>(
2386 <span class="pre">Number value</span>)
2387  : void</div><div class="description"><div class="short"><p>Replaces any existing <a href="Ext.form.field.Number.html#minValue" rel="Ext.form.field.Number#minValue" class="docClass">minValue</a> with the new value.</p>
2388 </div><div class="long"><p>Replaces any existing <a href="Ext.form.field.Number.html#minValue" rel="Ext.form.field.Number#minValue" class="docClass">minValue</a> with the new value.</p>
2389 <h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Number<div class="sub-desc"><p>The minimum value</p>
2390 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2391 </li></ul></div></div></div><div id="method-setPagePosition" class="member inherited"><a href="Ext.form.field.Number.html#method-setPagePosition" rel="method-setPagePosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-setPagePosition" class="viewSource">view source</a></div><a name="setPagePosition"></a><a name="method-setPagePosition"></a><a href="Ext.form.field.Number.html#" rel="method-setPagePosition" class="cls expand">setPagePosition</a>(
2392 <span class="pre">Number x, Number y, Mixed animate</span>)
2393  : Ext.Component</div><div class="description"><div class="short">Sets the page XY position of the component.  To set the left and top instead, use setPosition.
2394 This method fires the ...</div><div class="long"><p>Sets the page XY position of the component.  To set the left and top instead, use <a href="Ext.form.field.Number.html#setPosition" rel="Ext.form.field.Number#setPosition" class="docClass">setPosition</a>.
2395 This method fires the <a href="Ext.form.field.Number.html#move" rel="Ext.form.field.Number#move" class="docClass">move</a> event.</p>
2396 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
2397 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
2398 </div></li><li><span class="pre">animate</span> : Mixed<div class="sub-desc"><p>If passed, the Component is <i>animated</i> into its new position. If this parameter
2399 is a number, it is used as the animation duration in milliseconds.</p>
2400 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2401 </li></ul></div></div></div><div id="method-setPosition" class="member inherited"><a href="Ext.form.field.Number.html#method-setPosition" rel="method-setPosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-setPosition" class="viewSource">view source</a></div><a name="setPosition"></a><a name="method-setPosition"></a><a href="Ext.form.field.Number.html#" rel="method-setPosition" class="cls expand">setPosition</a>(
2402 <span class="pre">Number left, Number top, Mixed animate</span>)
2403  : Ext.Component</div><div class="description"><div class="short">Sets the left and top of the component.  To set the page XY position instead, use setPagePosition.
2404 This method fires ...</div><div class="long"><p>Sets the left and top of the component.  To set the page XY position instead, use <a href="Ext.form.field.Number.html#setPagePosition" rel="Ext.form.field.Number#setPagePosition" class="docClass">setPagePosition</a>.
2405 This method fires the <a href="Ext.form.field.Number.html#move" rel="Ext.form.field.Number#move" class="docClass">move</a> event.</p>
2406 <h3 class="pa">Parameters</h3><ul><li><span class="pre">left</span> : Number<div class="sub-desc"><p>The new left</p>
2407 </div></li><li><span class="pre">top</span> : Number<div class="sub-desc"><p>The new top</p>
2408 </div></li><li><span class="pre">animate</span> : Mixed<div class="sub-desc"><p>If true, the Component is <i>animated</i> into its new position. You may also pass an animation configuration.</p>
2409 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2410 </li></ul></div></div></div><div id="method-setRawValue" class="member inherited"><a href="Ext.form.field.Number.html#method-setRawValue" rel="method-setRawValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-method-setRawValue" class="viewSource">view source</a></div><a name="setRawValue"></a><a name="method-setRawValue"></a><a href="Ext.form.field.Number.html#" rel="method-setRawValue" class="cls expand">setRawValue</a>(
2411 <span class="pre">Mixed value</span>)
2412  : Mixed</div><div class="description"><div class="short">Sets the field's raw value directly, bypassing value conversion, change detection, and
2413 validation. To set the value w...</div><div class="long"><p>Sets the field's raw value directly, bypassing <a href="Ext.form.field.Number.html#valueToRaw" rel="Ext.form.field.Number#valueToRaw" class="docClass">value conversion</a>, change detection, and
2414 validation. To set the value with these additional inspections see <a href="Ext.form.field.Number.html#setValue" rel="Ext.form.field.Number#setValue" class="docClass">setValue</a>.</p>
2415 <h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to set</p>
2416 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>value The field value that is set</p>
2417 </li></ul></div></div></div><div id="method-setReadOnly" class="member inherited"><a href="Ext.form.field.Number.html#method-setReadOnly" rel="method-setReadOnly" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Trigger.html" class="definedIn docClass">Ext.form.field.Trigger</a><br/><a href="../source/Trigger.html#Ext-form.field.Trigger-method-setReadOnly" class="viewSource">view source</a></div><a name="setReadOnly"></a><a name="method-setReadOnly"></a><a href="Ext.form.field.Number.html#" rel="method-setReadOnly" class="cls expand">setReadOnly</a>(
2418 <span class="pre">Boolean readOnly</span>)
2419  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
2420 <h3 class="pa">Parameters</h3><ul><li><span class="pre">readOnly</span> : Boolean<div class="sub-desc"><p>True to prevent the user changing the field and explicitly
2421 hide the trigger.
2422 Setting this to true will superceed settings editable and hideTrigger.
2423 Setting this to false will defer back to editable and hideTrigger. This method
2424 is the runtime equivalent of setting the 'readOnly' config option at config time.</p>
2425 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2426 </li></ul></div></div></div><div id="method-setSize" class="member inherited"><a href="Ext.form.field.Number.html#method-setSize" rel="method-setSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setSize" class="viewSource">view source</a></div><a name="setSize"></a><a name="method-setSize"></a><a href="Ext.form.field.Number.html#" rel="method-setSize" class="cls expand">setSize</a>(
2427 <span class="pre">Mixed width, Mixed height</span>)
2428  : Ext.Component</div><div class="description"><div class="short">Sets the width and height of this Component. This method fires the resize event. This method can accept
2429 either width ...</div><div class="long"><p>Sets the width and height of this Component. This method fires the <a href="Ext.form.field.Number.html#resize" rel="Ext.form.field.Number#resize" class="docClass">resize</a> event. This method can accept
2430 either width and height as separate arguments, or you can pass a size object like <code>{width:10, height:20}</code>.</p>
2431 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Mixed<div class="sub-desc"><p>The new width to set. This may be one of:<div class="mdetail-params"><ul>
2432 <li>A Number specifying the new width in the <a href="Ext.form.field.Number.html#getEl" rel="Ext.form.field.Number#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2433 <li>A String used to set the CSS width style.</li>
2434 <li>A size object in the format <code>{width: widthValue, height: heightValue}</code>.</li>
2435 <li><code>undefined</code> to leave the width unchanged.</li>
2436 </ul></div></p>
2437 </div></li><li><span class="pre">height</span> : Mixed<div class="sub-desc"><p>The new height to set (not required if a size object is passed as the first arg).
2438 This may be one of:<div class="mdetail-params"><ul>
2439 <li>A Number specifying the new height in the <a href="Ext.form.field.Number.html#getEl" rel="Ext.form.field.Number#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2440 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
2441 <li><code>undefined</code> to leave the height unchanged.</li>
2442 </ul></div></p>
2443 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2444 </li></ul></div></div></div><div id="method-setSpinDownEnabled" class="member inherited"><a href="Ext.form.field.Number.html#method-setSpinDownEnabled" rel="method-setSpinDownEnabled" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-method-setSpinDownEnabled" class="viewSource">view source</a></div><a name="setSpinDownEnabled"></a><a name="method-setSpinDownEnabled"></a><a href="Ext.form.field.Number.html#" rel="method-setSpinDownEnabled" class="cls expand">setSpinDownEnabled</a>(
2445 <span class="pre">Boolean enabled</span>)
2446  : void</div><div class="description"><div class="short"><p>Sets whether the spinner down button is enabled.</p>
2447 </div><div class="long"><p>Sets whether the spinner down button is enabled.</p>
2448 <h3 class="pa">Parameters</h3><ul><li><span class="pre">enabled</span> : Boolean<div class="sub-desc"><p>true to enable the button, false to disable it.</p>
2449 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2450 </li></ul></div></div></div><div id="method-setSpinUpEnabled" class="member inherited"><a href="Ext.form.field.Number.html#method-setSpinUpEnabled" rel="method-setSpinUpEnabled" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-method-setSpinUpEnabled" class="viewSource">view source</a></div><a name="setSpinUpEnabled"></a><a name="method-setSpinUpEnabled"></a><a href="Ext.form.field.Number.html#" rel="method-setSpinUpEnabled" class="cls expand">setSpinUpEnabled</a>(
2451 <span class="pre">Boolean enabled</span>)
2452  : void</div><div class="description"><div class="short"><p>Sets whether the spinner up button is enabled.</p>
2453 </div><div class="long"><p>Sets whether the spinner up button is enabled.</p>
2454 <h3 class="pa">Parameters</h3><ul><li><span class="pre">enabled</span> : Boolean<div class="sub-desc"><p>true to enable the button, false to disable it.</p>
2455 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2456 </li></ul></div></div></div><div id="method-setUI" class="member inherited"><a href="Ext.form.field.Number.html#method-setUI" rel="method-setUI" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setUI" class="viewSource">view source</a></div><a name="setUI"></a><a name="method-setUI"></a><a href="Ext.form.field.Number.html#" rel="method-setUI" class="cls expand">setUI</a>(
2457 <span class="pre">String ui</span>)
2458  : void</div><div class="description"><div class="short">Sets the UI for the component. This will remove any existing UIs on the component. It will also
2459 loop through any uiCl...</div><div class="long"><p>Sets the UI for the component. This will remove any existing UIs on the component. It will also
2460 loop through any uiCls set on the component and rename them so they include the new UI</p>
2461 <h3 class="pa">Parameters</h3><ul><li><span class="pre">ui</span> : String<div class="sub-desc"><p>The new UI for the component</p>
2462 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2463 </li></ul></div></div></div><div id="method-setValue" class="member inherited"><a href="Ext.form.field.Number.html#method-setValue" rel="method-setValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-setValue" class="viewSource">view source</a></div><a name="setValue"></a><a name="method-setValue"></a><a href="Ext.form.field.Number.html#" rel="method-setValue" class="cls expand">setValue</a>(
2464 <span class="pre">Mixed value</span>)
2465  : Ext.form.field.Field</div><div class="description"><div class="short"><p>Sets a data value into the field and runs the change detection and validation.</p>
2466 </div><div class="long"><p>Sets a data value into the field and runs the change detection and validation.</p>
2467 <h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to set</p>
2468 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.form.field.Field</span>&nbsp; &nbsp;<p>this</p>
2469 </li></ul></div></div></div><div id="method-setVisible" class="member inherited"><a href="Ext.form.field.Number.html#method-setVisible" rel="method-setVisible" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setVisible" class="viewSource">view source</a></div><a name="setVisible"></a><a name="method-setVisible"></a><a href="Ext.form.field.Number.html#" rel="method-setVisible" class="cls expand">setVisible</a>(
2470 <span class="pre">Boolean visible</span>)
2471  : Ext.Component</div><div class="description"><div class="short"><p>Convenience function to hide or show this component by boolean.</p>
2472 </div><div class="long"><p>Convenience function to hide or show this component by boolean.</p>
2473 <h3 class="pa">Parameters</h3><ul><li><span class="pre">visible</span> : Boolean<div class="sub-desc"><p>True to show, false to hide</p>
2474 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2475 </li></ul></div></div></div><div id="method-setWidth" class="member inherited"><a href="Ext.form.field.Number.html#method-setWidth" rel="method-setWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setWidth" class="viewSource">view source</a></div><a name="setWidth"></a><a name="method-setWidth"></a><a href="Ext.form.field.Number.html#" rel="method-setWidth" class="cls expand">setWidth</a>(
2476 <span class="pre">Number width</span>)
2477  : Ext.Component</div><div class="description"><div class="short"><p>Sets the width of the component.  This method fires the <a href="Ext.form.field.Number.html#resize" rel="Ext.form.field.Number#resize" class="docClass">resize</a> event.</p>
2478 </div><div class="long"><p>Sets the width of the component.  This method fires the <a href="Ext.form.field.Number.html#resize" rel="Ext.form.field.Number#resize" class="docClass">resize</a> event.</p>
2479 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Number<div class="sub-desc"><p>The new width to setThis may be one of:<div class="mdetail-params"><ul>
2480 <li>A Number specifying the new width in the <a href="Ext.form.field.Number.html#getEl" rel="Ext.form.field.Number#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2481 <li>A String used to set the CSS width style.</li>
2482 </ul></div></p>
2483 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2484 </li></ul></div></div></div><div id="method-show" class="member inherited"><a href="Ext.form.field.Number.html#method-show" rel="method-show" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-show" class="viewSource">view source</a></div><a name="show"></a><a name="method-show"></a><a href="Ext.form.field.Number.html#" rel="method-show" class="cls expand">show</a>(
2485 <span class="pre">String/Element animateTarget, [Function callback], [Object scope]</span>)
2486  : Component</div><div class="description"><div class="short">Shows this Component, rendering it first if autoRender or {&quot;floating are true.
2487
2488
2489 After being shown, a floating C...</div><div class="long"><p>Shows this Component, rendering it first if <a href="Ext.form.field.Number.html#autoRender" rel="Ext.form.field.Number#autoRender" class="docClass">autoRender</a> or {<a href="Ext.form.field.Number.html"floating" rel=""floating" class="docClass">&quot;floating</a> are <code>true</code>.</p>
2490
2491
2492 <p>After being shown, a <a href="Ext.form.field.Number.html#floating" rel="Ext.form.field.Number#floating" class="docClass">floating</a> Component (such as a <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Ext.window.Window</a>), is activated it and brought to the front of
2493 its <a href="Ext.form.field.Number.html#ZIndexManager" rel="Ext.form.field.Number#ZIndexManager" class="docClass">z-index stack</a>.</p>
2494
2495 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animateTarget</span> : String/Element<div class="sub-desc"><p>Optional, and <b>only valid for <a href="Ext.form.field.Number.html#floating" rel="Ext.form.field.Number#floating" class="docClass">floating</a> Components such as
2496 <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a>s or <a href="Ext.tip.ToolTip.html" rel="Ext.tip.ToolTip" class="docClass">ToolTip</a>s, or regular Components which have been configured
2497 with <code>floating: true</code>.</b> The target from which the Component should
2498 animate from while opening (defaults to null with no animation)</p>
2499 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>(optional) A callback function to call after the Component is displayed. Only necessary if animation was specified.</p>
2500 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this Component.</p>
2501 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2502 </li></ul></div></div></div><div id="method-spinDown" class="member inherited"><a href="Ext.form.field.Number.html#method-spinDown" rel="method-spinDown" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-method-spinDown" class="viewSource">view source</a></div><a name="spinDown"></a><a name="method-spinDown"></a><a href="Ext.form.field.Number.html#" rel="method-spinDown" class="cls expand">spinDown</a> : void</div><div class="description"><div class="short">Triggers the spinner to step down; fires the spin and spindown events and calls the
2503 onSpinDown method. Does nothing i...</div><div class="long"><p>Triggers the spinner to step down; fires the <a href="Ext.form.field.Number.html#spin" rel="Ext.form.field.Number#spin" class="docClass">spin</a> and <a href="Ext.form.field.Number.html#spindown" rel="Ext.form.field.Number#spindown" class="docClass">spindown</a> events and calls the
2504 <a href="Ext.form.field.Number.html#onSpinDown" rel="Ext.form.field.Number#onSpinDown" class="docClass">onSpinDown</a> method. Does nothing if the field is <a href="Ext.form.field.Number.html#disabled" rel="Ext.form.field.Number#disabled" class="docClass">disabled</a> or if <a href="Ext.form.field.Number.html#spinDownEnabled" rel="Ext.form.field.Number#spinDownEnabled" class="docClass">spinDownEnabled</a>
2505 is false.</p>
2506 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2507 </li></ul></div></div></div><div id="method-spinUp" class="member inherited"><a href="Ext.form.field.Number.html#method-spinUp" rel="method-spinUp" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-method-spinUp" class="viewSource">view source</a></div><a name="spinUp"></a><a name="method-spinUp"></a><a href="Ext.form.field.Number.html#" rel="method-spinUp" class="cls expand">spinUp</a> : void</div><div class="description"><div class="short">Triggers the spinner to step up; fires the spin and spinup events and calls the
2508 onSpinUp method. Does nothing if the ...</div><div class="long"><p>Triggers the spinner to step up; fires the <a href="Ext.form.field.Number.html#spin" rel="Ext.form.field.Number#spin" class="docClass">spin</a> and <a href="Ext.form.field.Number.html#spinup" rel="Ext.form.field.Number#spinup" class="docClass">spinup</a> events and calls the
2509 <a href="Ext.form.field.Number.html#onSpinUp" rel="Ext.form.field.Number#onSpinUp" class="docClass">onSpinUp</a> method. Does nothing if the field is <a href="Ext.form.field.Number.html#disabled" rel="Ext.form.field.Number#disabled" class="docClass">disabled</a> or if <a href="Ext.form.field.Number.html#spinUpEnabled" rel="Ext.form.field.Number#spinUpEnabled" class="docClass">spinUpEnabled</a>
2510 is false.</p>
2511 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2512 </li></ul></div></div></div><div id="method-stopAnimation" class="member inherited"><a href="Ext.form.field.Number.html#method-stopAnimation" rel="method-stopAnimation" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-stopAnimation" class="viewSource">view source</a></div><a name="stopAnimation"></a><a name="method-stopAnimation"></a><a href="Ext.form.field.Number.html#" rel="method-stopAnimation" class="cls expand">stopAnimation</a> : Ext.core.Element</div><div class="description"><div class="short">@deprecated 4.0 Replaced by stopAnimation
2513 Stops any running effects and clears this object's internal effects queue i...</div><div class="long"><p>@deprecated 4.0 Replaced by <a href="Ext.form.field.Number.html#stopAnimation" rel="Ext.form.field.Number#stopAnimation" class="docClass">stopAnimation</a>
2514 Stops any running effects and clears this object's internal effects queue if it contains
2515 any additional effects that haven't started yet.</p>
2516 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2517 </li></ul></div></div></div><div id="method-suspendEvents" class="member inherited"><a href="Ext.form.field.Number.html#method-suspendEvents" rel="method-suspendEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-suspendEvents" class="viewSource">view source</a></div><a name="suspendEvents"></a><a name="method-suspendEvents"></a><a href="Ext.form.field.Number.html#" rel="method-suspendEvents" class="cls expand">suspendEvents</a>(
2518 <span class="pre">Boolean queueSuspended</span>)
2519  : void</div><div class="description"><div class="short"><p>Suspend the firing of all events. (see <a href="Ext.form.field.Number.html#resumeEvents" rel="Ext.form.field.Number#resumeEvents" class="docClass">resumeEvents</a>)</p>
2520 </div><div class="long"><p>Suspend the firing of all events. (see <a href="Ext.form.field.Number.html#resumeEvents" rel="Ext.form.field.Number#resumeEvents" class="docClass">resumeEvents</a>)</p>
2521 <h3 class="pa">Parameters</h3><ul><li><span class="pre">queueSuspended</span> : Boolean<div class="sub-desc"><p>Pass as true to queue up suspended events to be fired
2522 after the <a href="Ext.form.field.Number.html#resumeEvents" rel="Ext.form.field.Number#resumeEvents" class="docClass">resumeEvents</a> call instead of discarding all suspended events;</p>
2523 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2524 </li></ul></div></div></div><div id="method-syncFx" class="member inherited"><a href="Ext.form.field.Number.html#method-syncFx" rel="method-syncFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-syncFx" class="viewSource">view source</a></div><a name="syncFx"></a><a name="method-syncFx"></a><a href="Ext.form.field.Number.html#" rel="method-syncFx" class="cls expand">syncFx</a> : Ext.core.Element</div><div class="description"><div class="short">Ensures that all effects queued after syncFx is called on this object are
2525 run concurrently.  This is the opposite of ...</div><div class="long"><p>Ensures that all effects queued after syncFx is called on this object are
2526 run concurrently.  This is the opposite of <a href="Ext.form.field.Number.html#sequenceFx" rel="Ext.form.field.Number#sequenceFx" class="docClass">sequenceFx</a>.</p>
2527 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2528 </li></ul></div></div></div><div id="method-toBack" class="member inherited"><a href="Ext.form.field.Number.html#method-toBack" rel="method-toBack" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-toBack" class="viewSource">view source</a></div><a name="toBack"></a><a name="method-toBack"></a><a href="Ext.form.field.Number.html#" rel="method-toBack" class="cls expand">toBack</a> : Component</div><div class="description"><div class="short"><p>Sends this Component to the back of (lower z-index than) any other visible windows</p>
2529 </div><div class="long"><p>Sends this Component to the back of (lower z-index than) any other visible windows</p>
2530 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2531 </li></ul></div></div></div><div id="method-toFront" class="member inherited"><a href="Ext.form.field.Number.html#method-toFront" rel="method-toFront" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-toFront" class="viewSource">view source</a></div><a name="toFront"></a><a name="method-toFront"></a><a href="Ext.form.field.Number.html#" rel="method-toFront" class="cls expand">toFront</a>(
2532 <span class="pre">[Boolean preventFocus]</span>)
2533  : Component</div><div class="description"><div class="short">Brings this floating Component to the front of any other visible, floating Components managed by the same ZIndexManag...</div><div class="long"><p>Brings this floating Component to the front of any other visible, floating Components managed by the same <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a></p>
2534
2535
2536 <p>If this Component is modal, inserts the modal mask just below this Component in the z-index stack.</p>
2537
2538 <h3 class="pa">Parameters</h3><ul><li><span class="pre">preventFocus</span> : Boolean<div class="sub-desc"><p>(optional) Specify <code>true</code> to prevent the Component from being focused.</p>
2539 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2540 </li></ul></div></div></div><div id="method-un" class="member inherited"><a href="Ext.form.field.Number.html#method-un" rel="method-un" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-un" class="viewSource">view source</a></div><a name="un"></a><a name="method-un"></a><a href="Ext.form.field.Number.html#" rel="method-un" class="cls expand">un</a>(
2541 <span class="pre">String eventName, Function handler, [Object scope]</span>)
2542  : void</div><div class="description"><div class="short"><p>Removes an event handler (shorthand for <a href="Ext.form.field.Number.html#removeListener" rel="Ext.form.field.Number#removeListener" class="docClass">removeListener</a>.)</p>
2543 </div><div class="long"><p>Removes an event handler (shorthand for <a href="Ext.form.field.Number.html#removeListener" rel="Ext.form.field.Number#removeListener" class="docClass">removeListener</a>.)</p>
2544 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event the handler was associated with.</p>
2545 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The handler to remove. <b>This must be a reference to the function passed into the <a href="Ext.form.field.Number.html#addListener" rel="Ext.form.field.Number#addListener" class="docClass">addListener</a> call.</b></p>
2546 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
2547 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2548 </li></ul></div></div></div><div id="method-unsetActiveError" class="member inherited"><a href="Ext.form.field.Number.html#method-unsetActiveError" rel="method-unsetActiveError" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-method-unsetActiveError" class="viewSource">view source</a></div><a name="unsetActiveError"></a><a name="method-unsetActiveError"></a><a href="Ext.form.field.Number.html#" rel="method-unsetActiveError" class="cls expand">unsetActiveError</a> : void</div><div class="description"><div class="short"><p>Clears the active error.</p>
2549 </div><div class="long"><p>Clears the active error.</p>
2550 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2551 </li></ul></div></div></div><div id="method-up" class="member inherited"><a href="Ext.form.field.Number.html#method-up" rel="method-up" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-up" class="viewSource">view source</a></div><a name="up"></a><a name="method-up"></a><a href="Ext.form.field.Number.html#" rel="method-up" class="cls expand">up</a>(
2552 <span class="pre">String selector</span>)
2553  : Container</div><div class="description"><div class="short">Walks up the ownerCt axis looking for an ancestor Container which matches
2554 the passed simple selector.
2555
2556
2557 Example:
2558 var ...</div><div class="long"><p>Walks up the <code>ownerCt</code> axis looking for an ancestor Container which matches
2559 the passed simple selector.</p>
2560
2561
2562 <p>Example:
2563 <pre><code>var owningTabPanel = grid.up('tabpanel');
2564 </code></pre>
2565
2566 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional. The simple selector to test.</p>
2567 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Container</span>&nbsp; &nbsp;<p>The matching ancestor Container (or <code>undefined</code> if no match was found).</p>
2568 </li></ul></div></div></div><div id="method-update" class="member inherited"><a href="Ext.form.field.Number.html#method-update" rel="method-update" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-update" class="viewSource">view source</a></div><a name="update"></a><a name="method-update"></a><a href="Ext.form.field.Number.html#" rel="method-update" class="cls expand">update</a>(
2569 <span class="pre">Mixed htmlOrData, [Boolean loadScripts], [Function callback]</span>)
2570  : void</div><div class="description"><div class="short"><p>Update the content area of a component.</p>
2571 </div><div class="long"><p>Update the content area of a component.</p>
2572 <h3 class="pa">Parameters</h3><ul><li><span class="pre">htmlOrData</span> : Mixed<div class="sub-desc"><p>If this component has been configured with a template via the tpl config
2573 then it will use this argument as data to populate the template.
2574 If this component was not configured with a template, the components
2575 content area will be updated via <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> update</p>
2576 </div></li><li><span class="pre">loadScripts</span> : Boolean<div class="sub-desc"><p>(optional) Only legitimate when using the html configuration. Defaults to false</p>
2577 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>(optional) Only legitimate when using the html configuration. Callback to execute when scripts have finished loading</p>
2578 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2579 </li></ul></div></div></div><div id="method-updateBox" class="member inherited"><a href="Ext.form.field.Number.html#method-updateBox" rel="method-updateBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-updateBox" class="viewSource">view source</a></div><a name="updateBox"></a><a name="method-updateBox"></a><a href="Ext.form.field.Number.html#" rel="method-updateBox" class="cls expand">updateBox</a>(
2580 <span class="pre">Object box</span>)
2581  : Ext.Component</div><div class="description"><div class="short"><p>Sets the current box measurements of the component's underlying element.</p>
2582 </div><div class="long"><p>Sets the current box measurements of the component's underlying element.</p>
2583 <h3 class="pa">Parameters</h3><ul><li><span class="pre">box</span> : Object<div class="sub-desc"><p>An object in the format {x, y, width, height}</p>
2584 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2585 </li></ul></div></div></div><div id="method-validate" class="member inherited"><a href="Ext.form.field.Number.html#method-validate" rel="method-validate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-method-validate" class="viewSource">view source</a></div><a name="validate"></a><a name="method-validate"></a><a href="Ext.form.field.Number.html#" rel="method-validate" class="cls expand">validate</a> : Boolean</div><div class="description"><div class="short">Returns whether or not the field value is currently valid by validating the
2586 field's current value, and fires the vali...</div><div class="long"><p>Returns whether or not the field value is currently valid by <a href="Ext.form.field.Number.html#getErrors" rel="Ext.form.field.Number#getErrors" class="docClass">validating</a> the
2587 field's current value, and fires the <a href="Ext.form.field.Number.html#validitychange" rel="Ext.form.field.Number#validitychange" class="docClass">validitychange</a> event if the field's validity has
2588 changed since the last validation. <b>Note</b>: <a href="Ext.form.field.Number.html#disabled" rel="Ext.form.field.Number#disabled" class="docClass">disabled</a> fields are always treated as valid.</p>
2589
2590
2591 <p>Custom implementations of this method are allowed to have side-effects such as triggering error
2592 message display. To validate without side-effects, use <a href="Ext.form.field.Number.html#isValid" rel="Ext.form.field.Number#isValid" class="docClass">isValid</a>.</p>
2593
2594 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if the value is valid, else false</p>
2595 </li></ul></div></div></div><div id="method-validateValue" class="member inherited"><a href="Ext.form.field.Number.html#method-validateValue" rel="method-validateValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-method-validateValue" class="viewSource">view source</a></div><a name="validateValue"></a><a name="method-validateValue"></a><a href="Ext.form.field.Number.html#" rel="method-validateValue" class="cls expand">validateValue</a>(
2596 <span class="pre">Mixed value</span>)
2597  : Boolean</div><div class="description"><div class="short">Uses getErrors to build an array of validation errors. If any errors are found, they are passed
2598 to markInvalid and fa...</div><div class="long"><p>Uses <a href="Ext.form.field.Number.html#getErrors" rel="Ext.form.field.Number#getErrors" class="docClass">getErrors</a> to build an array of validation errors. If any errors are found, they are passed
2599 to <a href="Ext.form.field.Number.html#markInvalid" rel="Ext.form.field.Number#markInvalid" class="docClass">markInvalid</a> and false is returned, otherwise true is returned.</p>
2600
2601
2602 <p>Previously, subclasses were invited to provide an implementation of this to process validations - from 3.2
2603 onwards <a href="Ext.form.field.Number.html#getErrors" rel="Ext.form.field.Number#getErrors" class="docClass">getErrors</a> should be overridden instead.</p>
2604
2605 <h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to validate</p>
2606 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if all validations passed, false if one or more failed</p>
2607 </li></ul></div></div></div><div id="method-valueToRaw" class="member inherited"><a href="Ext.form.field.Number.html#method-valueToRaw" rel="method-valueToRaw" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-method-valueToRaw" class="viewSource">view source</a></div><a name="valueToRaw"></a><a name="method-valueToRaw"></a><a href="Ext.form.field.Number.html#" rel="method-valueToRaw" class="cls expand">valueToRaw</a>(
2608 <span class="pre">Mixed value</span>)
2609  : Mixed</div><div class="description"><div class="short">Converts a mixed-type value to a raw representation suitable for displaying in the field. This allows
2610 controlling how...</div><div class="long"><p>Converts a mixed-type value to a raw representation suitable for displaying in the field. This allows
2611 controlling how value objects passed to <a href="Ext.form.field.Number.html#setValue" rel="Ext.form.field.Number#setValue" class="docClass">setValue</a> are shown to the user, including localization.
2612 For instance, for a <a href="Ext.form.field.Date.html" rel="Ext.form.field.Date" class="docClass">Ext.form.field.Date</a>, this would control how a Date object passed to <a href="Ext.form.field.Number.html#setValue" rel="Ext.form.field.Number#setValue" class="docClass">setValue</a>
2613 would be converted to a String for display in the field.</p>
2614
2615
2616 <p>See <a href="Ext.form.field.Number.html#rawToValue" rel="Ext.form.field.Number#rawToValue" class="docClass">rawToValue</a> for the opposite conversion.</p>
2617
2618
2619 <p>The base implementation simply does a standard toString conversion, and converts
2620 <a href="Ext.html#isEmpty" rel="Ext#isEmpty" class="docClass">empty values</a> to an empty string.</p>
2621
2622 <h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The mixed-type value to convert to the raw representation.</p>
2623 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>The converted raw value.</p>
2624 </li></ul></div></div></div></div><div class="m-events"><a name="events"></a><div class="definedBy">Defined By</div><h3 class="evt p">Events</h3><div id="event-activate" class="member f inherited"><a href="Ext.form.field.Number.html#event-activate" rel="event-activate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-activate" class="viewSource">view source</a></div><a name="activate"></a><a name="event-activate"></a><a href="Ext.form.field.Number.html#" rel="event-activate" class="cls expand">activate</a>(
2625 <span class="pre">Ext.Component this</span>)
2626 </div><div class="description"><div class="short"><p>Fires after a Component has been visually activated.</p>
2627 </div><div class="long"><p>Fires after a Component has been visually activated.</p>
2628 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2629 </div></li></ul></div></div></div><div id="event-added" class="member inherited"><a href="Ext.form.field.Number.html#event-added" rel="event-added" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-added" class="viewSource">view source</a></div><a name="added"></a><a name="event-added"></a><a href="Ext.form.field.Number.html#" rel="event-added" class="cls expand">added</a>(
2630 <span class="pre">Ext.Component this, Ext.container.Container container, Number pos</span>)
2631 </div><div class="description"><div class="short"><p>Fires after a Component had been added to a Container.</p>
2632 </div><div class="long"><p>Fires after a Component had been added to a Container.</p>
2633 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2634 </div></li><li><span class="pre">container</span> : Ext.container.Container<div class="sub-desc"><p>Parent Container</p>
2635 </div></li><li><span class="pre">pos</span> : Number<div class="sub-desc"><p>position of Component</p>
2636 </div></li></ul></div></div></div><div id="event-afterrender" class="member inherited"><a href="Ext.form.field.Number.html#event-afterrender" rel="event-afterrender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-afterrender" class="viewSource">view source</a></div><a name="afterrender"></a><a name="event-afterrender"></a><a href="Ext.form.field.Number.html#" rel="event-afterrender" class="cls expand">afterrender</a>(
2637 <span class="pre">Ext.Component this</span>)
2638 </div><div class="description"><div class="short">Fires after the component rendering is finished.
2639
2640
2641 The afterrender event is fired after this Component has been rende...</div><div class="long"><p>Fires after the component rendering is finished.</p>
2642
2643
2644 <p>The afterrender event is fired after this Component has been <a href="Ext.form.field.Number.html#rendered" rel="Ext.form.field.Number#rendered" class="docClass">rendered</a>, been postprocesed
2645 by any afterRender method defined for the Component.</p>
2646
2647 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2648 </div></li></ul></div></div></div><div id="event-autosize" class="member inherited"><a href="Ext.form.field.Number.html#event-autosize" rel="event-autosize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-event-autosize" class="viewSource">view source</a></div><a name="autosize"></a><a name="event-autosize"></a><a href="Ext.form.field.Number.html#" rel="event-autosize" class="cls expand">autosize</a>(
2649 <span class="pre">Ext.form.field.Text this, Number width</span>)
2650 </div><div class="description"><div class="short">Fires when the autoSize function is triggered and the field is
2651 resized according to the grow/growMin/growMax configs ...</div><div class="long"><p>Fires when the <tt><b><a href="Ext.form.field.Number.html#autoSize" rel="Ext.form.field.Number#autoSize" class="docClass">autoSize</a></b></tt> function is triggered and the field is
2652 resized according to the <a href="Ext.form.field.Number.html#grow" rel="Ext.form.field.Number#grow" class="docClass">grow</a>/<a href="Ext.form.field.Number.html#growMin" rel="Ext.form.field.Number#growMin" class="docClass">growMin</a>/<a href="Ext.form.field.Number.html#growMax" rel="Ext.form.field.Number#growMax" class="docClass">growMax</a> configs as a result.
2653 This event provides a hook for the developer to apply additional logic at runtime to resize the
2654 field if needed.</p>
2655 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.field.Text<div class="sub-desc"><p>This text field</p>
2656 </div></li><li><span class="pre">width</span> : Number<div class="sub-desc"><p>The new field width</p>
2657 </div></li></ul></div></div></div><div id="event-beforeactivate" class="member inherited"><a href="Ext.form.field.Number.html#event-beforeactivate" rel="event-beforeactivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforeactivate" class="viewSource">view source</a></div><a name="beforeactivate"></a><a name="event-beforeactivate"></a><a href="Ext.form.field.Number.html#" rel="event-beforeactivate" class="cls expand">beforeactivate</a>(
2658 <span class="pre">Ext.Component this</span>)
2659 </div><div class="description"><div class="short">Fires before a Component has been visually activated.
2660 Returning false from an event listener can prevent the activate...</div><div class="long"><p>Fires before a Component has been visually activated.
2661 Returning false from an event listener can prevent the activate
2662 from occurring.</p>
2663 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2664 </div></li></ul></div></div></div><div id="event-beforedeactivate" class="member inherited"><a href="Ext.form.field.Number.html#event-beforedeactivate" rel="event-beforedeactivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforedeactivate" class="viewSource">view source</a></div><a name="beforedeactivate"></a><a name="event-beforedeactivate"></a><a href="Ext.form.field.Number.html#" rel="event-beforedeactivate" class="cls expand">beforedeactivate</a>(
2665 <span class="pre">Ext.Component this</span>)
2666 </div><div class="description"><div class="short">Fires before a Component has been visually deactivated.
2667 Returning false from an event listener can prevent the deacti...</div><div class="long"><p>Fires before a Component has been visually deactivated.
2668 Returning false from an event listener can prevent the deactivate
2669 from occurring.</p>
2670 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2671 </div></li></ul></div></div></div><div id="event-beforedestroy" class="member inherited"><a href="Ext.form.field.Number.html#event-beforedestroy" rel="event-beforedestroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforedestroy" class="viewSource">view source</a></div><a name="beforedestroy"></a><a name="event-beforedestroy"></a><a href="Ext.form.field.Number.html#" rel="event-beforedestroy" class="cls expand">beforedestroy</a>(
2672 <span class="pre">Ext.Component this</span>)
2673 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.form.field.Number.html#destroy" rel="Ext.form.field.Number#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.form.field.Number.html#destroy" rel="Ext.form.field.Number#destroy" class="docClass">destroy</a>.</p>
2674 </div><div class="long"><p>Fires before the component is <a href="Ext.form.field.Number.html#destroy" rel="Ext.form.field.Number#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.form.field.Number.html#destroy" rel="Ext.form.field.Number#destroy" class="docClass">destroy</a>.</p>
2675 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2676 </div></li></ul></div></div></div><div id="event-beforehide" class="member inherited"><a href="Ext.form.field.Number.html#event-beforehide" rel="event-beforehide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforehide" class="viewSource">view source</a></div><a name="beforehide"></a><a name="event-beforehide"></a><a href="Ext.form.field.Number.html#" rel="event-beforehide" class="cls expand">beforehide</a>(
2677 <span class="pre">Ext.Component this</span>)
2678 </div><div class="description"><div class="short"><p>Fires before the component is hidden when calling the <a href="Ext.form.field.Number.html#hide" rel="Ext.form.field.Number#hide" class="docClass">hide</a> method.
2679 Return false from an event handler to stop the hide.</p>
2680 </div><div class="long"><p>Fires before the component is hidden when calling the <a href="Ext.form.field.Number.html#hide" rel="Ext.form.field.Number#hide" class="docClass">hide</a> method.
2681 Return false from an event handler to stop the hide.</p>
2682 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2683 </div></li></ul></div></div></div><div id="event-beforerender" class="member inherited"><a href="Ext.form.field.Number.html#event-beforerender" rel="event-beforerender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforerender" class="viewSource">view source</a></div><a name="beforerender"></a><a name="event-beforerender"></a><a href="Ext.form.field.Number.html#" rel="event-beforerender" class="cls expand">beforerender</a>(
2684 <span class="pre">Ext.Component this</span>)
2685 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.form.field.Number.html#rendered" rel="Ext.form.field.Number#rendered" class="docClass">rendered</a>. Return false from an
2686 event handler to stop the <a href="Ext.form.field.Number.html#render" rel="Ext.form.field.Number#render" class="docClass">render</a>.</p>
2687 </div><div class="long"><p>Fires before the component is <a href="Ext.form.field.Number.html#rendered" rel="Ext.form.field.Number#rendered" class="docClass">rendered</a>. Return false from an
2688 event handler to stop the <a href="Ext.form.field.Number.html#render" rel="Ext.form.field.Number#render" class="docClass">render</a>.</p>
2689 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2690 </div></li></ul></div></div></div><div id="event-beforeshow" class="member inherited"><a href="Ext.form.field.Number.html#event-beforeshow" rel="event-beforeshow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforeshow" class="viewSource">view source</a></div><a name="beforeshow"></a><a name="event-beforeshow"></a><a href="Ext.form.field.Number.html#" rel="event-beforeshow" class="cls expand">beforeshow</a>(
2691 <span class="pre">Ext.Component this</span>)
2692 </div><div class="description"><div class="short"><p>Fires before the component is shown when calling the <a href="Ext.form.field.Number.html#show" rel="Ext.form.field.Number#show" class="docClass">show</a> method.
2693 Return false from an event handler to stop the show.</p>
2694 </div><div class="long"><p>Fires before the component is shown when calling the <a href="Ext.form.field.Number.html#show" rel="Ext.form.field.Number#show" class="docClass">show</a> method.
2695 Return false from an event handler to stop the show.</p>
2696 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2697 </div></li></ul></div></div></div><div id="event-beforestaterestore" class="member inherited"><a href="Ext.form.field.Number.html#event-beforestaterestore" rel="event-beforestaterestore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-beforestaterestore" class="viewSource">view source</a></div><a name="beforestaterestore"></a><a name="event-beforestaterestore"></a><a href="Ext.form.field.Number.html#" rel="event-beforestaterestore" class="cls expand">beforestaterestore</a>(
2698 <span class="pre">Ext.state.Stateful this, Object state</span>)
2699 </div><div class="description"><div class="short"><p>Fires before the state of the object is restored. Return false from an event handler to stop the restore.</p>
2700 </div><div class="long"><p>Fires before the state of the object is restored. Return false from an event handler to stop the restore.</p>
2701 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2702 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values returned from the StateProvider. If this
2703 event is not vetoed, then the state object is passed to <b><tt>applyState</tt></b>. By default,
2704 that simply copies property values into this object. The method maybe overriden to
2705 provide custom state restoration.</p>
2706 </div></li></ul></div></div></div><div id="event-beforestatesave" class="member inherited"><a href="Ext.form.field.Number.html#event-beforestatesave" rel="event-beforestatesave" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-beforestatesave" class="viewSource">view source</a></div><a name="beforestatesave"></a><a name="event-beforestatesave"></a><a href="Ext.form.field.Number.html#" rel="event-beforestatesave" class="cls expand">beforestatesave</a>(
2707 <span class="pre">Ext.state.Stateful this, Object state</span>)
2708 </div><div class="description"><div class="short"><p>Fires before the state of the object is saved to the configured state provider. Return false to stop the save.</p>
2709 </div><div class="long"><p>Fires before the state of the object is saved to the configured state provider. Return false to stop the save.</p>
2710 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2711 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
2712 <b><tt>getState()</tt></b> on the object. This method must be provided by the
2713 developer to return whetever representation of state is required, by default, <a href="Ext.state.Stateful.html" rel="Ext.state.Stateful" class="docClass">Ext.state.Stateful</a>
2714 has a null implementation.</p>
2715 </div></li></ul></div></div></div><div id="event-blur" class="member inherited"><a href="Ext.form.field.Number.html#event-blur" rel="event-blur" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-event-blur" class="viewSource">view source</a></div><a name="blur"></a><a name="event-blur"></a><a href="Ext.form.field.Number.html#" rel="event-blur" class="cls expand">blur</a>(
2716 <span class="pre">Ext.form.field.Base this</span>)
2717 </div><div class="description"><div class="short"><p>Fires when this field loses input focus.</p>
2718 </div><div class="long"><p>Fires when this field loses input focus.</p>
2719 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.field.Base<div class="sub-desc">
2720 </div></li></ul></div></div></div><div id="event-change" class="member inherited"><a href="Ext.form.field.Number.html#event-change" rel="event-change" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-event-change" class="viewSource">view source</a></div><a name="change"></a><a name="event-change"></a><a href="Ext.form.field.Number.html#" rel="event-change" class="cls expand">change</a>(
2721 <span class="pre">Ext.form.field.Field this, Mixed newValue, Mixed oldValue</span>)
2722 </div><div class="description"><div class="short"><p>Fires when a user-initiated change is detected in the value of the field.</p>
2723 </div><div class="long"><p>Fires when a user-initiated change is detected in the value of the field.</p>
2724 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.field.Field<div class="sub-desc">
2725 </div></li><li><span class="pre">newValue</span> : Mixed<div class="sub-desc"><p>The new value</p>
2726 </div></li><li><span class="pre">oldValue</span> : Mixed<div class="sub-desc"><p>The original value</p>
2727 </div></li></ul></div></div></div><div id="event-deactivate" class="member inherited"><a href="Ext.form.field.Number.html#event-deactivate" rel="event-deactivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-deactivate" class="viewSource">view source</a></div><a name="deactivate"></a><a name="event-deactivate"></a><a href="Ext.form.field.Number.html#" rel="event-deactivate" class="cls expand">deactivate</a>(
2728 <span class="pre">Ext.Component this</span>)
2729 </div><div class="description"><div class="short"><p>Fires after a Component has been visually deactivated.</p>
2730 </div><div class="long"><p>Fires after a Component has been visually deactivated.</p>
2731 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2732 </div></li></ul></div></div></div><div id="event-destroy" class="member inherited"><a href="Ext.form.field.Number.html#event-destroy" rel="event-destroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-destroy" class="viewSource">view source</a></div><a name="destroy"></a><a name="event-destroy"></a><a href="Ext.form.field.Number.html#" rel="event-destroy" class="cls expand">destroy</a>(
2733 <span class="pre">Ext.Component this</span>)
2734 </div><div class="description"><div class="short"><p>Fires after the component is <a href="Ext.form.field.Number.html#destroy" rel="Ext.form.field.Number#destroy" class="docClass">destroy</a>ed.</p>
2735 </div><div class="long"><p>Fires after the component is <a href="Ext.form.field.Number.html#destroy" rel="Ext.form.field.Number#destroy" class="docClass">destroy</a>ed.</p>
2736 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2737 </div></li></ul></div></div></div><div id="event-dirtychange" class="member inherited"><a href="Ext.form.field.Number.html#event-dirtychange" rel="event-dirtychange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-event-dirtychange" class="viewSource">view source</a></div><a name="dirtychange"></a><a name="event-dirtychange"></a><a href="Ext.form.field.Number.html#" rel="event-dirtychange" class="cls expand">dirtychange</a>(
2738 <span class="pre">Ext.form.field.Field this, Boolean isDirty</span>)
2739 </div><div class="description"><div class="short"><p>Fires when a change in the field's <a href="Ext.form.field.Number.html#isDirty" rel="Ext.form.field.Number#isDirty" class="docClass">isDirty</a> state is detected.</p>
2740 </div><div class="long"><p>Fires when a change in the field's <a href="Ext.form.field.Number.html#isDirty" rel="Ext.form.field.Number#isDirty" class="docClass">isDirty</a> state is detected.</p>
2741 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.field.Field<div class="sub-desc">
2742 </div></li><li><span class="pre">isDirty</span> : Boolean<div class="sub-desc"><p>Whether or not the field is now dirty</p>
2743 </div></li></ul></div></div></div><div id="event-disable" class="member inherited"><a href="Ext.form.field.Number.html#event-disable" rel="event-disable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-disable" class="viewSource">view source</a></div><a name="disable"></a><a name="event-disable"></a><a href="Ext.form.field.Number.html#" rel="event-disable" class="cls expand">disable</a>(
2744 <span class="pre">Ext.Component this</span>)
2745 </div><div class="description"><div class="short"><p>Fires after the component is disabled.</p>
2746 </div><div class="long"><p>Fires after the component is disabled.</p>
2747 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2748 </div></li></ul></div></div></div><div id="event-enable" class="member inherited"><a href="Ext.form.field.Number.html#event-enable" rel="event-enable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-enable" class="viewSource">view source</a></div><a name="enable"></a><a name="event-enable"></a><a href="Ext.form.field.Number.html#" rel="event-enable" class="cls expand">enable</a>(
2749 <span class="pre">Ext.Component this</span>)
2750 </div><div class="description"><div class="short"><p>Fires after the component is enabled.</p>
2751 </div><div class="long"><p>Fires after the component is enabled.</p>
2752 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2753 </div></li></ul></div></div></div><div id="event-errorchange" class="member inherited"><a href="Ext.form.field.Number.html#event-errorchange" rel="event-errorchange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.Labelable.html" class="definedIn docClass">Ext.form.Labelable</a><br/><a href="../source/Labelable.html#Ext-form.Labelable-event-errorchange" class="viewSource">view source</a></div><a name="errorchange"></a><a name="event-errorchange"></a><a href="Ext.form.field.Number.html#" rel="event-errorchange" class="cls expand">errorchange</a>(
2754 <span class="pre">Ext.form.Labelable this, String error</span>)
2755 </div><div class="description"><div class="short"><p>Fires when the active error message is changed via <a href="Ext.form.field.Number.html#setActiveError" rel="Ext.form.field.Number#setActiveError" class="docClass">setActiveError</a>.</p>
2756 </div><div class="long"><p>Fires when the active error message is changed via <a href="Ext.form.field.Number.html#setActiveError" rel="Ext.form.field.Number#setActiveError" class="docClass">setActiveError</a>.</p>
2757 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.Labelable<div class="sub-desc">
2758 </div></li><li><span class="pre">error</span> : String<div class="sub-desc"><p>The active error message</p>
2759 </div></li></ul></div></div></div><div id="event-focus" class="member inherited"><a href="Ext.form.field.Number.html#event-focus" rel="event-focus" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-event-focus" class="viewSource">view source</a></div><a name="focus"></a><a name="event-focus"></a><a href="Ext.form.field.Number.html#" rel="event-focus" class="cls expand">focus</a>(
2760 <span class="pre">Ext.form.field.Base this</span>)
2761 </div><div class="description"><div class="short"><p>Fires when this field receives input focus.</p>
2762 </div><div class="long"><p>Fires when this field receives input focus.</p>
2763 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.field.Base<div class="sub-desc">
2764 </div></li></ul></div></div></div><div id="event-hide" class="member inherited"><a href="Ext.form.field.Number.html#event-hide" rel="event-hide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-hide" class="viewSource">view source</a></div><a name="hide"></a><a name="event-hide"></a><a href="Ext.form.field.Number.html#" rel="event-hide" class="cls expand">hide</a>(
2765 <span class="pre">Ext.Component this</span>)
2766 </div><div class="description"><div class="short"><p>Fires after the component is hidden.
2767 Fires after the component is hidden when calling the <a href="Ext.form.field.Number.html#hide" rel="Ext.form.field.Number#hide" class="docClass">hide</a> method.</p>
2768 </div><div class="long"><p>Fires after the component is hidden.
2769 Fires after the component is hidden when calling the <a href="Ext.form.field.Number.html#hide" rel="Ext.form.field.Number#hide" class="docClass">hide</a> method.</p>
2770 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2771 </div></li></ul></div></div></div><div id="event-keydown" class="member inherited"><a href="Ext.form.field.Number.html#event-keydown" rel="event-keydown" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-event-keydown" class="viewSource">view source</a></div><a name="keydown"></a><a name="event-keydown"></a><a href="Ext.form.field.Number.html#" rel="event-keydown" class="cls expand">keydown</a>(
2772 <span class="pre">Ext.form.field.Text this, Ext.EventObject e</span>)
2773 </div><div class="description"><div class="short"><p>Keydown input field event. This event only fires if <tt><b><a href="Ext.form.field.Number.html#enableKeyEvents" rel="Ext.form.field.Number#enableKeyEvents" class="docClass">enableKeyEvents</a></b></tt>
2774 is set to true.</p>
2775 </div><div class="long"><p>Keydown input field event. This event only fires if <tt><b><a href="Ext.form.field.Number.html#enableKeyEvents" rel="Ext.form.field.Number#enableKeyEvents" class="docClass">enableKeyEvents</a></b></tt>
2776 is set to true.</p>
2777 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.field.Text<div class="sub-desc"><p>This text field</p>
2778 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc">
2779 </div></li></ul></div></div></div><div id="event-keypress" class="member inherited"><a href="Ext.form.field.Number.html#event-keypress" rel="event-keypress" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-event-keypress" class="viewSource">view source</a></div><a name="keypress"></a><a name="event-keypress"></a><a href="Ext.form.field.Number.html#" rel="event-keypress" class="cls expand">keypress</a>(
2780 <span class="pre">Ext.form.field.Text this, Ext.EventObject e</span>)
2781 </div><div class="description"><div class="short"><p>Keypress input field event. This event only fires if <tt><b><a href="Ext.form.field.Number.html#enableKeyEvents" rel="Ext.form.field.Number#enableKeyEvents" class="docClass">enableKeyEvents</a></b></tt>
2782 is set to true.</p>
2783 </div><div class="long"><p>Keypress input field event. This event only fires if <tt><b><a href="Ext.form.field.Number.html#enableKeyEvents" rel="Ext.form.field.Number#enableKeyEvents" class="docClass">enableKeyEvents</a></b></tt>
2784 is set to true.</p>
2785 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.field.Text<div class="sub-desc"><p>This text field</p>
2786 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc">
2787 </div></li></ul></div></div></div><div id="event-keyup" class="member inherited"><a href="Ext.form.field.Number.html#event-keyup" rel="event-keyup" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Text.html" class="definedIn docClass">Ext.form.field.Text</a><br/><a href="../source/Text.html#Ext-form.field.Text-event-keyup" class="viewSource">view source</a></div><a name="keyup"></a><a name="event-keyup"></a><a href="Ext.form.field.Number.html#" rel="event-keyup" class="cls expand">keyup</a>(
2788 <span class="pre">Ext.form.field.Text this, Ext.EventObject e</span>)
2789 </div><div class="description"><div class="short"><p>Keyup input field event. This event only fires if <tt><b><a href="Ext.form.field.Number.html#enableKeyEvents" rel="Ext.form.field.Number#enableKeyEvents" class="docClass">enableKeyEvents</a></b></tt>
2790 is set to true.</p>
2791 </div><div class="long"><p>Keyup input field event. This event only fires if <tt><b><a href="Ext.form.field.Number.html#enableKeyEvents" rel="Ext.form.field.Number#enableKeyEvents" class="docClass">enableKeyEvents</a></b></tt>
2792 is set to true.</p>
2793 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.field.Text<div class="sub-desc"><p>This text field</p>
2794 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc">
2795 </div></li></ul></div></div></div><div id="event-move" class="member inherited"><a href="Ext.form.field.Number.html#event-move" rel="event-move" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-move" class="viewSource">view source</a></div><a name="move"></a><a name="event-move"></a><a href="Ext.form.field.Number.html#" rel="event-move" class="cls expand">move</a>(
2796 <span class="pre">Ext.Component this, Number x, Number y</span>)
2797 </div><div class="description"><div class="short"><p>Fires after the component is moved.</p>
2798 </div><div class="long"><p>Fires after the component is moved.</p>
2799 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2800 </div></li><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
2801 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
2802 </div></li></ul></div></div></div><div id="event-removed" class="member inherited"><a href="Ext.form.field.Number.html#event-removed" rel="event-removed" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-removed" class="viewSource">view source</a></div><a name="removed"></a><a name="event-removed"></a><a href="Ext.form.field.Number.html#" rel="event-removed" class="cls expand">removed</a>(
2803 <span class="pre">Ext.Component this, Ext.container.Container ownerCt</span>)
2804 </div><div class="description"><div class="short"><p>Fires when a component is removed from an Ext.container.Container</p>
2805 </div><div class="long"><p>Fires when a component is removed from an Ext.container.Container</p>
2806 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2807 </div></li><li><span class="pre">ownerCt</span> : Ext.container.Container<div class="sub-desc"><p>Container which holds the component</p>
2808 </div></li></ul></div></div></div><div id="event-render" class="member inherited"><a href="Ext.form.field.Number.html#event-render" rel="event-render" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-render" class="viewSource">view source</a></div><a name="render"></a><a name="event-render"></a><a href="Ext.form.field.Number.html#" rel="event-render" class="cls expand">render</a>(
2809 <span class="pre">Ext.Component this</span>)
2810 </div><div class="description"><div class="short"><p>Fires after the component markup is <a href="Ext.form.field.Number.html#rendered" rel="Ext.form.field.Number#rendered" class="docClass">rendered</a>.</p>
2811 </div><div class="long"><p>Fires after the component markup is <a href="Ext.form.field.Number.html#rendered" rel="Ext.form.field.Number#rendered" class="docClass">rendered</a>.</p>
2812 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2813 </div></li></ul></div></div></div><div id="event-resize" class="member inherited"><a href="Ext.form.field.Number.html#event-resize" rel="event-resize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-resize" class="viewSource">view source</a></div><a name="resize"></a><a name="event-resize"></a><a href="Ext.form.field.Number.html#" rel="event-resize" class="cls expand">resize</a>(
2814 <span class="pre">Ext.Component this, Number adjWidth, Number adjHeight</span>)
2815 </div><div class="description"><div class="short"><p>Fires after the component is resized.</p>
2816 </div><div class="long"><p>Fires after the component is resized.</p>
2817 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2818 </div></li><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
2819 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
2820 </div></li></ul></div></div></div><div id="event-show" class="member inherited"><a href="Ext.form.field.Number.html#event-show" rel="event-show" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-show" class="viewSource">view source</a></div><a name="show"></a><a name="event-show"></a><a href="Ext.form.field.Number.html#" rel="event-show" class="cls expand">show</a>(
2821 <span class="pre">Ext.Component this</span>)
2822 </div><div class="description"><div class="short"><p>Fires after the component is shown when calling the <a href="Ext.form.field.Number.html#show" rel="Ext.form.field.Number#show" class="docClass">show</a> method.</p>
2823 </div><div class="long"><p>Fires after the component is shown when calling the <a href="Ext.form.field.Number.html#show" rel="Ext.form.field.Number#show" class="docClass">show</a> method.</p>
2824 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2825 </div></li></ul></div></div></div><div id="event-specialkey" class="member inherited"><a href="Ext.form.field.Number.html#event-specialkey" rel="event-specialkey" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Base.html" class="definedIn docClass">Ext.form.field.Base</a><br/><a href="../source/Base.html#Ext-form.field.Base-event-specialkey" class="viewSource">view source</a></div><a name="specialkey"></a><a name="event-specialkey"></a><a href="Ext.form.field.Number.html#" rel="event-specialkey" class="cls expand">specialkey</a>(
2826 <span class="pre">Ext.form.field.Base this, Ext.EventObject e</span>)
2827 </div><div class="description"><div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.
2828 To handle other keys see Ext.pan...</div><div class="long"><p>Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.
2829 To handle other keys see <a href="Ext.panel.Panel.html#keys" rel="Ext.panel.Panel#keys" class="docClass">Ext.panel.Panel.keys</a> or <a href="Ext.util.KeyMap.html" rel="Ext.util.KeyMap" class="docClass">Ext.util.KeyMap</a>.
2830 You can check <a href="Ext.EventObject.html#getKey" rel="Ext.EventObject#getKey" class="docClass">Ext.EventObject.getKey</a> to determine which key was pressed.
2831 For example:</p>
2832
2833 <pre><code>var form = new Ext.form.Panel({
2834     ...
2835     items: [{
2836             fieldLabel: 'Field 1',
2837             name: 'field1',
2838             allowBlank: false
2839         },{
2840             fieldLabel: 'Field 2',
2841             name: 'field2',
2842             listeners: {
2843                 specialkey: function(field, e){
2844                     // e.HOME, e.END, e.PAGE_UP, e.PAGE_DOWN,
2845                     // e.TAB, e.ESC, arrow keys: e.LEFT, e.RIGHT, e.UP, e.DOWN
2846                     if (e.<a href="Ext.EventObject.html#getKey" rel="Ext.EventObject#getKey" class="docClass">getKey()</a> == e.ENTER) {
2847                         var form = field.up('form').getForm();
2848                         form.submit();
2849                     }
2850                 }
2851             }
2852         }
2853     ],
2854     ...
2855 });
2856 </code></pre>
2857
2858 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.field.Base<div class="sub-desc">
2859 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The event object</p>
2860 </div></li></ul></div></div></div><div id="event-spin" class="member inherited"><a href="Ext.form.field.Number.html#event-spin" rel="event-spin" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-event-spin" class="viewSource">view source</a></div><a name="spin"></a><a name="event-spin"></a><a href="Ext.form.field.Number.html#" rel="event-spin" class="cls expand">spin</a>(
2861 <span class="pre">Ext.form.field.Spinner this, String direction</span>)
2862 </div><div class="description"><div class="short"><p>Fires when the spinner is made to spin up or down.</p>
2863 </div><div class="long"><p>Fires when the spinner is made to spin up or down.</p>
2864 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.field.Spinner<div class="sub-desc">
2865 </div></li><li><span class="pre">direction</span> : String<div class="sub-desc"><p>Either 'up' if spinning up, or 'down' if spinning down.</p>
2866 </div></li></ul></div></div></div><div id="event-spindown" class="member inherited"><a href="Ext.form.field.Number.html#event-spindown" rel="event-spindown" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-event-spindown" class="viewSource">view source</a></div><a name="spindown"></a><a name="event-spindown"></a><a href="Ext.form.field.Number.html#" rel="event-spindown" class="cls expand">spindown</a>(
2867 <span class="pre">Ext.form.field.Spinner this</span>)
2868 </div><div class="description"><div class="short"><p>Fires when the spinner is made to spin down.</p>
2869 </div><div class="long"><p>Fires when the spinner is made to spin down.</p>
2870 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.field.Spinner<div class="sub-desc">
2871 </div></li></ul></div></div></div><div id="event-spinup" class="member inherited"><a href="Ext.form.field.Number.html#event-spinup" rel="event-spinup" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Spinner.html" class="definedIn docClass">Ext.form.field.Spinner</a><br/><a href="../source/Spinner.html#Ext-form.field.Spinner-event-spinup" class="viewSource">view source</a></div><a name="spinup"></a><a name="event-spinup"></a><a href="Ext.form.field.Number.html#" rel="event-spinup" class="cls expand">spinup</a>(
2872 <span class="pre">Ext.form.field.Spinner this</span>)
2873 </div><div class="description"><div class="short"><p>Fires when the spinner is made to spin up.</p>
2874 </div><div class="long"><p>Fires when the spinner is made to spin up.</p>
2875 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.field.Spinner<div class="sub-desc">
2876 </div></li></ul></div></div></div><div id="event-staterestore" class="member inherited"><a href="Ext.form.field.Number.html#event-staterestore" rel="event-staterestore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-staterestore" class="viewSource">view source</a></div><a name="staterestore"></a><a name="event-staterestore"></a><a href="Ext.form.field.Number.html#" rel="event-staterestore" class="cls expand">staterestore</a>(
2877 <span class="pre">Ext.state.Stateful this, Object state</span>)
2878 </div><div class="description"><div class="short"><p>Fires after the state of the object is restored.</p>
2879 </div><div class="long"><p>Fires after the state of the object is restored.</p>
2880 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2881 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values returned from the StateProvider. This is passed
2882 to <b><tt>applyState</tt></b>. By default, that simply copies property values into this
2883 object. The method maybe overriden to provide custom state restoration.</p>
2884 </div></li></ul></div></div></div><div id="event-statesave" class="member inherited"><a href="Ext.form.field.Number.html#event-statesave" rel="event-statesave" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-statesave" class="viewSource">view source</a></div><a name="statesave"></a><a name="event-statesave"></a><a href="Ext.form.field.Number.html#" rel="event-statesave" class="cls expand">statesave</a>(
2885 <span class="pre">Ext.state.Stateful this, Object state</span>)
2886 </div><div class="description"><div class="short"><p>Fires after the state of the object is saved to the configured state provider.</p>
2887 </div><div class="long"><p>Fires after the state of the object is saved to the configured state provider.</p>
2888 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2889 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
2890 <b><tt>getState()</tt></b> on the object. This method must be provided by the
2891 developer to return whetever representation of state is required, by default, <a href="Ext.state.Stateful.html" rel="Ext.state.Stateful" class="docClass">Ext.state.Stateful</a>
2892 has a null implementation.</p>
2893 </div></li></ul></div></div></div><div id="event-validitychange" class="member inherited"><a href="Ext.form.field.Number.html#event-validitychange" rel="event-validitychange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.form.field.Field.html" class="definedIn docClass">Ext.form.field.Field</a><br/><a href="../source/Field.html#Ext-form.field.Field-event-validitychange" class="viewSource">view source</a></div><a name="validitychange"></a><a name="event-validitychange"></a><a href="Ext.form.field.Number.html#" rel="event-validitychange" class="cls expand">validitychange</a>(
2894 <span class="pre">Ext.form.field.Field this, Boolean isValid</span>)
2895 </div><div class="description"><div class="short"><p>Fires when a change in the field's validity is detected.</p>
2896 </div><div class="long"><p>Fires when a change in the field's validity is detected.</p>
2897 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.form.field.Field<div class="sub-desc">
2898 </div></li><li><span class="pre">isValid</span> : Boolean<div class="sub-desc"><p>Whether or not the field is now valid</p>
2899 </div></li></ul></div></div></div></div></div></div></div><div id="pageContent"></div></div></div></div></body></html>