class type t =Inheritsobject
..end
method addDocked : 'a.
'a Js.t ->
Js.number Js.t Js.optdef -> Ext_Component.t Js.js_array Js.t Js.meth
Adds docked item(s) to the container.
Parameters:
_ Js.t
The Component or array of components to add. The components must include a 'dock' parameter on each component to indicate where it should be docked ('top', 'right', 'bottom', 'left').
Js.number Js.t
(optional)
The index at which the Component will be added
Returns:
Ext_Component.t Js.js_array Js.t
The added components.
method getDockedComponent : 'b 'c. 'b Js.t -> (#Ext_Component.t as 'c) Js.t Js.meth
Finds a docked component by id, itemId or position. Also see getDockedItems
Parameters:
_ Js.t
The id, itemId or position of the docked component (see getComponent for details)
Returns:
#Ext_Component.t Js.t
The docked component (if found)
method getDockedItems : Js.js_string Js.t -> bool Js.t -> Ext_Component.t Js.js_array Js.t Js.meth
Retrieves an array of all currently docked Components.
For example to find a toolbar that has been docked at top:
panel.getDockedItems('toolbar[dock="top"]');
Parameters:
Js.js_string Js.t
A ComponentQuery selector string to filter the returned items.
bool Js.t
An optional flag to limit the set of items to only those before the body (true) or after the body (false). All components are returned by default.
Returns:
Ext_Component.t Js.js_array Js.t
The array of docked components meeting the specified criteria.
method insertDocked : 'd. Js.number Js.t -> 'd Js.t -> unit Js.meth
Inserts docked item(s) to the panel at the indicated position.
Parameters:
Js.number Js.t
The index at which the Component will be inserted
_ Js.t
The Component or array of components to add. The components must include a 'dock' paramater on each component to indicate where it should be docked ('top', 'right', 'bottom', 'left').
method onDockedAdd : 'e. (#Ext_Component.t as 'e) Js.t -> unit Js.meth
Invoked after a docked item is added to the Panel.
Parameters:
#Ext_Component.t Js.t
method onDockedRemove : 'f. (#Ext_Component.t as 'f) Js.t -> unit Js.meth
Invoked after a docked item is removed from the Panel.
Parameters:
#Ext_Component.t Js.t
method removeDocked : 'g. (#Ext_Component.t as 'g) Js.t -> bool Js.t Js.optdef -> unit Js.meth
Removes the docked item from the panel.
Parameters:
#Ext_Component.t Js.t
The Component to remove.
bool Js.t
(optional)
Destroy the component after removal.