class type t =Inheritsobject
..end
method dd : 'a. 'a Js.t Js.prop
Only present if this Panel has been configured with draggable true
.
If this Panel is configured simpleDrag true
(the default is false
), this property
will reference an instance of Ext.util.ComponentDragger (A subclass of
DragTracker) which handles moving the Panel's DOM Element,
and constraining according to the constrain and constrainHeader .
This object fires various events during its lifecycle and during a drag operation.
By default, this property in a draggable Panel will contain an instance of Ext.dd.DragSource which handles dragging the Panel.
The developer must provide implementations of the abstract methods of Ext.dd.DragSource in order to supply behaviour for each stage of the drag/drop process. See draggable.
method addTool : 'b. 'b Js.t -> unit Js.meth
Add tools to this panel
Parameters:
_ Js.t
The tools to add
method afterCollapse : bool Js.t -> unit Js.meth
Invoked after the Panel is Collapsed.
Parameters:
bool Js.t
method afterExpand : bool Js.t -> unit Js.meth
Invoked after the Panel is Expanded.
Parameters:
bool Js.t
method beforeDestroy : unit Js.meth
Invoked before the Component is destroyed.
method close : unit Js.meth
Closes the Panel. By default, this method, removes it from the DOM, destroys the Panel object and all its descendant Components. The beforeclose event is fired before the close happens and will cancel the close action if it returns false.
Note: This method is also affected by the closeAction setting. For more explicit control use destroy and hide methods.
method collapse : Js.js_string Js.t Js.optdef ->
bool Js.t Js.optdef ->
(< _isLayoutRoot : bool Js.t Js.prop;
add : 'e 'f. 'e Js.t -> 'f Js.t Js.meth;
addBodyCls : Js.js_string Js.t -> 'd Js.t Js.meth;
addChildEls : unit Js.meth; addCls : 'g. 'g Js.t -> 'd Js.t Js.meth;
addClsWithUI : 'h 'i. 'h Js.t -> 'i Js.t -> unit Js.meth;
addDocked : 'j.
'j Js.t ->
Js.number Js.t Js.optdef ->
Ext_Component.t Js.js_array Js.t Js.meth;
addEvents : 'k. 'k Js.t -> unit Js.meth;
addListener : 'l 'm 'n 'o 'p.
'l Js.t ->
'm Js.callback Js.optdef ->
'n Js.t Js.optdef -> 'o Js.t Js.optdef -> 'p Js.t Js.meth;
addManagedListener : 'q 'r 's 't 'u 'v.
'q Js.t ->
'r Js.t ->
's Js.callback Js.optdef ->
't Js.t Js.optdef ->
'u Js.t Js.optdef -> 'v Js.t Js.meth;
addPropertyToState : 'w.
'w Js.t ->
Js.js_string Js.t ->
Js.js_string Js.t Js.optdef -> bool Js.t Js.meth;
addStateEvents : 'x. 'x Js.t -> unit Js.meth;
addTool : 'b. 'b Js.t -> unit Js.meth;
addUIClsToElement : Js.js_string Js.t -> unit Js.meth;
afterCollapse : bool Js.t -> unit Js.meth;
afterComponentLayout : 'y 'z.
Js.number Js.t ->
Js.number Js.t ->
'y Js.t -> 'z Js.t -> unit Js.meth;
afterExpand : bool Js.t -> unit Js.meth;
afterHide : 'a1 'b1.
'a1 Js.callback Js.optdef ->
'b1 Js.t Js.optdef -> unit Js.meth;
afterLayout : 'c1.
(#Ext_layout_container_Container.t as 'c1) Js.t ->
unit Js.meth;
afterRender : unit Js.meth;
afterSetPosition : Js.number Js.t -> Js.number Js.t -> unit Js.meth;
afterShow : 'd1 'e1 'f1.
'd1 Js.t Js.optdef ->
'e1 Js.callback Js.optdef ->
'f1 Js.t Js.optdef -> unit Js.meth;
alignTo : 'g1 'h1.
'g1 Js.t ->
Js.js_string Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.optdef ->
'h1 Js.t Js.optdef -> 'd Js.t Js.meth;
anchorTo : 'i1 'j1 'k1 'l1.
'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 ->
'k1 Js.t Js.optdef ->
'l1 Js.callback Js.optdef -> 'd Js.t Js.meth;
animate : 'm1 'n1. 'm1 Js.t -> 'n1 Js.t Js.meth;
applyState : 'o1. 'o1 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 : 'p1 'q1 'r1.
'p1 Js.callback ->
'q1 Js.t Js.optdef ->
'r1 Js.js_array Js.t Js.optdef -> 'd Js.t Js.meth;
calculateConstrainedPosition : 's1.
's1 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 : 't1 'u1. 't1 Js.t -> 'u1 Js.t Js.meth;
callSuper : 'v1 'w1. 'v1 Js.t -> 'w1 Js.t Js.meth;
cancelFocus : unit Js.meth;
cascade : 'x1 'y1 'z1.
'x1 Js.callback ->
'y1 Js.t Js.optdef ->
'z1 Js.js_array Js.t Js.optdef -> 'd Js.t Js.meth;
center : 'a2. 'a2 Js.t Js.meth;
child : 'b2 'c2. 'b2 Js.t Js.optdef -> 'c2 Js.t Js.meth;
clearListeners : unit Js.meth; clearManagedListeners : unit Js.meth;
cloneConfig : 'd2. 'd2 Js.t -> 'd Js.t Js.meth; close : unit Js.meth;
collapse : 'c;
contains : 'e2.
(#Ext_Component.t as 'e2) Js.t ->
bool Js.t Js.optdef -> bool Js.t Js.meth;
contentPaddingProperty : Js.js_string Js.t Js.prop;
convertCollapseDir : 'f2. 'f2 Js.t -> unit Js.meth;
dd : 'a. 'a Js.t Js.prop; destroy : unit Js.meth;
disable : bool Js.t Js.optdef -> unit Js.meth;
disable_chainable : bool Js.t Js.optdef -> 'd Js.t Js.meth;
doAutoRender : unit Js.meth; doComponentLayout : 'g2. 'g2 Js.t Js.meth;
doConstrain : 'h2. 'h2 Js.t Js.optdef -> unit Js.meth;
doLayout : 'd Js.t Js.meth;
down : 'i2 'j2. 'i2 Js.t Js.optdef -> 'j2 Js.t Js.meth;
draggable : bool Js.t Js.readonly_prop;
enable : bool Js.t Js.optdef -> unit Js.meth;
enableBubble : 'k2. 'k2 Js.t -> unit Js.meth;
ensureAttachedToBody : bool Js.t Js.optdef -> unit Js.meth;
expand : bool Js.t Js.optdef -> 'd Js.t Js.meth;
findParentBy : 'l2 'm2. 'l2 Js.callback -> 'm2 Js.t Js.meth;
findParentByType : 'n2 'o2. 'n2 Js.t -> 'o2 Js.t Js.meth;
findPlugin : Js.js_string Js.t -> Ext_AbstractPlugin.t Js.t Js.meth;
fireEvent : 'p2. Js.js_string Js.t -> 'p2 Js.t -> bool Js.t Js.meth;
fireEventArgs : 'q2.
Js.js_string Js.t ->
'q2 Js.t Js.js_array Js.t -> bool Js.t Js.meth;
floatParent : 'r2. 'r2 Js.t Js.readonly_prop;
focus : 's2 't2 'u2.
bool Js.t Js.optdef ->
's2 Js.t Js.optdef ->
't2 Js.callback Js.optdef ->
'u2 Js.callback Js.optdef -> 'd Js.t Js.meth;
frameSize : 'v2. 'v2 Js.t Js.readonly_prop;
getActiveAnimation : 'w2. 'w2 Js.t Js.meth;
getAlignToXY : 'x2.
'x2 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 : 'y2.
Js.js_string Js.t Js.optdef ->
bool Js.t Js.optdef ->
'y2 Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.meth;
getBox : 'z2.
bool Js.t Js.optdef -> bool Js.t Js.optdef -> 'z2 Js.t Js.meth;
getBubbleTarget : 'a3. 'a3 Js.t Js.meth;
getChildByElement : 'b3 'c3.
'b3 Js.t ->
bool Js.t -> (#Ext_Component.t as 'c3) Js.t Js.meth;
getCollapsed : 'd3. 'd3 Js.t Js.meth;
getComponent : 'e3 'f3. 'e3 Js.t -> (#Ext_Component.t as 'f3) Js.t Js.meth;
getConstrainVector : 'g3 'h3.
'g3 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 ->
'h3 Js.t Js.meth;
getDockedComponent : 'i3 'j3.
'i3 Js.t -> (#Ext_Component.t as 'j3) 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 : 'k3. Js.js_string Js.t Js.optdef -> 'k3 Js.t Js.meth;
getInsertPosition : 'l3. 'l3 Js.t -> Dom_html.element Js.t Js.meth;
getItemId : Js.js_string Js.t Js.meth;
getLayout : 'm3. (#Ext_layout_container_Container.t as 'm3) 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 : 'n3. 'n3 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 : 'o3. 'o3 Js.t -> unit Js.meth;
getRegion : Ext_util_Region.t Js.t Js.meth;
getSize : 'p3. 'p3 Js.t Js.meth;
getSizeModel : 'q3 'r3. 'q3 Js.t -> 'r3 Js.t Js.meth;
getState : 's3. 's3 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 : 't3. 't3 Js.t Js.readonly_prop;
hasUICls : Js.js_string Js.t -> unit Js.meth;
hide : 'u3 'v3 'w3.
'u3 Js.t Js.optdef ->
'v3 Js.callback Js.optdef ->
'w3 Js.t Js.optdef -> 'd Js.t Js.meth;
initComponent : unit Js.meth;
initConfig : 'x3. 'x3 Js.t -> 'd Js.t Js.meth; initEvents : unit Js.meth;
initRenderData : 'y3. 'y3 Js.t Js.meth;
insert : 'z3 'a4.
Js.number Js.t ->
'z3 Js.t -> (#Ext_Component.t as 'a4) Js.t Js.meth;
insertDocked : 'b4. Js.number Js.t -> 'b4 Js.t -> unit Js.meth;
is : Js.js_string Js.t -> bool Js.t Js.meth;
isAncestor : 'c4. (#Ext_Component.t as 'c4) Js.t -> unit Js.meth;
isComponent : bool Js.t Js.prop;
isDescendantOf : 'd4. 'd4 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;
isXType : Js.js_string Js.t -> bool Js.t Js.optdef -> bool Js.t Js.meth;
items : 'e4. (#Ext_util_AbstractMixedCollection.t as 'e4) Js.t Js.prop;
maskOnDisable : bool Js.t Js.prop;
mon : 'f4 'g4 'h4 'i4 'j4 'k4.
'f4 Js.t ->
'g4 Js.t ->
'h4 Js.callback Js.optdef ->
'i4 Js.t Js.optdef -> 'j4 Js.t Js.optdef -> 'k4 Js.t Js.meth;
move : 'l4.
Js.js_string Js.t ->
Js.number Js.t -> 'l4 Js.t Js.optdef -> unit Js.meth;
move_container : 'm4 'n4.
'm4 Js.t ->
Js.number Js.t ->
(#Ext_Component.t as 'n4) Js.t Js.meth;
mun : 'o4 'p4 'q4 'r4.
'o4 Js.t ->
'p4 Js.t ->
'q4 Js.callback Js.optdef -> 'r4 Js.t Js.optdef -> unit Js.meth;
nextNode : Js.js_string Js.t Js.optdef -> 'd Js.t Js.meth;
nextSibling : Js.js_string Js.t Js.optdef -> 'd Js.t Js.meth;
on : 's4 't4 'u4 'v4 'w4.
's4 Js.t ->
't4 Js.callback Js.optdef ->
'u4 Js.t Js.optdef -> 'v4 Js.t Js.optdef -> 'w4 Js.t Js.meth;
onAdd : 'x4.
(#Ext_Component.t as 'x4) Js.t -> Js.number Js.t -> unit Js.meth;
onAdded : 'y4. 'y4 Js.t -> Js.number Js.t -> unit Js.meth;
onBeforeAdd : 'z4. (#Ext_Component.t as 'z4) Js.t -> unit Js.meth;
onDestroy : unit Js.meth; onDisable : unit Js.meth;
onDockedAdd : 'a5. (#Ext_Component.t as 'a5) Js.t -> unit Js.meth;
onDockedRemove : 'b5. (#Ext_Component.t as 'b5) Js.t -> unit Js.meth;
onEnable : unit Js.meth;
onHide : 'c5 'd5 'e5.
'c5 Js.t Js.optdef ->
'd5 Js.callback Js.optdef -> 'e5 Js.t Js.optdef -> unit Js.meth;
onPosition : Js.number Js.t -> Js.number Js.t -> unit Js.meth;
onRemove : 'f5.
(#Ext_Component.t as 'f5) 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 : 'g5 'h5 'i5 'j5.
'g5 Js.t -> 'h5 Js.t -> 'i5 Js.t -> 'j5 Js.t -> unit Js.meth;
onShow : 'k5 'l5 'm5.
'k5 Js.t Js.optdef ->
'l5 Js.callback Js.optdef -> 'm5 Js.t Js.optdef -> unit Js.meth;
onShowComplete : 'n5 'o5.
'n5 Js.callback Js.optdef ->
'o5 Js.t Js.optdef -> unit Js.meth;
ownerCt : 'p5. 'p5 Js.t Js.readonly_prop;
postBlur : Ext_EventObject.t Js.t -> unit Js.meth;
previousNode : Js.js_string Js.t Js.optdef -> 'd Js.t Js.meth;
previousSibling : Js.js_string Js.t Js.optdef -> 'd Js.t Js.meth;
query : Js.js_string Js.t Js.optdef ->
Ext_Component.t Js.js_array Js.t Js.meth;
queryBy : 'q5 'r5.
'q5 Js.callback ->
'r5 Js.t Js.optdef -> Ext_Component.t Js.js_array Js.t Js.meth;
queryById : 's5.
Js.js_string Js.t -> (#Ext_Component.t as 's5) Js.t Js.meth;
registerFloatingItem : 't5. 't5 Js.t -> unit Js.meth;
relayEvents : 'u5 'v5.
'u5 Js.t ->
Js.js_string Js.t Js.js_array Js.t ->
Js.js_string Js.t Js.optdef -> 'v5 Js.t Js.meth;
remove : 'w5 'x5.
'w5 Js.t ->
bool Js.t Js.optdef -> (#Ext_Component.t as 'x5) Js.t Js.meth;
removeAll : bool Js.t Js.optdef ->
Ext_Component.t Js.js_array Js.t Js.meth;
removeAnchor : 'd Js.t Js.meth;
removeBodyCls : Js.js_string Js.t -> 'd Js.t Js.meth;
removeChildEls : 'y5. 'y5 Js.callback -> unit Js.meth;
removeCls : 'z5. 'z5 Js.t -> 'd Js.t Js.meth;
removeClsWithUI : 'a6. 'a6 Js.t -> unit Js.meth;
removeDocked : 'b6.
(#Ext_Component.t as 'b6) Js.t ->
bool Js.t Js.optdef -> unit Js.meth;
removeListener : 'c6 'd6.
Js.js_string Js.t ->
'c6 Js.callback -> 'd6 Js.t Js.optdef -> unit Js.meth;
removeManagedListener : 'e6 'f6 'g6 'h6.
'e6 Js.t ->
'f6 Js.t ->
'g6 Js.callback Js.optdef ->
'h6 Js.t Js.optdef -> unit Js.meth;
removeUIClsFromElement : Js.js_string Js.t -> unit Js.meth;
render : 'i6 'j6. 'i6 Js.t Js.optdef -> 'j6 Js.t Js.optdef -> unit Js.meth;
rendered : bool Js.t Js.readonly_prop;
resumeEvent : Js.js_string Js.t -> unit Js.meth;
resumeEvents : unit Js.meth;
savePropToState : 'k6.
Js.js_string Js.t ->
'k6 Js.t ->
Js.js_string Js.t Js.optdef -> bool Js.t Js.meth;
savePropsToState : 'l6 'm6 'n6. 'l6 Js.t -> 'm6 Js.t -> 'n6 Js.t Js.meth;
saveState : unit Js.meth;
scrollBy : 'o6 'p6 'q6. 'o6 Js.t -> 'p6 Js.t -> 'q6 Js.t -> unit Js.meth;
scrollFlags : 'r6. 'r6 Js.t Js.readonly_prop;
self : Ext_Class.t Js.t Js.prop; sequenceFx : 's6. 's6 Js.t Js.meth;
setActive : 't6. bool Js.t Js.optdef -> 't6 Js.t Js.optdef -> unit Js.meth;
setAutoScroll : bool Js.t -> 'd Js.t Js.meth;
setBodyStyle : 'u6. 'u6 Js.t -> Js.js_string Js.t -> 'd Js.t Js.meth;
setBorder : 'v6. 'v6 Js.t -> unit Js.meth;
setBorderRegion : Js.js_string Js.t -> Js.js_string Js.t Js.meth;
setBox : 'w6 'x6. 'w6 Js.t -> 'x6 Js.t Js.optdef -> 'd Js.t Js.meth;
setDisabled : bool Js.t -> unit Js.meth;
setDocked : 'y6. 'y6 Js.t -> bool Js.t Js.optdef -> 'd Js.t Js.meth;
setGlyph : 'z6. 'z6 Js.t -> unit Js.meth;
setHeight : Js.number Js.t -> 'd Js.t Js.meth;
setIcon : Js.js_string Js.t -> unit Js.meth;
setIconCls : Js.js_string Js.t -> unit Js.meth;
setLoading : 'a7 'b7. 'a7 Js.t -> bool Js.t Js.optdef -> 'b7 Js.t Js.meth;
setLocalX : Js.number Js.t -> 'd Js.t Js.meth;
setLocalXY : 'c7. 'c7 Js.t -> Js.number Js.t Js.optdef -> 'd Js.t Js.meth;
setLocalY : Js.number Js.t -> 'd Js.t Js.meth;
setMargin : 'd7. 'd7 Js.t -> unit Js.meth;
setOverflowXY : Js.js_string Js.t -> Js.js_string Js.t -> 'd Js.t Js.meth;
setPagePosition : 'e7 'f7.
'e7 Js.t ->
Js.number Js.t Js.optdef ->
'f7 Js.t Js.optdef -> 'd Js.t Js.meth;
setPosition : 'g7 'h7.
'g7 Js.t ->
Js.number Js.t Js.optdef ->
'h7 Js.t Js.optdef -> 'd Js.t Js.meth;
setRegion : 'i7.
Ext_util_Region.t Js.t ->
'i7 Js.t Js.optdef -> 'd Js.t Js.meth;
setRegionWeight : Js.number Js.t -> Js.number Js.t Js.meth;
setSize : 'j7 'k7. 'j7 Js.t -> 'k7 Js.t -> 'd 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 -> 'd Js.t Js.meth;
setWidth : Js.number Js.t -> 'd Js.t Js.meth;
setX : 'l7. Js.number Js.t -> 'l7 Js.t Js.optdef -> 'd Js.t Js.meth;
setXY : 'm7.
Js.number Js.t Js.js_array Js.t ->
'm7 Js.t Js.optdef -> 'd Js.t Js.meth;
setY : 'n7. Js.number Js.t -> 'n7 Js.t Js.optdef -> 'd Js.t Js.meth;
show : 'o7 'p7 'q7.
'o7 Js.t Js.optdef ->
'p7 Js.callback Js.optdef ->
'q7 Js.t Js.optdef -> 'd Js.t Js.meth;
showAt : 'r7 's7.
'r7 Js.t ->
Js.number Js.t Js.optdef ->
's7 Js.t Js.optdef -> 'd Js.t Js.meth;
showBy : 't7.
't7 Js.t ->
Js.js_string Js.t Js.optdef ->
Js.number Js.t Js.js_array Js.t Js.optdef -> 'd 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 : 'u7. 'u7 Js.t Js.meth;
toBack : 'v7. 'v7 Js.t Js.meth;
toFront : 'w7. bool Js.t Js.optdef -> 'w7 Js.t Js.meth;
toggleCollapse : 'd Js.t Js.meth;
translatePoints : 'x7 'y7.
'x7 Js.t ->
Js.number Js.t Js.optdef -> 'y7 Js.t Js.meth;
un : 'z7 'a8.
Js.js_string Js.t ->
'z7 Js.callback -> 'a8 Js.t Js.optdef -> unit Js.meth;
up : 'b8 'c8 'd8.
'b8 Js.t Js.optdef -> 'c8 Js.t Js.optdef -> 'd8 Js.t Js.meth;
update : 'e8 'f8.
'e8 Js.t ->
bool Js.t Js.optdef ->
'f8 Js.callback Js.optdef -> unit Js.meth;
updateBox : 'g8. 'g8 Js.t -> 'd Js.t Js.meth;
updateLayout : 'h8. 'h8 Js.t Js.optdef -> unit Js.meth;
zIndexManager : Ext_ZIndexManager.t Js.t Js.readonly_prop;
zIndexParent : 'i8. 'i8 Js.t Js.readonly_prop; .. >
as 'd)
Js.t Js.meth as 'c
Collapses the panel body so that the body becomes hidden. Docked Components parallel to the border towards which the collapse takes place will remain visible. Fires the beforecollapse event which will cancel the collapse action if it returns false.
Parameters:
Js.js_string Js.t
(optional)
The direction to collapse towards. Must be one of
Defaults to collapseDirection.
bool Js.t
(optional)
True to animate the transition, else false (defaults to the value of the animCollapse panel config). May also be specified as the animation duration in milliseconds.
Returns:
#Ext_panel_Panel.t Js.t
this
method convertCollapseDir : 'f2. 'f2 Js.t -> unit Js.meth
converts a collapsdDir into an anchor argument for Element.slideIn overridden in rtl mode to switch "l" and "r"
Parameters:
_ Js.t
method expand : bool Js.t Js.optdef -> 'd Js.t Js.meth
Expands the panel body so that it becomes visible. Fires the beforeexpand event which will cancel the expand action if it returns false.
Parameters:
bool Js.t
(optional)
True to animate the transition, else false (defaults to the value of the animCollapse panel config). May also be specified as the animation duration in milliseconds.
Returns:
#Ext_panel_Panel.t Js.t
this
method getCollapsed : 'd3. 'd3 Js.t Js.meth
Returns the current collapsed state of the panel.
Returns:
_ Js.t
False when not collapsed, otherwise the value of collapseDirection.
method getHeader : unit Js.meth
Gets the Header for this panel.
method getState : 's3. 's3 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 isLayoutRoot : unit Js.meth
Determines whether this Component is the root of a layout. This returns true
if
this component can run its layout without assistance from or impact on its owner.
If this component cannot run its layout given these restrictions, false
is returned
and its owner will be considered as the next candidate for the layout root.
Setting the _isLayoutRoot property to true
causes this method to always
return true
. This may be useful when updating a layout of a Container which shrink
wraps content, and you know that it will not change size, and so can safely be the
topmost participant in the layout run.
method isVisible : bool Js.t Js.optdef -> bool Js.t Js.meth
Returns true
if this component is visible.
Parameters:
bool Js.t
(optional)
Pass true
to interrogate the visibility status of all parent Containers to
determine whether this Component is truly visible to the user.
Generally, to determine whether a Component is hidden, the no argument form is needed. For example when creating dynamically laid out UIs in a hidden Container before showing them.
Defaults to: falseReturns:
bool Js.t
true
if this component is visible, false
otherwise.
method onHide : 'c5 'd5 'e5.
'c5 Js.t Js.optdef ->
'd5 Js.callback Js.optdef -> 'e5 Js.t Js.optdef -> unit Js.meth
Possibly animates down to a target element.
Allows addition of behavior to the hide operation. After calling the superclass’s onHide, the Component will be hidden.
Gets passed the same parameters as hide.
Parameters:
_ Js.t
(optional)
_ Js.callback
(optional)
_ Js.t
(optional)
method onRemoved : bool Js.t -> unit Js.meth
Method to manage awareness of when components are removed from their respective Container, firing a removed event. References are properly cleaned up after removing a component from its owning container.
Allows addition of behavior when a Component is removed from
its parent Container. At this stage, the Component has been
removed from its parent Container's collection of child items,
but has not been destroyed (It will be destroyed if the parent
Container's autoDestroy
is true
, or if the remove call was
passed a truthy second parameter). After calling the
superclass's onRemoved
, the ownerCt
and the refOwner
will not
be present.
Parameters:
bool Js.t
Will be passed as true
if the Container performing the remove operation will delete this
Component upon remove.
method onShow : 'k5 'l5 'm5.
'k5 Js.t Js.optdef ->
'l5 Js.callback Js.optdef -> 'm5 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:
_ Js.t
(optional)
_ Js.callback
(optional)
_ Js.t
(optional)
method setBorder : 'v6. 'v6 Js.t -> unit Js.meth
method setGlyph : 'z6. 'z6 Js.t -> unit Js.meth
Set the glyph for the panel's header. See Ext.panel.Header.glyph. It will fire the glyphchange event after completion.
Parameters:
_ Js.t
The new glyph This parameter expects a format consistent with that of glyph
method setIcon : Js.js_string Js.t -> unit Js.meth
Set the icon for the panel's header. See Ext.panel.Header.icon. It will fire the iconchange event after completion.
Parameters:
Js.js_string Js.t
The new icon path
method setIconCls : Js.js_string Js.t -> unit Js.meth
Set the iconCls for the panel's header. See Ext.panel.Header.iconCls. It will fire the iconclschange event after completion.
Parameters:
Js.js_string Js.t
The new CSS class name
method setTitle : Js.js_string Js.t -> unit Js.meth
Set a title for the panel's header. See Ext.panel.Header.title.
Parameters:
Js.js_string Js.t
method setUI : Js.js_string Js.t -> unit Js.meth
Sets the UI for the component. This will remove any existing UIs on the component. It will also loop through any
uiCls
set on the component and rename them so they include the new UI.
Parameters:
Js.js_string Js.t
The new UI for the component.
method toggleCollapse : 'd Js.t Js.meth