class type t =Inheritsobject
..end
method bringToFront : 'a. 'a Js.t -> bool Js.t Js.meth
Brings the specified Component to the front of any other active Components in this ZIndexManager.
Parameters:
_ Js.t
The id of the Component or a Ext.Component instance
Returns:
bool Js.t
True if the dialog was brought to the front, else false if it was already in front
method each : 'b 'c. 'b Js.callback -> 'c Js.t Js.optdef -> unit Js.meth
Executes the specified function once for every Component in this ZIndexManager, passing each Component as the only parameter. Returning false from the function will stop the iteration.
Parameters:
_ Js.callback
The function to execute for each item
_ Js.t
(optional)
The scope (this reference) in which the function is executed. Defaults to the current Component in the iteration.
method eachBottomUp : 'd 'e. 'd Js.callback -> 'e Js.t Js.optdef -> unit Js.meth
Executes the specified function once for every Component in this ZIndexManager, passing each Component as the only parameter. Returning false from the function will stop the iteration. The components are passed to the function starting at the bottom and proceeding to the top.
Parameters:
_ Js.callback
The function to execute for each item
_ Js.t
(optional)
The scope (this reference) in which the function is executed. Defaults to the current Component in the iteration.
method eachTopDown : 'f 'g. 'f Js.callback -> 'g Js.t Js.optdef -> unit Js.meth
Executes the specified function once for every Component in this ZIndexManager, passing each Component as the only parameter. Returning false from the function will stop the iteration. The components are passed to the function starting at the top and proceeding to the bottom.
Parameters:
_ Js.callback
The function to execute for each item
_ Js.t
(optional)
The scope (this reference) in which the function is executed. Defaults to the current Component in the iteration.
method get : 'h 'i. 'h Js.t -> 'i Js.t Js.meth
Gets a registered Component by id.
Parameters:
_ Js.t
The id of the Component or a Ext.Component instance
method getActive : 'j. 'j Js.t Js.meth
Gets the currently-active Component in this ZIndexManager.
Returns:
#Ext_Component.t Js.t
The active Component
method getBy : 'k 'l 'm. 'k Js.callback -> 'l Js.t Js.optdef -> 'm Js.js_array Js.t Js.meth
Returns zero or more Components in this ZIndexManager using the custom search function passed to this method. The function should accept a single Ext.Component reference as its only argument and should return true if the Component matches the search criteria, otherwise it should return false.
Parameters:
_ Js.callback
The search function
_ Js.t
(optional)
The scope (this reference) in which the function is executed. Defaults to the Component being tested. That gets passed to the function if not specified.
Returns:
_ Js.js_array Js.t
An array of zero or more matching windows
method hideAll : unit Js.meth
Hides all Components managed by this ZIndexManager.
method register : 'n. 'n Js.t -> unit Js.meth
Registers a floating Ext.Component with this ZIndexManager. This should not need to be called under normal circumstances. Floating Components (such as Windows, BoundLists and Menus) are automatically registered with a zIndexManager at render time.
Where this may be useful is moving Windows between two ZIndexManagers. For example, to bring the Ext.MessageBox dialog under the same manager as the Desktop's ZIndexManager in the desktop sample app:
MyDesktop.getDesktop().getManager().register(Ext.MessageBox);
Parameters:
#Ext_Component.t Js.t
The Component to register.
method sendToBack : 'o 'p. 'o Js.t -> 'p Js.t Js.meth
Sends the specified Component to the back of other active Components in this ZIndexManager.
Parameters:
_ Js.t
The id of the Component or a Ext.Component instance
Returns:
#Ext_Component.t Js.t
The Component
method unregister : 'q. 'q Js.t -> unit Js.meth
Unregisters a Ext.Component from this ZIndexManager. This should not need to be called. Components are automatically unregistered upon destruction. See register.
Parameters:
#Ext_Component.t Js.t
The Component to unregister.