Class type Ext_window_MessageBox.t


class type t = object .. end
Inherits
method _CANCEL : Js.number Js.t Js.prop

Button config that displays a single Cancel button

Defaults to: 8

method _ERROR : Js.js_string Js.t Js.prop

The CSS class that provides the ERROR icon image

Defaults to: Ext.baseCSSPrefix + 'message-box-error'

method _INFO : Js.js_string Js.t Js.prop

The CSS class that provides the INFO icon image

Defaults to: Ext.baseCSSPrefix + 'message-box-info'

method _NO : Js.number Js.t Js.prop

Button config that displays a single No button

Defaults to: 4

method _OK : Js.number Js.t Js.prop

Button config that displays a single OK button

Defaults to: 1

method _OKCANCEL : Js.number Js.t Js.prop

Button config that displays OK and Cancel buttons

Defaults to: 9

method _QUESTION : Js.js_string Js.t Js.prop

The CSS class that provides the QUESTION icon image

Defaults to: Ext.baseCSSPrefix + 'message-box-question'

method _WARNING : Js.js_string Js.t Js.prop

The CSS class that provides the WARNING icon image

Defaults to: Ext.baseCSSPrefix + 'message-box-warning'

method _YES : Js.number Js.t Js.prop

Button config that displays a single Yes button

Defaults to: 2

method _YESNO : Js.number Js.t Js.prop

Button config that displays Yes and No buttons

Defaults to: 6

method _YESNOCANCEL : Js.number Js.t Js.prop

Button config that displays Yes, No and Cancel buttons

Defaults to: 14

method buttonText : 'a. 'a Js.t Js.prop

An object containing the default button text strings that can be overriden for localized language support. Supported properties are: ok, cancel, yes and no. Generally you should include a locale-specific resource file for handling language support across the framework. Customize the default text like so:

Ext.window.MessageBox.buttonText.yes = "oui"; //french

Defaults to: {ok: 'OK', yes: 'Yes', no: 'No', cancel: 'Cancel'}

method defaultTextHeight : Js.number Js.t Js.prop

The default height in pixels of the message box's multiline textarea if displayed.

Defaults to: 75

method minProgressWidth : Js.number Js.t Js.prop

The minimum width in pixels of the message box if it is a progress-style dialog. This is useful for setting a different minimum width than text-only dialogs may need.

Defaults to: 250

method minPromptWidth : Js.number Js.t Js.prop

The minimum width in pixels of the message box if it is a prompt dialog. This is useful for setting a different minimum width than text-only dialogs may need.

Defaults to: 250

