1 <div class="body-wrap">
2 <div class="top-tools">
3 <a class="inner-link" href="#Ext.WindowMgr-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4 <a class="inner-link" href="#Ext.WindowMgr-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5 <a class="inner-link" href="#Ext.WindowMgr-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6 <a class="bookmark" href="../docs/?class=Ext.WindowMgr"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
8 <div class="inheritance res-block">
9 <pre class="res-block-inner"><a ext:cls="Ext.WindowGroup" ext:member="" href="output/Ext.WindowGroup.html">WindowGroup</a>
10 <img src="resources/elbow-end.gif"/>WindowMgr</pre></div>
11 <h1>Class Ext.WindowMgr</h1>
12 <table cellspacing="0">
13 <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
14 <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/WindowManager.js" target="_blank">WindowManager.js</a></td></tr>
15 <tr><td class="label">Class:</td><td class="hd-info">WindowMgr</td></tr>
16 <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.WindowGroup" ext:member="" href="output/Ext.WindowGroup.html">WindowGroup</a></td></tr>
18 <div class="description">
19 The default global window group that is available automatically. To have more than one group of windows
20 with separate z-order stacks, create additional instances of <a ext:cls="Ext.WindowGroup" href="output/Ext.WindowGroup.html">Ext.WindowGroup</a> as needed.<br><br><i>This class is a singleton and cannot be created directly.</i> </div>
22 <div class="hr"></div>
23 <a id="Ext.WindowMgr-props"></a>
24 <h2>Public Properties</h2>
25 <table cellspacing="0" class="member-table">
27 <th class="sig-header" colspan="2">Property</th>
28 <th class="msource-header">Defined By</th>
30 <tr class="property-row inherited">
\r
31 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
33 <a id="Ext.WindowMgr-zseed"></a>
\r
34 <b>zseed</b> : Number <div class="mdesc">
\r
35 The starting z-index for windows (defaults to 9000) </div>
\r
37 <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#zseed" href="output/Ext.WindowGroup.html#zseed">WindowGroup</a></td>
\r
40 <a id="Ext.WindowMgr-methods"></a>
41 <h2>Public Methods</h2>
42 <table cellspacing="0" class="member-table">
44 <th class="sig-header" colspan="2">Method</th>
45 <th class="msource-header">Defined By</th>
47 <tr class="method-row inherited expandable">
\r
48 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
50 <a id="Ext.WindowMgr-bringToFront"></a>
\r
51 <b>bringToFront</b>( <code>String/Object win</code> ) : Boolean <div class="mdesc">
\r
52 <div class="short">Brings the specified window to the front of any other active windows.</div>
\r
54 Brings the specified window to the front of any other active windows. <div class="mdetail-params">
\r
55 <strong>Parameters:</strong>
\r
56 <ul><li><code>win</code> : String/Object<div class="sub-desc">The id of the window or a <a ext:cls="Ext.Window" href="output/Ext.Window.html">Ext.Window</a> instance</div></li> </ul>
\r
57 <strong>Returns:</strong>
\r
59 <li><code>Boolean</code><div class="sub-desc">True if the dialog was brought to the front, else false if it was already in front</div></li>
\r
65 <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#bringToFront" href="output/Ext.WindowGroup.html#bringToFront">WindowGroup</a></td>
\r
67 <tr class="method-row inherited alt expandable">
\r
68 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
70 <a id="Ext.WindowMgr-each"></a>
\r
71 <b>each</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc">
\r
72 <div class="short">Executes the specified function once for every window in the group, passing each
73 window as the only parameter. Return...</div>
\r
75 Executes the specified function once for every window in the group, passing each
76 window as the only parameter. Returning false from the function will stop the iteration. <div class="mdetail-params">
\r
77 <strong>Parameters:</strong>
\r
78 <ul><li><code>fn</code> : Function<div class="sub-desc">The function to execute for each item</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the function</div></li> </ul>
\r
79 <strong>Returns:</strong>
\r
81 <li><code>void</code></li>
\r
87 <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#each" href="output/Ext.WindowGroup.html#each">WindowGroup</a></td>
\r
89 <tr class="method-row inherited expandable">
\r
90 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
92 <a id="Ext.WindowMgr-get"></a>
\r
93 <b>get</b>( <code>String/Object id</code> ) : Ext.Window <div class="mdesc">
\r
94 <div class="short">Gets a registered window by id.</div>
\r
96 Gets a registered window by id. <div class="mdetail-params">
\r
97 <strong>Parameters:</strong>
\r
98 <ul><li><code>id</code> : String/Object<div class="sub-desc">The id of the window or a <a ext:cls="Ext.Window" href="output/Ext.Window.html">Ext.Window</a> instance</div></li> </ul>
\r
99 <strong>Returns:</strong>
\r
101 <li><code>Ext.Window</code></li>
\r
107 <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#get" href="output/Ext.WindowGroup.html#get">WindowGroup</a></td>
\r
109 <tr class="method-row inherited alt expandable">
\r
110 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
112 <a id="Ext.WindowMgr-getActive"></a>
\r
113 <b>getActive</b>() : Ext.Window <div class="mdesc">
\r
114 <div class="short">Gets the currently-active window in the group.</div>
\r
116 Gets the currently-active window in the group. <div class="mdetail-params">
\r
117 <strong>Parameters:</strong>
\r
118 <ul><li>None.</li> </ul>
\r
119 <strong>Returns:</strong>
\r
121 <li><code>Ext.Window</code><div class="sub-desc">The active window</div></li>
\r
127 <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#getActive" href="output/Ext.WindowGroup.html#getActive">WindowGroup</a></td>
\r
129 <tr class="method-row inherited expandable">
\r
130 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
132 <a id="Ext.WindowMgr-getBy"></a>
\r
133 <b>getBy</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : Array <div class="mdesc">
\r
134 <div class="short">Returns zero or more windows in the group using the custom search function passed to this method.
135 The function should...</div>
\r
137 Returns zero or more windows in the group using the custom search function passed to this method.
138 The function should accept a single <a ext:cls="Ext.Window" href="output/Ext.Window.html">Ext.Window</a> reference as its only argument and should
139 return true if the window matches the search criteria, otherwise it should return false. <div class="mdetail-params">
\r
140 <strong>Parameters:</strong>
\r
141 <ul><li><code>fn</code> : Function<div class="sub-desc">The search function</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the function (defaults to the window
142 that gets passed to the function if not specified)</div></li> </ul>
\r
143 <strong>Returns:</strong>
\r
145 <li><code>Array</code><div class="sub-desc">An array of zero or more matching windows</div></li>
\r
151 <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#getBy" href="output/Ext.WindowGroup.html#getBy">WindowGroup</a></td>
\r
153 <tr class="method-row inherited alt expandable">
\r
154 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
156 <a id="Ext.WindowMgr-hideAll"></a>
\r
157 <b>hideAll</b>() : void <div class="mdesc">
\r
158 <div class="short">Hides all windows in the group.</div>
\r
160 Hides all windows in the group. <div class="mdetail-params">
\r
161 <strong>Parameters:</strong>
\r
162 <ul><li>None.</li> </ul>
\r
163 <strong>Returns:</strong>
\r
165 <li><code>void</code></li>
\r
171 <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#hideAll" href="output/Ext.WindowGroup.html#hideAll">WindowGroup</a></td>
\r
173 <tr class="method-row inherited expandable">
\r
174 <td class="micon"><a class="exi" href="#expand"> </a></td>
\r
176 <a id="Ext.WindowMgr-sendToBack"></a>
\r
177 <b>sendToBack</b>( <code>String/Object win</code> ) : Ext.Window <div class="mdesc">
\r
178 <div class="short">Sends the specified window to the back of other active windows.</div>
\r
180 Sends the specified window to the back of other active windows. <div class="mdetail-params">
\r
181 <strong>Parameters:</strong>
\r
182 <ul><li><code>win</code> : String/Object<div class="sub-desc">The id of the window or a <a ext:cls="Ext.Window" href="output/Ext.Window.html">Ext.Window</a> instance</div></li> </ul>
\r
183 <strong>Returns:</strong>
\r
185 <li><code>Ext.Window</code><div class="sub-desc">The window</div></li>
\r
191 <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#sendToBack" href="output/Ext.WindowGroup.html#sendToBack">WindowGroup</a></td>
\r
194 <a id="Ext.WindowMgr-events"></a>
195 <h2>Public Events</h2>
196 <div class="no-members">This class has no public events.</div>