An object that manages a group of
Ext.Window instances and provides z-order management
+and window activation behavior.
Public Properties
|
| zseed : Number The z-index value The starting z-index for windows in this WindowGroup (defaults to 9000) | WindowGroup |
Public Methods
|
| WindowGroup()
| WindowGroup |
| bringToFront( String/Object win )
:
- BooleanBrings the specified window to the front of any other active windows. Brings the specified window to the front of any other active windows. Parameters:Returns:Boolean True if the dialog was brought to the front, else false
+ Boolean Brings the specified window to the front of any other active windows in this WindowGroup. Brings the specified window to the front of any other active windows in this WindowGroup.
| WindowGroup |
| each( Function fn , [Object scope ] )
:
- voidExecutes the specified function once for every window in the group, passing each
-window as the only parameter. Return... Executes the specified function once for every window in the group, passing each
-window as the only parameter. Returning false from the function will stop the iteration. | WindowGroup |
| get( String/Object id )
+ voidExecutes the specified function once for every window in this WindowGroup, passing each
+window as the only parameter.... Executes the specified function once for every window in this WindowGroup, passing each
+window as the only parameter. Returning false from the function will stop the iteration. | WindowGroup |
| get( String/Object id )
:
Ext.WindowGets a registered window by id. Gets a registered window by id. | WindowGroup |
| getActive()
:
- Ext.WindowGets the currently-active window in the group. Gets the currently-active window in the group. Parameters:Returns:Ext.Window The active window
| WindowGroup |
| getBy( Function fn , [Object scope ] )
+ Ext.WindowGets the currently-active window in this WindowGroup. Gets the currently-active window in this WindowGroup. Parameters:Returns:Ext.Window The active window
| WindowGroup |
| getBy( Function fn , [Object scope ] )
:
- ArrayReturns zero or more windows in the group using the custom search function passed to this method.
-The function should... Returns zero or more windows in the group using the custom search function passed to this method.
+ Array Returns zero or more windows in this WindowGroup using the custom search function passed to this method.
+The function... Returns zero or more windows in this WindowGroup using the custom search function passed to this method.
The function should accept a single Ext.Window reference as its only argument and should
-return true if the window matches the search criteria, otherwise it should return false. Parameters:fn : FunctionThe search function scope : Object(optional) The scope in which to execute the function (defaults to the window
+return true if the window matches the search criteria, otherwise it should return false.
| WindowGroup |
| hideAll()
:
- voidHides all windows in the group. Hides all windows in the group. | WindowGroup |
| sendToBack( String/Object win )
+ voidHides all windows in this WindowGroup. Hides all windows in this WindowGroup. | WindowGroup |
| register( Window win )
:
- Ext.WindowSends the specified window to the back of other active windows. Sends the specified window to the back of other active windows. | WindowGroup |
Public Events
This class has no public events.
\ No newline at end of file
+ voidRegisters a Window with this WindowManager. This should not
+need to be called under normal circumstances. Windows are...
Registers a Window with this WindowManager. This should not
+need to be called under normal circumstances. Windows are automatically registered
+with a manager at construction time.
+
Where this may be useful is moving Windows between two WindowManagers. For example,
+to bring the Ext.MessageBox dialog under the same manager as the Desktop's
+WindowManager in the desktop sample app:
+var msgWin = Ext.MessageBox.getDialog();
+MyDesktop.getDesktop().getManager().register(msgWin);
+
Parameters:win
: WindowThe Window to register.
Returns: