Class type Ext_ZIndexManager.t


class type t = object .. end
Inherits
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:

Returns:


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:


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:


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:


method get : 'h 'i. 'h Js.t -> 'i Js.t Js.meth

Gets a registered Component by id.

Parameters:


method getActive : 'j. 'j Js.t Js.meth

Gets the currently-active Component in this ZIndexManager.

Returns:


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:

Returns:


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:


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:

Returns:


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: