class type t =Inheritsobject
..end
method afterComponentLayout : 'a 'b. Js.number Js.t -> Js.number Js.t -> 'a Js.t -> 'b Js.t -> unit Js.meth
Called by the layout system after the Component has been laid out.
Parameters:
Js.number Js.t
The width that was set
Js.number Js.t
The height that was set
_ Js.t
The old width, or undefined
if this was the initial layout.
_ Js.t
The old height, or undefined
if this was the initial layout.
method afterRender : unit Js.meth
Allows addition of behavior after rendering is complete. At this stage the Component’s Element will have been styled according to the configuration, will have had any configured CSS class names added, and will be in the configured visibility and the configured enable state.
method applyState : 'c. 'c Js.t -> unit Js.meth
Applies the state to the object. This should be overridden in subclasses to do more complex state operations. By default it applies the state properties onto the current object.
Parameters:
_ Js.t
The state
method autoSize : unit Js.meth
Automatically grows the field to accomodate the width of the text up to the maximum field width allowed. This only takes effect if grow = true, and fires the autosize event if the width changes.
method beforeFocus : Ext_EventObject.t Js.t -> unit Js.meth
private
Template method to do any pre-focus processing.
Parameters:
Ext_EventObject.t Js.t
The event object
method getErrors : 'd. 'd Js.t -> Js.js_string Js.t Js.js_array Js.t Js.meth
Validates a value according to the field's validation rules and returns an array of errors for any failing validations. Validation rules are processed in the following order:
Field specific validator
A validator offers a way to customize and reuse a validation specification.
If a field is configured with a validator
function, it will be passed the current field value. The validator
function is expected to return either:
true
if the value is valid (validation continues).Basic Validation
If the validator
has not halted validation,
basic validation proceeds as follows:
allowBlank
: (Invalid message = blankText
)
Depending on the configuration of allowBlank
, a
blank field will cause validation to halt at this step and return
Boolean true or false accordingly.
minLength
: (Invalid message = minLengthText
)
If the passed value does not satisfy the minLength
specified, validation halts.
maxLength
: (Invalid message = maxLengthText
)
If the passed value does not satisfy the maxLength
specified, validation halts.
Preconfigured Validation Types (VTypes)
If none of the prior validation steps halts validation, a field
configured with a vtype
will utilize the
corresponding VTypes validation function.
If invalid, either the field's vtypeText
or
the VTypes vtype Text property will be used for the invalid message.
Keystrokes on the field will be filtered according to the VTypes
vtype Mask property.
Field specific regex test
If none of the prior validation steps halts validation, a field's
configured regex
test will be processed.
The invalid message for this test is configured with regexText
Parameters:
_ Js.t
The value to validate. The processed raw value will be used if nothing is passed.
Returns:
Js.js_string Js.t Js.js_array Js.t
Array of any validation errors
method getRawValue : Js.js_string Js.t Js.meth
Returns the raw String value of the field, without performing any normalization, conversion, or validation. Gets the current value of the input element if the field has been rendered, ignoring the value if it is the emptyText. To get a normalized and converted value see getValue.
Returns:
Js.js_string Js.t
The raw String value of the field
method getState : 'e. 'e Js.t Js.meth
The supplied default state gathering method for the AbstractComponent class.
This method returns dimension settings such as flex
, anchor
, width
and height
along with collapsed
state.
Subclasses which implement more complex state should call the superclass's implementation, and apply their state to the result if this basic state is to be saved.
Note that Component state will only be saved if the Component has a stateId and there as a StateProvider configured for the document.
method getSubTplData : 'f. 'f Js.t Js.meth
Creates and returns the data object to be used when rendering the fieldSubTpl.
Returns:
_ Js.t
The template data
method initComponent : unit Js.meth
The initComponent template method is an important initialization step for a Component. It is intended to be implemented by each subclass of Ext.Component to provide any needed constructor logic. The initComponent method of the class being created is called first, with each initComponent method up the hierarchy to Ext.Component being called thereafter. This makes it easy to implement and, if needed, override the constructor logic of the Component at any step in the hierarchy.
The initComponent method must contain a call to callParent in order to ensure that the parent class' initComponent method is also called.
All config options passed to the constructor are applied to this
before initComponent is called,
so you can simply access them with this.someOption
.
The following example demonstrates using a dynamic string for the text of a button at the time of instantiation of the class.
Ext.define('DynamicButtonText', {
extend: 'Ext.button.Button',
initComponent: function() {
this.text = new Date();
this.renderTo = Ext.getBody();
this.callParent();
}
});
Ext.onReady(function() {
Ext.create('DynamicButtonText');
});
method initEvents : unit Js.meth
private
Initialize any events on this component
method onDestroy : unit Js.meth
Allows addition of behavior to the destroy operation. After calling the superclass's onDestroy, the Component will be destroyed.
method onDisable : unit Js.meth
private
Allows addition of behavior to the disable operation.
After calling the superclass's onDisable
, the Component will be disabled.
method onEnable : unit Js.meth
private
Allows addition of behavior to the enable operation.
After calling the superclass's onEnable
, the Component will be enabled.
method postBlur : Ext_EventObject.t Js.t -> unit Js.meth
private
Template method to do any post-blur processing.
Parameters:
Ext_EventObject.t Js.t
The event object
method processRawValue_str : Js.js_string Js.t -> Js.js_string Js.t Js.meth
Performs any necessary manipulation of a raw String value to prepare it for conversion and/or validation. For text fields this applies the configured stripCharsRe to the raw value.
Parameters:
Js.js_string Js.t
The unprocessed string value
Returns:
Js.js_string Js.t
The processed string value
method reset : unit Js.meth
Resets the current field value to the originally-loaded value and clears any validation messages. Also adds emptyText and emptyCls if the original value was blank.
method selectText : Js.number Js.t Js.optdef -> Js.number Js.t Js.optdef -> unit Js.meth
Selects text in this field
Parameters:
Js.number Js.t
(optional)
The index where the selection should start
Defaults to: 0Js.number Js.t
(optional)
The index where the selection should end (defaults to the text length)
method setValue : 'g.
'g Js.t ->
(< _isLayoutRoot : bool Js.t Js.prop; addChildEls : unit Js.meth;
addCls : 'j. 'j Js.t -> 'i Js.t Js.meth;
addClsWithUI : 'k 'l. 'k Js.t -> 'l Js.t -> unit Js.meth;
addEvents : 'm. 'm Js.t -> unit Js.meth;
addListener : 'n 'o 'p 'q 'r.
'n Js.t ->
'o Js.callback Js.optdef ->
'p Js.t Js.optdef ->
'q Js.t Js.optdef -> 'r Js.t Js.meth;
addManagedListener : 's 't 'u 'v 'w 'x.
's Js.t ->
't Js.t ->
'u Js.callback Js.optdef ->
'v Js.t Js.optdef ->
'w Js.t Js.optdef -> 'x Js.t Js.meth;
addPropertyToState : 'y.
'y Js.t ->
Js.js_string Js.t ->
Js.js_string Js.t Js.optdef -> bool Js.t Js.meth;
addStateEvents : 'z. 'z Js.t -> unit Js.meth;
addUIClsToElement : Js.js_string Js.t -> unit Js.meth;
afterComponentLayout : 'a 'b.
Js.number Js.t ->
Js.number Js.t ->
'a Js.t -> 'b Js.t -> unit Js.meth;
afterHide : 'a1 'b1.
'a1 Js.callback Js.optdef ->
'b1 Js.t Js.optdef -> unit Js.meth;
afterRender : unit Js.meth;
afterSetPosition : Js.number Js.t -> Js.number Js.t -> unit Js.meth;
afterShow : 'c1 'd1 'e1.
'c1 Js.t Js.optdef ->
'd1 Js.callback Js.optdef ->
'e1 Js.t Js.optdef -> unit Js.meth;
alignTo : 'f1 'g1.
'f1 Js.t ->
Js.js_string Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.optdef ->
'g1 Js.t Js.optdef -> 'i Js.t Js.meth;
anchorTo : 'h1 'i1 'j1 'k1.
'h1 Js.t ->
Js.js_string Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.optdef ->
'i1 Js.t Js.optdef ->
'j1 Js.t Js.optdef ->
'k1 Js.callback Js.optdef -> 'i Js.t Js.meth;
animate : 'l1 'm1. 'l1 Js.t -> 'm1 Js.t Js.meth;
applyState : 'c. 'c Js.t -> unit Js.meth; autoSize : unit Js.meth;
batchChanges : 'n1. 'n1 Js.t -> unit Js.meth;
beforeBlur : Ext_EventObject.t Js.t -> unit Js.meth;
beforeComponentLayout : Js.number Js.t -> Js.number Js.t -> unit Js.meth;
beforeDestroy : unit Js.meth;
beforeFocus : Ext_EventObject.t Js.t -> unit Js.meth;
beforeLayout : unit Js.meth; beforeReset : unit Js.meth;
beforeShow : unit Js.meth; bodyEl : Ext_dom_Element.t Js.t Js.prop;
bubble : 'o1 'p1 'q1.
'o1 Js.callback ->
'p1 Js.t Js.optdef ->
'q1 Js.js_array Js.t Js.optdef -> 'i Js.t Js.meth;
calculateConstrainedPosition : 'r1.
'r1 Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t
Js.optdef ->
bool Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t
Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.meth;
callParent : 's1 't1. 's1 Js.t -> 't1 Js.t Js.meth;
callSuper : 'u1 'v1. 'u1 Js.t -> 'v1 Js.t Js.meth;
cancelFocus : unit Js.meth; center : 'w1. 'w1 Js.t Js.meth;
checkChange : unit Js.meth; checkDirty : unit Js.meth;
clearInvalid : unit Js.meth; clearListeners : unit Js.meth;
clearManagedListeners : unit Js.meth;
cloneConfig : 'x1. 'x1 Js.t -> 'i Js.t Js.meth;
contentPaddingProperty : Js.js_string Js.t Js.prop;
destroy : unit Js.meth; disable : bool Js.t Js.optdef -> unit Js.meth;
doAutoRender : unit Js.meth; doComponentLayout : 'y1. 'y1 Js.t Js.meth;
doComponentLayout_container : 'z1.
(#Ext_container_Container.t as 'z1) Js.t
Js.meth;
doConstrain : 'a2. 'a2 Js.t Js.optdef -> unit Js.meth;
draggable : bool Js.t Js.readonly_prop;
enable : bool Js.t Js.optdef -> unit Js.meth;
enableBubble : 'b2. 'b2 Js.t -> unit Js.meth;
ensureAttachedToBody : bool Js.t Js.optdef -> unit Js.meth;
errorEl : Ext_dom_Element.t Js.t Js.prop;
extractFileInput : Dom_html.element Js.t Js.meth;
findParentBy : 'c2 'd2. 'c2 Js.callback -> 'd2 Js.t Js.meth;
findParentByType : 'e2 'f2. 'e2 Js.t -> 'f2 Js.t Js.meth;
findPlugin : Js.js_string Js.t -> Ext_AbstractPlugin.t Js.t Js.meth;
fireEvent : 'g2. Js.js_string Js.t -> 'g2 Js.t -> bool Js.t Js.meth;
fireEventArgs : 'h2.
Js.js_string Js.t ->
'h2 Js.t Js.js_array Js.t -> bool Js.t Js.meth;
floatParent : 'i2. 'i2 Js.t Js.readonly_prop;
focus : 'j2 'k2 'l2.
bool Js.t Js.optdef ->
'j2 Js.t Js.optdef ->
'k2 Js.callback Js.optdef ->
'l2 Js.callback Js.optdef -> 'i Js.t Js.meth;
frameSize : 'm2. 'm2 Js.t Js.readonly_prop;
getActiveAnimation : 'n2. 'n2 Js.t Js.meth;
getActiveError : Js.js_string Js.t Js.meth;
getActiveErrors : Js.js_string Js.t Js.js_array Js.t Js.meth;
getAlignToXY : 'o2.
'o2 Js.t ->
Js.js_string Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.meth;
getAnchorXY : 'p2.
Js.js_string Js.t Js.optdef ->
bool Js.t Js.optdef ->
'p2 Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.meth;
getBox : 'q2.
bool Js.t Js.optdef ->
bool Js.t Js.optdef -> 'q2 Js.t Js.meth;
getBubbleTarget : 'r2. 'r2 Js.t Js.meth;
getConstrainVector : 's2 't2.
's2 Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.optdef ->
't2 Js.t Js.meth;
getEl : Ext_dom_Element.t Js.t Js.meth;
getErrors : 'd. 'd Js.t -> Js.js_string Js.t Js.js_array Js.t Js.meth;
getFieldLabel : Js.js_string Js.t Js.meth;
getHeight : Js.number Js.t Js.meth; getId : Js.js_string Js.t Js.meth;
getInitialConfig : 'u2. Js.js_string Js.t Js.optdef -> 'u2 Js.t Js.meth;
getInputId : Js.js_string Js.t Js.meth;
getInsertPosition : 'v2. 'v2 Js.t -> Dom_html.element Js.t Js.meth;
getItemId : Js.js_string Js.t Js.meth;
getLabelWidth : Js.number Js.t Js.meth;
getLabelableRenderData : 'w2. 'w2 Js.t Js.meth;
getLoader : Ext_ComponentLoader.t Js.t Js.meth;
getLocalX : Js.number Js.t Js.meth;
getLocalXY : Js.number Js.t Js.js_array Js.t Js.meth;
getLocalY : Js.number Js.t Js.meth;
getModelData : 'x2. 'x2 Js.t Js.meth;
getName : Js.js_string Js.t Js.meth;
getOffsetsTo : 'y2. 'y2 Js.t -> Js.number Js.t Js.js_array Js.t Js.meth;
getPlugin : Js.js_string Js.t -> Ext_AbstractPlugin.t Js.t Js.meth;
getPosition : bool Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.meth;
getRawValue : Js.js_string Js.t Js.meth;
getRegion : Ext_util_Region.t Js.t Js.meth;
getSize : 'z2. 'z2 Js.t Js.meth;
getSizeModel : 'a3 'b3. 'a3 Js.t -> 'b3 Js.t Js.meth;
getState : 'e. 'e Js.t Js.meth; getSubTplData : 'f. 'f Js.t Js.meth;
getSubTplMarkup : Js.js_string Js.t Js.meth;
getSubmitData : 'c3. 'c3 Js.t Js.meth;
getSubmitValue : Js.js_string Js.t Js.meth;
getValue : 'd3. 'd3 Js.t Js.meth;
getViewRegion : Ext_util_Region.t Js.t Js.meth;
getWidth : Js.number Js.t Js.meth; getX : Js.number Js.t Js.meth;
getXType : Js.js_string Js.t Js.meth;
getXTypes : Js.js_string Js.t Js.meth;
getXY : Js.number Js.t Js.js_array Js.t Js.meth;
getY : Js.number Js.t Js.meth; hasActiveError : bool Js.t Js.meth;
hasCls : Js.js_string Js.t -> bool Js.t Js.meth;
hasListener : Js.js_string Js.t -> bool Js.t Js.meth;
hasListeners : 'e3. 'e3 Js.t Js.readonly_prop;
hasUICls : Js.js_string Js.t -> unit Js.meth;
hasVisibleLabel : bool Js.t Js.meth;
hide : 'f3 'g3 'h3.
'f3 Js.t Js.optdef ->
'g3 Js.callback Js.optdef ->
'h3 Js.t Js.optdef -> 'i Js.t Js.meth;
initComponent : unit Js.meth;
initConfig : 'i3. 'i3 Js.t -> 'i Js.t Js.meth;
initEvents : unit Js.meth; initField : unit Js.meth;
initLabelable : unit Js.meth; initRenderData : 'j3. 'j3 Js.t Js.meth;
initValue : unit Js.meth; inputEl : Ext_dom_Element.t Js.t Js.prop;
is : Js.js_string Js.t -> bool Js.t Js.meth;
isComponent : bool Js.t Js.prop;
isDescendantOf : 'k3. 'k3 Js.t -> bool Js.t Js.meth;
isDirty : bool Js.t Js.meth; isDisabled : bool Js.t Js.meth;
isDraggable : bool Js.t Js.meth; isDroppable : bool Js.t Js.meth;
isEqual : 'l3 'm3. 'l3 Js.t -> 'm3 Js.t -> bool Js.t Js.meth;
isFieldLabelable : bool Js.t Js.prop; isFileUpload : bool Js.t Js.meth;
isFloating : bool Js.t Js.meth; isFormField : bool Js.t Js.prop;
isHidden : bool Js.t Js.meth; isLayoutRoot : unit Js.meth;
isLayoutSuspended : bool Js.t Js.meth; isObservable : bool Js.t Js.prop;
isValid : bool Js.t Js.meth;
isVisible : bool Js.t Js.optdef -> bool Js.t Js.meth;
isXType : Js.js_string Js.t -> bool Js.t Js.optdef -> bool Js.t Js.meth;
labelCell : Ext_dom_Element.t Js.t Js.prop;
labelEl : Ext_dom_Element.t Js.t Js.prop;
markInvalid : 'n3. 'n3 Js.t -> unit Js.meth;
maskOnDisable : bool Js.t Js.prop;
mon : 'o3 'p3 'q3 'r3 's3 't3.
'o3 Js.t ->
'p3 Js.t ->
'q3 Js.callback Js.optdef ->
'r3 Js.t Js.optdef -> 's3 Js.t Js.optdef -> 't3 Js.t Js.meth;
move : 'u3.
Js.js_string Js.t ->
Js.number Js.t -> 'u3 Js.t Js.optdef -> unit Js.meth;
mun : 'v3 'w3 'x3 'y3.
'v3 Js.t ->
'w3 Js.t ->
'x3 Js.callback Js.optdef -> 'y3 Js.t Js.optdef -> unit Js.meth;
nextNode : Js.js_string Js.t Js.optdef -> 'i Js.t Js.meth;
nextSibling : Js.js_string Js.t Js.optdef -> 'i Js.t Js.meth;
on : 'z3 'a4 'b4 'c4 'd4.
'z3 Js.t ->
'a4 Js.callback Js.optdef ->
'b4 Js.t Js.optdef -> 'c4 Js.t Js.optdef -> 'd4 Js.t Js.meth;
onAdded : 'e4. 'e4 Js.t -> Js.number Js.t -> unit Js.meth;
onDestroy : unit Js.meth; onDisable : unit Js.meth;
onEnable : unit Js.meth;
onHide : 'f4 'g4 'h4.
'f4 Js.t Js.optdef ->
'g4 Js.callback Js.optdef ->
'h4 Js.t Js.optdef -> unit Js.meth;
onPosition : Js.number Js.t -> Js.number Js.t -> unit Js.meth;
onRemoved : bool Js.t -> unit Js.meth;
onRender : Ext_dom_Element.t Js.t -> Js.number Js.t -> unit Js.meth;
onResize : 'i4 'j4 'k4 'l4.
'i4 Js.t ->
'j4 Js.t -> 'k4 Js.t -> 'l4 Js.t -> unit Js.meth;
onShow : 'm4 'n4 'o4.
'm4 Js.t Js.optdef ->
'n4 Js.callback Js.optdef ->
'o4 Js.t Js.optdef -> unit Js.meth;
onShowComplete : 'p4 'q4.
'p4 Js.callback Js.optdef ->
'q4 Js.t Js.optdef -> unit Js.meth;
originalValue : 'r4. 'r4 Js.t Js.prop;
ownerCt : 's4. 's4 Js.t Js.readonly_prop;
postBlur : Ext_EventObject.t Js.t -> unit Js.meth;
previousNode : Js.js_string Js.t Js.optdef -> 'i Js.t Js.meth;
previousSibling : Js.js_string Js.t Js.optdef -> 'i Js.t Js.meth;
processRawValue : 't4 'u4. 't4 Js.t -> 'u4 Js.t Js.meth;
processRawValue_str : Js.js_string Js.t -> Js.js_string Js.t Js.meth;
rawToValue : 'v4 'w4. 'v4 Js.t -> 'w4 Js.t Js.meth;
registerFloatingItem : 'x4. 'x4 Js.t -> unit Js.meth;
relayEvents : 'y4 'z4.
'y4 Js.t ->
Js.js_string Js.t Js.js_array Js.t ->
Js.js_string Js.t Js.optdef -> 'z4 Js.t Js.meth;
removeAnchor : 'i Js.t Js.meth;
removeChildEls : 'a5. 'a5 Js.callback -> unit Js.meth;
removeCls : 'b5. 'b5 Js.t -> 'i Js.t Js.meth;
removeClsWithUI : 'c5. 'c5 Js.t -> unit Js.meth;
removeListener : 'd5 'e5.
Js.js_string Js.t ->
'd5 Js.callback -> 'e5 Js.t Js.optdef -> unit Js.meth;
removeManagedListener : 'f5 'g5 'h5 'i5.
'f5 Js.t ->
'g5 Js.t ->
'h5 Js.callback Js.optdef ->
'i5 Js.t Js.optdef -> unit Js.meth;
removeUIClsFromElement : Js.js_string Js.t -> unit Js.meth;
render : 'j5 'k5.
'j5 Js.t Js.optdef -> 'k5 Js.t Js.optdef -> unit Js.meth;
rendered : bool Js.t Js.readonly_prop; reset : unit Js.meth;
resetOriginalValue : unit Js.meth;
resumeEvent : Js.js_string Js.t -> unit Js.meth;
resumeEvents : unit Js.meth;
savePropToState : 'l5.
Js.js_string Js.t ->
'l5 Js.t ->
Js.js_string Js.t Js.optdef -> bool Js.t Js.meth;
savePropsToState : 'm5 'n5 'o5. 'm5 Js.t -> 'n5 Js.t -> 'o5 Js.t Js.meth;
saveState : unit Js.meth;
scrollBy : 'p5 'q5 'r5. 'p5 Js.t -> 'q5 Js.t -> 'r5 Js.t -> unit Js.meth;
scrollFlags : 's5. 's5 Js.t Js.readonly_prop;
selectText : Js.number Js.t Js.optdef ->
Js.number Js.t Js.optdef -> unit Js.meth;
self : Ext_Class.t Js.t Js.prop; sequenceFx : 't5. 't5 Js.t Js.meth;
setActive : 'u5.
bool Js.t Js.optdef -> 'u5 Js.t Js.optdef -> unit Js.meth;
setActiveError : Js.js_string Js.t -> unit Js.meth;
setActiveErrors : Js.js_string Js.t Js.js_array Js.t -> unit Js.meth;
setAutoScroll : bool Js.t -> 'i Js.t Js.meth;
setBorder : 'v5. 'v5 Js.t -> unit Js.meth;
setBorderRegion : Js.js_string Js.t -> Js.js_string Js.t Js.meth;
setBox : 'w5 'x5. 'w5 Js.t -> 'x5 Js.t Js.optdef -> 'i Js.t Js.meth;
setDisabled : bool Js.t -> unit Js.meth;
setDocked : 'y5. 'y5 Js.t -> bool Js.t Js.optdef -> 'i Js.t Js.meth;
setFieldDefaults : 'z5. 'z5 Js.t -> unit Js.meth;
setFieldLabel : Js.js_string Js.t -> unit Js.meth;
setFieldStyle : 'a6. 'a6 Js.t -> unit Js.meth;
setHeight : Js.number Js.t -> 'i Js.t Js.meth;
setLoading : 'b6 'c6.
'b6 Js.t -> bool Js.t Js.optdef -> 'c6 Js.t Js.meth;
setLocalX : Js.number Js.t -> 'i Js.t Js.meth;
setLocalXY : 'd6.
'd6 Js.t -> Js.number Js.t Js.optdef -> 'i Js.t Js.meth;
setLocalY : Js.number Js.t -> 'i Js.t Js.meth;
setMargin : 'e6. 'e6 Js.t -> unit Js.meth;
setOverflowXY : Js.js_string Js.t ->
Js.js_string Js.t -> 'i Js.t Js.meth;
setPagePosition : 'f6 'g6.
'f6 Js.t ->
Js.number Js.t Js.optdef ->
'g6 Js.t Js.optdef -> 'i Js.t Js.meth;
setPosition : 'h6 'i6.
'h6 Js.t ->
Js.number Js.t Js.optdef ->
'i6 Js.t Js.optdef -> 'i Js.t Js.meth;
setRawValue : 'j6 'k6. 'j6 Js.t -> 'k6 Js.t Js.meth;
setReadOnly : bool Js.t -> unit Js.meth;
setRegion : 'l6.
Ext_util_Region.t Js.t ->
'l6 Js.t Js.optdef -> 'i Js.t Js.meth;
setRegionWeight : Js.number Js.t -> Js.number Js.t Js.meth;
setSize : 'm6 'n6. 'm6 Js.t -> 'n6 Js.t -> 'i Js.t Js.meth;
setUI : Js.js_string Js.t -> unit Js.meth; setValue : 'g. 'h;
setVisible : bool Js.t -> 'i Js.t Js.meth;
setWidth : Js.number Js.t -> 'i Js.t Js.meth;
setX : 'o6. Js.number Js.t -> 'o6 Js.t Js.optdef -> 'i Js.t Js.meth;
setXY : 'p6.
Js.number Js.t Js.js_array Js.t ->
'p6 Js.t Js.optdef -> 'i Js.t Js.meth;
setY : 'q6. Js.number Js.t -> 'q6 Js.t Js.optdef -> 'i Js.t Js.meth;
show : 'r6 's6 't6.
'r6 Js.t Js.optdef ->
's6 Js.callback Js.optdef ->
't6 Js.t Js.optdef -> 'i Js.t Js.meth;
showAt : 'u6 'v6.
'u6 Js.t ->
Js.number Js.t Js.optdef ->
'v6 Js.t Js.optdef -> 'i Js.t Js.meth;
showBy : 'w6.
'w6 Js.t ->
Js.js_string Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.optdef -> 'i Js.t Js.meth;
statics : Ext_Class.t Js.t Js.meth;
stopAnimation : Ext_dom_Element.t Js.t Js.meth;
suspendEvent : Js.js_string Js.t -> unit Js.meth;
suspendEvents : bool Js.t -> unit Js.meth;
syncFx : 'x6. 'x6 Js.t Js.meth; toBack : 'y6. 'y6 Js.t Js.meth;
toFront : 'z6. bool Js.t Js.optdef -> 'z6 Js.t Js.meth;
transformOriginalValue : 'a7 'b7. 'a7 Js.t -> 'b7 Js.t Js.meth;
transformRawValue : 'c7 'd7. 'c7 Js.t -> 'd7 Js.t Js.meth;
translatePoints : 'e7 'f7.
'e7 Js.t ->
Js.number Js.t Js.optdef -> 'f7 Js.t Js.meth;
trimLabelSeparator : Js.js_string Js.t Js.meth;
un : 'g7 'h7.
Js.js_string Js.t ->
'g7 Js.callback -> 'h7 Js.t Js.optdef -> unit Js.meth;
unsetActiveError : unit Js.meth;
up : 'i7 'j7 'k7.
'i7 Js.t Js.optdef -> 'j7 Js.t Js.optdef -> 'k7 Js.t Js.meth;
update : 'l7 'm7.
'l7 Js.t ->
bool Js.t Js.optdef ->
'm7 Js.callback Js.optdef -> unit Js.meth;
updateBox : 'n7. 'n7 Js.t -> 'i Js.t Js.meth;
updateLayout : 'o7. 'o7 Js.t Js.optdef -> unit Js.meth;
validate : bool Js.t Js.meth;
validateValue : 'p7. 'p7 Js.t -> bool Js.t Js.meth;
valueToRaw : 'q7 'r7. 'q7 Js.t -> 'r7 Js.t Js.meth;
zIndexManager : Ext_ZIndexManager.t Js.t Js.readonly_prop;
zIndexParent : 's7. 's7 Js.t Js.readonly_prop; .. >
as 'i)
Js.t Js.meth as 'h
Sets a data value into the field and runs the change detection and validation. Also applies any configured emptyText for text fields. To set the value directly without these inspections see setRawValue.
Parameters:
_ Js.t
The value to set
Returns:
Ext_form_field_Text.t Js.t
this