method alert : 'b 'c.
Js.js_string Js.t ->
Js.js_string Js.t ->
'b Js.callback Js.optdef ->
'c Js.t Js.optdef ->
(< _CANCEL : Js.number Js.t Js.prop; _ERROR : Js.js_string Js.t Js.prop;
_INFO : Js.js_string Js.t Js.prop; _NO : Js.number Js.t Js.prop;
_OK : Js.number Js.t Js.prop; _OKCANCEL : Js.number Js.t Js.prop;
_QUESTION : Js.js_string Js.t Js.prop;
_WARNING : Js.js_string Js.t Js.prop; _YES : Js.number Js.t Js.prop;
_YESNO : Js.number Js.t Js.prop; _YESNOCANCEL : Js.number Js.t Js.prop;
_isLayoutRoot : bool Js.t Js.prop;
add : 'f 'g. 'f Js.t -> 'g Js.t Js.meth;
addBodyCls : Js.js_string Js.t -> 'e Js.t Js.meth;
addChildEls : unit Js.meth; addCls : 'h. 'h Js.t -> 'e Js.t Js.meth;
addClsWithUI : 'i 'j. 'i Js.t -> 'j Js.t -> unit Js.meth;
addDocked : 'k.
'k Js.t ->
Js.number Js.t Js.optdef ->
Ext_Component.t Js.js_array Js.t Js.meth;
addEvents : 'l. 'l Js.t -> unit Js.meth;
addListener : 'm 'n 'o 'p 'q.
'm Js.t ->
'n Js.callback Js.optdef ->
'o Js.t Js.optdef ->
'p Js.t Js.optdef -> 'q Js.t Js.meth;
addManagedListener : 'r 's 't 'u 'v 'w.
'r Js.t ->
's Js.t ->
't Js.callback Js.optdef ->
'u Js.t Js.optdef ->
'v Js.t Js.optdef -> 'w Js.t Js.meth;
addPropertyToState : 'x.
'x Js.t ->
Js.js_string Js.t ->
Js.js_string Js.t Js.optdef -> bool Js.t Js.meth;
addStateEvents : 'y. 'y Js.t -> unit Js.meth;
addTool : 'z. 'z Js.t -> unit Js.meth;
addUIClsToElement : Js.js_string Js.t -> unit Js.meth;
afterCollapse : bool Js.t -> unit Js.meth;
afterComponentLayout : 'a1 'b1.
Js.number Js.t ->
Js.number Js.t ->
'a1 Js.t -> 'b1 Js.t -> unit Js.meth;
afterExpand : bool Js.t -> unit Js.meth;
afterHide : 'c1 'd1.
'c1 Js.callback Js.optdef ->
'd1 Js.t Js.optdef -> unit Js.meth;
afterLayout : 'e1.
(#Ext_layout_container_Container.t as 'e1) Js.t ->
unit Js.meth;
afterRender : unit Js.meth;
afterSetPosition : Js.number Js.t -> Js.number Js.t -> unit Js.meth;
afterShow : 'f1 'g1 'h1.
'f1 Js.t Js.optdef ->
'g1 Js.callback Js.optdef ->
'h1 Js.t Js.optdef -> unit Js.meth;
alert : 'b 'c. 'd;
alignTo : 'i1 'j1.
'i1 Js.t ->
Js.js_string Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.optdef ->
'j1 Js.t Js.optdef -> 'e Js.t Js.meth;
anchorTo : 'k1 'l1 'm1 'n1.
'k1 Js.t ->
Js.js_string Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.optdef ->
'l1 Js.t Js.optdef ->
'm1 Js.t Js.optdef ->
'n1 Js.callback Js.optdef -> 'e Js.t Js.meth;
animate : 'o1 'p1. 'o1 Js.t -> 'p1 Js.t Js.meth;
applyState : 'q1. 'q1 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; beforeShow : unit Js.meth;
body : Ext_dom_Element.t Js.t Js.readonly_prop;
bubble : 'r1 's1 't1.
'r1 Js.callback ->
's1 Js.t Js.optdef ->
't1 Js.js_array Js.t Js.optdef -> 'e Js.t Js.meth;
buttonText : 'a. 'a Js.t Js.prop;
calculateConstrainedPosition : 'u1.
'u1 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 : 'v1 'w1. 'v1 Js.t -> 'w1 Js.t Js.meth;
callSuper : 'x1 'y1. 'x1 Js.t -> 'y1 Js.t Js.meth;
cancelFocus : unit Js.meth;
cascade : 'z1 'a2 'b2.
'z1 Js.callback ->
'a2 Js.t Js.optdef ->
'b2 Js.js_array Js.t Js.optdef -> 'e Js.t Js.meth;
center : 'c2. 'c2 Js.t Js.meth;
child : 'd2 'e2. 'd2 Js.t Js.optdef -> 'e2 Js.t Js.meth;
clearListeners : unit Js.meth; clearManagedListeners : unit Js.meth;
cloneConfig : 'f2. 'f2 Js.t -> 'e Js.t Js.meth; close : unit Js.meth;
collapse : Js.js_string Js.t Js.optdef ->
bool Js.t Js.optdef -> 'e Js.t Js.meth;
confirm : 'g2 'h2.
Js.js_string Js.t ->
Js.js_string Js.t ->
'g2 Js.callback Js.optdef ->
'h2 Js.t Js.optdef -> 'e Js.t Js.meth;
contains : 'i2.
(#Ext_Component.t as 'i2) Js.t ->
bool Js.t Js.optdef -> bool Js.t Js.meth;
contentPaddingProperty : Js.js_string Js.t Js.prop;
convertCollapseDir : 'j2. 'j2 Js.t -> unit Js.meth;
dd : 'k2. 'k2 Js.t Js.prop;
dd_dragger : Ext_util_ComponentDragger.t Js.t Js.prop;
defaultTextHeight : Js.number Js.t Js.prop; destroy : unit Js.meth;
disable : bool Js.t Js.optdef -> unit Js.meth;
disable_chainable : bool Js.t Js.optdef -> 'e Js.t Js.meth;
doAutoRender : unit Js.meth; doComponentLayout : 'l2. 'l2 Js.t Js.meth;
doConstrain : 'm2. 'm2 Js.t Js.optdef -> unit Js.meth;
doLayout : 'e Js.t Js.meth;
down : 'n2 'o2. 'n2 Js.t Js.optdef -> 'o2 Js.t Js.meth;
draggable : bool Js.t Js.readonly_prop;
enable : bool Js.t Js.optdef -> unit Js.meth;
enableBubble : 'p2. 'p2 Js.t -> unit Js.meth;
ensureAttachedToBody : bool Js.t Js.optdef -> unit Js.meth;
expand : bool Js.t Js.optdef -> 'e Js.t Js.meth;
findParentBy : 'q2 'r2. 'q2 Js.callback -> 'r2 Js.t Js.meth;
findParentByType : 's2 't2. 's2 Js.t -> 't2 Js.t Js.meth;
findPlugin : Js.js_string Js.t -> Ext_AbstractPlugin.t Js.t Js.meth;
fireEvent : 'u2. Js.js_string Js.t -> 'u2 Js.t -> bool Js.t Js.meth;
fireEventArgs : 'v2.
Js.js_string Js.t ->
'v2 Js.t Js.js_array Js.t -> bool Js.t Js.meth;
floatParent : 'w2. 'w2 Js.t Js.readonly_prop;
focus : 'x2 'y2 'z2.
bool Js.t Js.optdef ->
'x2 Js.t Js.optdef ->
'y2 Js.callback Js.optdef ->
'z2 Js.callback Js.optdef -> 'e Js.t Js.meth;
frameSize : 'a3. 'a3 Js.t Js.readonly_prop;
getActiveAnimation : 'b3. 'b3 Js.t Js.meth;
getAlignToXY : 'c3.
'c3 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 : 'd3.
Js.js_string Js.t Js.optdef ->
bool Js.t Js.optdef ->
'd3 Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.meth;
getBox : 'e3.
bool Js.t Js.optdef ->
bool Js.t Js.optdef -> 'e3 Js.t Js.meth;
getBubbleTarget : 'f3. 'f3 Js.t Js.meth;
getChildByElement : 'g3 'h3.
'g3 Js.t ->
bool Js.t ->
(#Ext_Component.t as 'h3) Js.t Js.meth;
getCollapsed : 'i3. 'i3 Js.t Js.meth;
getComponent : 'j3 'k3.
'j3 Js.t -> (#Ext_Component.t as 'k3) Js.t Js.meth;
getConstrainVector : 'l3 'm3.
'l3 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 ->
'm3 Js.t Js.meth;
getDefaultFocus : unit Js.meth;
getDockedComponent : 'n3 'o3.
'n3 Js.t ->
(#Ext_Component.t as 'o3) Js.t Js.meth;
getDockedItems : Js.js_string Js.t ->
bool Js.t -> Ext_Component.t Js.js_array Js.t Js.meth;
getEl : Ext_dom_Element.t Js.t Js.meth; getHeader : unit Js.meth;
getHeight : Js.number Js.t Js.meth; getId : Js.js_string Js.t Js.meth;
getInitialConfig : 'p3. Js.js_string Js.t Js.optdef -> 'p3 Js.t Js.meth;
getInsertPosition : 'q3. 'q3 Js.t -> Dom_html.element Js.t Js.meth;
getItemId : Js.js_string Js.t Js.meth;
getLayout : 'r3. (#Ext_layout_container_Container.t as 'r3) 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;
getOffsetsTo : 's3. 's3 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;
getRefItems : 't3. 't3 Js.t -> unit Js.meth;
getRegion : Ext_util_Region.t Js.t Js.meth;
getSize : 'u3. 'u3 Js.t Js.meth;
getSizeModel : 'v3 'w3. 'v3 Js.t -> 'w3 Js.t Js.meth;
getState : 'x3. 'x3 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;
hasCls : Js.js_string Js.t -> bool Js.t Js.meth;
hasListener : Js.js_string Js.t -> bool Js.t Js.meth;
hasListeners : 'y3. 'y3 Js.t Js.readonly_prop;
hasUICls : Js.js_string Js.t -> unit Js.meth;
hide : 'z3 'a4 'b4.
'z3 Js.t Js.optdef ->
'a4 Js.callback Js.optdef ->
'b4 Js.t Js.optdef -> 'e Js.t Js.meth;
hide_component : 'c4 'd4 'e4 'f4.
'c4 Js.t Js.optdef ->
'd4 Js.callback Js.optdef ->
'e4 Js.t Js.optdef ->
(#Ext_Component.t as 'f4) Js.t Js.meth;
initComponent : unit Js.meth;
initConfig : 'g4. 'g4 Js.t -> 'e Js.t Js.meth;
initEvents : unit Js.meth; initRenderData : 'h4. 'h4 Js.t Js.meth;
insert : 'i4 'j4.
Js.number Js.t ->
'i4 Js.t -> (#Ext_Component.t as 'j4) Js.t Js.meth;
insertDocked : 'k4. Js.number Js.t -> 'k4 Js.t -> unit Js.meth;
is : Js.js_string Js.t -> bool Js.t Js.meth;
isAncestor : 'l4. (#Ext_Component.t as 'l4) Js.t -> unit Js.meth;
isComponent : bool Js.t Js.prop;
isDescendantOf : 'm4. 'm4 Js.t -> bool Js.t Js.meth;
isDisabled : bool Js.t Js.meth; isDraggable : bool Js.t Js.meth;
isDroppable : bool Js.t Js.meth; isFloating : bool Js.t Js.meth;
isHidden : bool Js.t Js.meth; isLayoutRoot : unit Js.meth;
isLayoutSuspended : bool Js.t Js.meth; isObservable : bool Js.t Js.prop;
isPanel : bool Js.t Js.prop;
isVisible : bool Js.t Js.optdef -> bool Js.t Js.meth;
isWindow : bool Js.t Js.prop;
isXType : Js.js_string Js.t -> bool Js.t Js.optdef -> bool Js.t Js.meth;
items : 'n4. (#Ext_util_AbstractMixedCollection.t as 'n4) Js.t Js.prop;
maskOnDisable : bool Js.t Js.prop;
maximize : bool Js.t -> 'e Js.t Js.meth;
minProgressWidth : Js.number Js.t Js.prop;
minPromptWidth : Js.number Js.t Js.prop; minimize : 'e Js.t Js.meth;
mon : 'o4 'p4 'q4 'r4 's4 't4.
'o4 Js.t ->
'p4 Js.t ->
'q4 Js.callback Js.optdef ->
'r4 Js.t Js.optdef -> 's4 Js.t Js.optdef -> 't4 Js.t Js.meth;
move : 'u4.
Js.js_string Js.t ->
Js.number Js.t -> 'u4 Js.t Js.optdef -> unit Js.meth;
move_container : 'v4 'w4.
'v4 Js.t ->
Js.number Js.t ->
(#Ext_Component.t as 'w4) Js.t Js.meth;
mun : 'x4 'y4 'z4 'a5.
'x4 Js.t ->
'y4 Js.t ->
'z4 Js.callback Js.optdef -> 'a5 Js.t Js.optdef -> unit Js.meth;
nextNode : Js.js_string Js.t Js.optdef -> 'e Js.t Js.meth;
nextSibling : Js.js_string Js.t Js.optdef -> 'e Js.t Js.meth;
on : 'b5 'c5 'd5 'e5 'f5.
'b5 Js.t ->
'c5 Js.callback Js.optdef ->
'd5 Js.t Js.optdef -> 'e5 Js.t Js.optdef -> 'f5 Js.t Js.meth;
onAdd : 'g5.
(#Ext_Component.t as 'g5) Js.t ->
Js.number Js.t -> unit Js.meth;
onAdded : 'h5. 'h5 Js.t -> Js.number Js.t -> unit Js.meth;
onBeforeAdd : 'i5. (#Ext_Component.t as 'i5) Js.t -> unit Js.meth;
onDestroy : unit Js.meth; onDisable : unit Js.meth;
onDockedAdd : 'j5. (#Ext_Component.t as 'j5) Js.t -> unit Js.meth;
onDockedRemove : 'k5. (#Ext_Component.t as 'k5) Js.t -> unit Js.meth;
onEnable : unit Js.meth;
onHide : 'l5 'm5 'n5.
'l5 Js.t Js.optdef ->
'm5 Js.callback Js.optdef ->
'n5 Js.t Js.optdef -> unit Js.meth;
onPosition : Js.number Js.t -> Js.number Js.t -> unit Js.meth;
onRemove : 'o5.
(#Ext_Component.t as 'o5) Js.t -> bool 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 : 'p5 'q5 'r5 's5.
'p5 Js.t ->
'q5 Js.t -> 'r5 Js.t -> 's5 Js.t -> unit Js.meth;
onShow : 't5 'u5 'v5.
't5 Js.t Js.optdef ->
'u5 Js.callback Js.optdef ->
'v5 Js.t Js.optdef -> unit Js.meth;
onShowComplete : 'w5 'x5.
'w5 Js.callback Js.optdef ->
'x5 Js.t Js.optdef -> unit Js.meth;
ownerCt : 'y5. 'y5 Js.t Js.readonly_prop;
postBlur : Ext_EventObject.t Js.t -> unit Js.meth;
previousNode : Js.js_string Js.t Js.optdef -> 'e Js.t Js.meth;
previousSibling : Js.js_string Js.t Js.optdef -> 'e Js.t Js.meth;
progress : Js.js_string Js.t ->
Js.js_string Js.t ->
Js.js_string Js.t Js.optdef -> 'e Js.t Js.meth;
prompt : 'z5 'a6 'b6.
Js.js_string Js.t ->
Js.js_string Js.t ->
'z5 Js.callback Js.optdef ->
'a6 Js.t Js.optdef ->
'b6 Js.t Js.optdef ->
Js.js_string Js.t Js.optdef -> 'e Js.t Js.meth;
query : Js.js_string Js.t Js.optdef ->
Ext_Component.t Js.js_array Js.t Js.meth;
queryBy : 'c6 'd6.
'c6 Js.callback ->
'd6 Js.t Js.optdef ->
Ext_Component.t Js.js_array Js.t Js.meth;
queryById : 'e6.
Js.js_string Js.t ->
(#Ext_Component.t as 'e6) Js.t Js.meth;
registerFloatingItem : 'f6. 'f6 Js.t -> unit Js.meth;
relayEvents : 'g6 'h6.
'g6 Js.t ->
Js.js_string Js.t Js.js_array Js.t ->
Js.js_string Js.t Js.optdef -> 'h6 Js.t Js.meth;
remove : 'i6 'j6.
'i6 Js.t ->
bool Js.t Js.optdef -> (#Ext_Component.t as 'j6) Js.t Js.meth;
removeAll : bool Js.t Js.optdef ->
Ext_Component.t Js.js_array Js.t Js.meth;
removeAnchor : 'e Js.t Js.meth;
removeBodyCls : Js.js_string Js.t -> 'e Js.t Js.meth;
removeChildEls : 'k6. 'k6 Js.callback -> unit Js.meth;
removeCls : 'l6. 'l6 Js.t -> 'e Js.t Js.meth;
removeClsWithUI : 'm6. 'm6 Js.t -> unit Js.meth;
removeDocked : 'n6.
(#Ext_Component.t as 'n6) Js.t ->
bool Js.t Js.optdef -> unit Js.meth;
removeListener : 'o6 'p6.
Js.js_string Js.t ->
'o6 Js.callback -> 'p6 Js.t Js.optdef -> unit Js.meth;
removeManagedListener : 'q6 'r6 's6 't6.
'q6 Js.t ->
'r6 Js.t ->
's6 Js.callback Js.optdef ->
't6 Js.t Js.optdef -> unit Js.meth;
removeUIClsFromElement : Js.js_string Js.t -> unit Js.meth;
render : 'u6 'v6.
'u6 Js.t Js.optdef -> 'v6 Js.t Js.optdef -> unit Js.meth;
rendered : bool Js.t Js.readonly_prop;
restore : 'w6. 'w6 Js.t -> 'e Js.t Js.meth;
resumeEvent : Js.js_string Js.t -> unit Js.meth;
resumeEvents : unit Js.meth;
savePropToState : 'x6.
Js.js_string Js.t ->
'x6 Js.t ->
Js.js_string Js.t Js.optdef -> bool Js.t Js.meth;
savePropsToState : 'y6 'z6 'a7. 'y6 Js.t -> 'z6 Js.t -> 'a7 Js.t Js.meth;
saveState : unit Js.meth;
scrollBy : 'b7 'c7 'd7. 'b7 Js.t -> 'c7 Js.t -> 'd7 Js.t -> unit Js.meth;
scrollFlags : 'e7. 'e7 Js.t Js.readonly_prop;
self : Ext_Class.t Js.t Js.prop; sequenceFx : 'f7. 'f7 Js.t Js.meth;
setActive : 'g7.
bool Js.t Js.optdef -> 'g7 Js.t Js.optdef -> unit Js.meth;
setAutoScroll : bool Js.t -> 'e Js.t Js.meth;
setBodyStyle : 'h7. 'h7 Js.t -> Js.js_string Js.t -> 'e Js.t Js.meth;
setBorder : 'i7. 'i7 Js.t -> unit Js.meth;
setBorderRegion : Js.js_string Js.t -> Js.js_string Js.t Js.meth;
setBox : 'j7 'k7. 'j7 Js.t -> 'k7 Js.t Js.optdef -> 'e Js.t Js.meth;
setDisabled : bool Js.t -> unit Js.meth;
setDocked : 'l7. 'l7 Js.t -> bool Js.t Js.optdef -> 'e Js.t Js.meth;
setGlyph : 'm7. 'm7 Js.t -> unit Js.meth;
setHeight : Js.number Js.t -> 'e Js.t Js.meth;
setIcon : Js.js_string Js.t -> unit Js.meth;
setIconCls : Js.js_string Js.t -> unit Js.meth;
setIcon_chainable : Js.js_string Js.t ->
Js.number Js.t Js.optdef ->
Js.number Js.t Js.optdef -> 'e Js.t Js.meth;
setLoading : 'n7 'o7.
'n7 Js.t -> bool Js.t Js.optdef -> 'o7 Js.t Js.meth;
setLocalX : Js.number Js.t -> 'e Js.t Js.meth;
setLocalXY : 'p7.
'p7 Js.t -> Js.number Js.t Js.optdef -> 'e Js.t Js.meth;
setLocalY : Js.number Js.t -> 'e Js.t Js.meth;
setMargin : 'q7. 'q7 Js.t -> unit Js.meth;
setOverflowXY : Js.js_string Js.t ->
Js.js_string Js.t -> 'e Js.t Js.meth;
setPagePosition : 'r7 's7.
'r7 Js.t ->
Js.number Js.t Js.optdef ->
's7 Js.t Js.optdef -> 'e Js.t Js.meth;
setPosition : 't7 'u7.
't7 Js.t ->
Js.number Js.t Js.optdef ->
'u7 Js.t Js.optdef -> 'e Js.t Js.meth;
setRegion : 'v7.
Ext_util_Region.t Js.t ->
'v7 Js.t Js.optdef -> 'e Js.t Js.meth;
setRegionWeight : Js.number Js.t -> Js.number Js.t Js.meth;
setSize : 'w7 'x7. 'w7 Js.t -> 'x7 Js.t -> 'e Js.t Js.meth;
setTitle : Js.js_string Js.t -> unit Js.meth;
setUI : Js.js_string Js.t -> unit Js.meth;
setVisible : bool Js.t -> 'e Js.t Js.meth;
setWidth : Js.number Js.t -> 'e Js.t Js.meth;
setX : 'y7. Js.number Js.t -> 'y7 Js.t Js.optdef -> 'e Js.t Js.meth;
setXY : 'z7.
Js.number Js.t Js.js_array Js.t ->
'z7 Js.t Js.optdef -> 'e Js.t Js.meth;
setY : 'a8. Js.number Js.t -> 'a8 Js.t Js.optdef -> 'e Js.t Js.meth;
show : 'b8 'c8 'd8.
'b8 Js.t Js.optdef ->
'c8 Js.callback Js.optdef ->
'd8 Js.t Js.optdef -> 'e Js.t Js.meth;
showAt : 'e8 'f8.
'e8 Js.t ->
Js.number Js.t Js.optdef ->
'f8 Js.t Js.optdef -> 'e Js.t Js.meth;
showBy : 'g8.
'g8 Js.t ->
Js.js_string Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.optdef -> 'e Js.t Js.meth;
show_messagebox : 'h8. 'h8 Js.t -> 'e 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 : 'i8. 'i8 Js.t Js.meth; toBack : 'j8. 'j8 Js.t Js.meth;
toFront : 'k8. bool Js.t Js.optdef -> 'k8 Js.t Js.meth;
toggleCollapse : 'e Js.t Js.meth; toggleMaximize : 'e Js.t Js.meth;
translatePoints : 'l8 'm8.
'l8 Js.t ->
Js.number Js.t Js.optdef -> 'm8 Js.t Js.meth;
un : 'n8 'o8.
Js.js_string Js.t ->
'n8 Js.callback -> 'o8 Js.t Js.optdef -> unit Js.meth;
up : 'p8 'q8 'r8.
'p8 Js.t Js.optdef -> 'q8 Js.t Js.optdef -> 'r8 Js.t Js.meth;
update : 's8 't8.
's8 Js.t ->
bool Js.t Js.optdef ->
't8 Js.callback Js.optdef -> unit Js.meth;
updateBox : 'u8. 'u8 Js.t -> 'e Js.t Js.meth;
updateLayout : 'v8. 'v8 Js.t Js.optdef -> unit Js.meth;
updateProgress : Js.number Js.t Js.optdef ->
Js.js_string Js.t Js.optdef ->
Js.js_string Js.t Js.optdef -> 'e Js.t Js.meth;
wait : 'w8.
Js.js_string Js.t ->
Js.js_string Js.t Js.optdef ->
'w8 Js.t Js.optdef -> 'e Js.t Js.meth;
zIndexManager : Ext_ZIndexManager.t Js.t Js.readonly_prop;
zIndexParent : 'x8. 'x8 Js.t Js.readonly_prop; .. >
as 'e)
Js.t Js.meth as 'd

Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button, which will always report as "cancel").

Parameters:

Returns:


method confirm : 'g2 'h2.
Js.js_string Js.t ->
Js.js_string Js.t ->
'g2 Js.callback Js.optdef -> 'h2 Js.t Js.optdef -> 'e Js.t Js.meth

Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button, which will always report as "cancel").

Parameters:

Returns:


method hide_component : 'c4 'd4 'e4 'f4.
'c4 Js.t Js.optdef ->
'd4 Js.callback Js.optdef ->
'e4 Js.t Js.optdef -> (#Ext_Component.t as 'f4) Js.t Js.meth

Hides this Component, setting it to invisible using the configured hideMode.

Parameters:

Returns:


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 onShow : 't5 'u5 'v5.
't5 Js.t Js.optdef ->
'u5 Js.callback Js.optdef -> 'v5 Js.t Js.optdef -> unit Js.meth

Allows addition of behavior to the show operation. After calling the superclass's onShow, the Component will be visible.

Override in subclasses where more complex behaviour is needed.

Gets passed the same parameters as show.

Parameters:


method progress : Js.js_string Js.t ->
Js.js_string Js.t -> Js.js_string Js.t Js.optdef -> 'e Js.t Js.meth

Displays a message box with a progress bar.

You are responsible for updating the progress bar as needed via updateProgress and closing the message box when the process is complete.

Parameters:

Returns:


method prompt : 'z5 'a6 'b6.
Js.js_string Js.t ->
Js.js_string Js.t ->
'z5 Js.callback Js.optdef ->
'a6 Js.t Js.optdef ->
'b6 Js.t Js.optdef -> Js.js_string Js.t Js.optdef -> 'e Js.t Js.meth

Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button, which will always report as "cancel") and the text that was entered will be passed as the two parameters to the callback.

Parameters:

Returns:


method setIcon_chainable : Js.js_string Js.t ->
Js.number Js.t Js.optdef -> Js.number Js.t Js.optdef -> 'e Js.t Js.meth

Adds the specified icon to the dialog. By default, the class 'x-messagebox-icon' is applied for default styling, and the class passed in is expected to supply the background image url. Pass in empty string ('') to clear any existing icon. This method must be called before the MessageBox is shown. The following built-in icon classes are supported, but you can also pass in a custom class name:

Ext.window.MessageBox.INFO
Ext.window.MessageBox.WARNING
Ext.window.MessageBox.QUESTION
Ext.window.MessageBox.ERROR

Parameters:

Returns:


method show_messagebox : 'h8. 'h8 Js.t -> 'e Js.t Js.meth

Displays a new message box, or reinitializes an existing message box, based on the config options passed in. All display functions (e.g. prompt, alert, etc.) on MessageBox call this function internally, although those calls are basic shortcuts and do not support all of the config options allowed here.

Example usage:

Ext.Msg.show({
    title: 'Address',
    msg: 'Please enter your address:',
    width: 300,
    buttons: Ext.Msg.OKCANCEL,
    multiline: true,
    fn: saveAddress,
    animateTarget: 'addAddressBtn',
    icon: Ext.window.MessageBox.INFO
});

Parameters:

Returns:


method updateProgress : Js.number Js.t Js.optdef ->
Js.js_string Js.t Js.optdef -> Js.js_string Js.t Js.optdef -> 'e Js.t Js.meth

Updates a progress-style message box's text and progress bar. Only relevant on message boxes initiated via progress or wait, or by calling show with progress: true.

Parameters:

Returns:


method wait : 'w8.
Js.js_string Js.t ->
Js.js_string Js.t Js.optdef -> 'w8 Js.t Js.optdef -> 'e Js.t Js.meth

Displays a message box with an infinitely auto-updating progress bar. This can be used to block user interaction while waiting for a long-running process to complete that does not have defined intervals. You are responsible for closing the message box when the process is complete.

Parameters:

Returns: