Hierarchy
Ext.ZIndexManagerExt.WindowManager
The default global floating Component group that is available automatically.
This manages instances of floating Components which were rendered programatically without being added to a Container, and for floating Components which were added into non-floating Containers.
Floating Containers create their own instance of ZIndexManager, and floating Components added at any depth below there are managed by that ZIndexManager.
Brings the specified Component to the front of any other active Components in this ZIndexManager.
Brings the specified Component to the front of any other active Components in this ZIndexManager.
The id of the Component or a Ext.Component instance
True if the dialog was brought to the front, else false if it was already in front
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 function to execute for each item
(optional) The scope (this
reference) in which the function is executed. Defaults to the current Component in the iteration.
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.
The function to execute for each item
(optional) The scope (this
reference) in which the function
is executed. Defaults to the current Component in the iteration.
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.
The function to execute for each item
(optional) The scope (this
reference) in which the function
is executed. Defaults to the current Component in the iteration.
Gets a registered Component by id.
Gets a registered Component by id.
The id of the Component or a Ext.Component instance
Gets the currently-active Component in this ZIndexManager.
Gets the currently-active Component in this ZIndexManager.
The active Component
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.
The search function
(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)
An array of zero or more matching windows
Hides all Components managed by this ZIndexManager.
Hides all Components managed by this ZIndexManager.
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);
The Component to register.
Sends the specified Component to the back of other active Components in this ZIndexManager.
Sends the specified Component to the back of other active Components in this ZIndexManager.
The id of the Component or a Ext.Component instance
The Component
Unregisters a Ext.Component from this ZIndexManager. This should not need to be called. Components are automatically unregistered upon destruction. See register.
The Component to unregister.