2 |
aperonnet |
1 |
<div class="body-wrap">
|
|
|
2 |
<div class="top-tools">
|
|
|
3 |
<a class="inner-link" href="#Ext.WindowGroup-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
|
|
|
4 |
<a class="inner-link" href="#Ext.WindowGroup-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
|
|
|
5 |
<a class="inner-link" href="#Ext.WindowGroup-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
|
|
|
6 |
<a class="bookmark" href="../docs/?class=Ext.WindowGroup"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
|
|
|
7 |
</div>
|
|
|
8 |
<h1>Class Ext.WindowGroup</h1>
|
|
|
9 |
<table cellspacing="0">
|
|
|
10 |
<tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
|
|
|
11 |
<tr><td class="label">Defined In:</td><td class="hd-info"><a href="../source/widgets/WindowManager.js" target="_blank">WindowManager.js</a></td></tr>
|
|
|
12 |
<tr><td class="label">Class:</td><td class="hd-info">WindowGroup</td></tr>
|
|
|
13 |
<tr><td class="label">Subclasses:</td><td class="hd-info"><a ext:cls="Ext.WindowMgr" href="output/Ext.WindowMgr.html">WindowMgr</a></td></tr>
|
|
|
14 |
<tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr>
|
|
|
15 |
</table>
|
|
|
16 |
<div class="description">
|
|
|
17 |
An object that represents a group of <a ext:cls="Ext.Window" href="output/Ext.Window.html">Ext.Window</a> instances and provides z-order management
|
|
|
18 |
and window activation behavior. </div>
|
|
|
19 |
|
|
|
20 |
<div class="hr"></div>
|
|
|
21 |
<a id="Ext.WindowGroup-props"></a>
|
|
|
22 |
<h2>Public Properties</h2>
|
|
|
23 |
<table cellspacing="0" class="member-table">
|
|
|
24 |
<tr>
|
|
|
25 |
<th class="sig-header" colspan="2">Property</th>
|
|
|
26 |
<th class="msource-header">Defined By</th>
|
|
|
27 |
</tr>
|
|
|
28 |
<tr class="property-row">
|
|
|
29 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
30 |
<td class="sig">
|
|
|
31 |
<a id="Ext.WindowGroup-zseed"></a>
|
|
|
32 |
<b>zseed</b> : Number <div class="mdesc">
|
|
|
33 |
The starting z-index for windows (defaults to 9000) </div>
|
|
|
34 |
</td>
|
|
|
35 |
<td class="msource">WindowGroup</td>
|
|
|
36 |
</tr>
|
|
|
37 |
</table>
|
|
|
38 |
<a id="Ext.WindowGroup-methods"></a>
|
|
|
39 |
<h2>Public Methods</h2>
|
|
|
40 |
<table cellspacing="0" class="member-table">
|
|
|
41 |
<tr>
|
|
|
42 |
<th class="sig-header" colspan="2">Method</th>
|
|
|
43 |
<th class="msource-header">Defined By</th>
|
|
|
44 |
</tr>
|
|
|
45 |
<tr class="method-row expandable">
|
|
|
46 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
47 |
<td class="sig">
|
|
|
48 |
<a id="Ext.WindowGroup-WindowGroup"></a>
|
|
|
49 |
<b>WindowGroup</b>() <div class="mdesc">
|
|
|
50 |
<div class="short"></div>
|
|
|
51 |
<div class="long">
|
|
|
52 |
<div class="mdetail-params">
|
|
|
53 |
<strong>Parameters:</strong>
|
|
|
54 |
<ul><li>None.</li> </ul>
|
|
|
55 |
<strong>Returns:</strong>
|
|
|
56 |
<ul>
|
|
|
57 |
<li><code></code></li>
|
|
|
58 |
</ul>
|
|
|
59 |
</div>
|
|
|
60 |
</div>
|
|
|
61 |
</div>
|
|
|
62 |
</td>
|
|
|
63 |
<td class="msource">WindowGroup</td>
|
|
|
64 |
</tr>
|
|
|
65 |
<tr class="method-row alt expandable">
|
|
|
66 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
67 |
<td class="sig">
|
|
|
68 |
<a id="Ext.WindowGroup-bringToFront"></a>
|
|
|
69 |
<b>bringToFront</b>( <code>String/Object win</code> ) : Boolean <div class="mdesc">
|
|
|
70 |
<div class="short">Brings the specified window to the front of any other active windows.</div>
|
|
|
71 |
<div class="long">
|
|
|
72 |
Brings the specified window to the front of any other active windows. <div class="mdetail-params">
|
|
|
73 |
<strong>Parameters:</strong>
|
|
|
74 |
<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>
|
|
|
75 |
<strong>Returns:</strong>
|
|
|
76 |
<ul>
|
|
|
77 |
<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>
|
|
|
78 |
</ul>
|
|
|
79 |
</div>
|
|
|
80 |
</div>
|
|
|
81 |
</div>
|
|
|
82 |
</td>
|
|
|
83 |
<td class="msource">WindowGroup</td>
|
|
|
84 |
</tr>
|
|
|
85 |
<tr class="method-row expandable">
|
|
|
86 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
87 |
<td class="sig">
|
|
|
88 |
<a id="Ext.WindowGroup-each"></a>
|
|
|
89 |
<b>each</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : void <div class="mdesc">
|
|
|
90 |
<div class="short">Executes the specified function once for every window in the group, passing each
|
|
|
91 |
window as the only parameter. Return...</div>
|
|
|
92 |
<div class="long">
|
|
|
93 |
Executes the specified function once for every window in the group, passing each
|
|
|
94 |
window as the only parameter. Returning false from the function will stop the iteration. <div class="mdetail-params">
|
|
|
95 |
<strong>Parameters:</strong>
|
|
|
96 |
<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>
|
|
|
97 |
<strong>Returns:</strong>
|
|
|
98 |
<ul>
|
|
|
99 |
<li><code>void</code></li>
|
|
|
100 |
</ul>
|
|
|
101 |
</div>
|
|
|
102 |
</div>
|
|
|
103 |
</div>
|
|
|
104 |
</td>
|
|
|
105 |
<td class="msource">WindowGroup</td>
|
|
|
106 |
</tr>
|
|
|
107 |
<tr class="method-row alt expandable">
|
|
|
108 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
109 |
<td class="sig">
|
|
|
110 |
<a id="Ext.WindowGroup-get"></a>
|
|
|
111 |
<b>get</b>( <code>String/Object id</code> ) : Ext.Window <div class="mdesc">
|
|
|
112 |
<div class="short">Gets a registered window by id.</div>
|
|
|
113 |
<div class="long">
|
|
|
114 |
Gets a registered window by id. <div class="mdetail-params">
|
|
|
115 |
<strong>Parameters:</strong>
|
|
|
116 |
<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>
|
|
|
117 |
<strong>Returns:</strong>
|
|
|
118 |
<ul>
|
|
|
119 |
<li><code>Ext.Window</code></li>
|
|
|
120 |
</ul>
|
|
|
121 |
</div>
|
|
|
122 |
</div>
|
|
|
123 |
</div>
|
|
|
124 |
</td>
|
|
|
125 |
<td class="msource">WindowGroup</td>
|
|
|
126 |
</tr>
|
|
|
127 |
<tr class="method-row expandable">
|
|
|
128 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
129 |
<td class="sig">
|
|
|
130 |
<a id="Ext.WindowGroup-getActive"></a>
|
|
|
131 |
<b>getActive</b>() : Ext.Window <div class="mdesc">
|
|
|
132 |
<div class="short">Gets the currently-active window in the group.</div>
|
|
|
133 |
<div class="long">
|
|
|
134 |
Gets the currently-active window in the group. <div class="mdetail-params">
|
|
|
135 |
<strong>Parameters:</strong>
|
|
|
136 |
<ul><li>None.</li> </ul>
|
|
|
137 |
<strong>Returns:</strong>
|
|
|
138 |
<ul>
|
|
|
139 |
<li><code>Ext.Window</code><div class="sub-desc">The active window</div></li>
|
|
|
140 |
</ul>
|
|
|
141 |
</div>
|
|
|
142 |
</div>
|
|
|
143 |
</div>
|
|
|
144 |
</td>
|
|
|
145 |
<td class="msource">WindowGroup</td>
|
|
|
146 |
</tr>
|
|
|
147 |
<tr class="method-row alt expandable">
|
|
|
148 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
149 |
<td class="sig">
|
|
|
150 |
<a id="Ext.WindowGroup-getBy"></a>
|
|
|
151 |
<b>getBy</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : Array <div class="mdesc">
|
|
|
152 |
<div class="short">Returns zero or more windows in the group using the custom search function passed to this method.
|
|
|
153 |
The function should...</div>
|
|
|
154 |
<div class="long">
|
|
|
155 |
Returns zero or more windows in the group using the custom search function passed to this method.
|
|
|
156 |
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
|
|
|
157 |
return true if the window matches the search criteria, otherwise it should return false. <div class="mdetail-params">
|
|
|
158 |
<strong>Parameters:</strong>
|
|
|
159 |
<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
|
|
|
160 |
that gets passed to the function if not specified)</div></li> </ul>
|
|
|
161 |
<strong>Returns:</strong>
|
|
|
162 |
<ul>
|
|
|
163 |
<li><code>Array</code><div class="sub-desc">An array of zero or more matching windows</div></li>
|
|
|
164 |
</ul>
|
|
|
165 |
</div>
|
|
|
166 |
</div>
|
|
|
167 |
</div>
|
|
|
168 |
</td>
|
|
|
169 |
<td class="msource">WindowGroup</td>
|
|
|
170 |
</tr>
|
|
|
171 |
<tr class="method-row expandable">
|
|
|
172 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
173 |
<td class="sig">
|
|
|
174 |
<a id="Ext.WindowGroup-hideAll"></a>
|
|
|
175 |
<b>hideAll</b>() : void <div class="mdesc">
|
|
|
176 |
<div class="short">Hides all windows in the group.</div>
|
|
|
177 |
<div class="long">
|
|
|
178 |
Hides all windows in the group. <div class="mdetail-params">
|
|
|
179 |
<strong>Parameters:</strong>
|
|
|
180 |
<ul><li>None.</li> </ul>
|
|
|
181 |
<strong>Returns:</strong>
|
|
|
182 |
<ul>
|
|
|
183 |
<li><code>void</code></li>
|
|
|
184 |
</ul>
|
|
|
185 |
</div>
|
|
|
186 |
</div>
|
|
|
187 |
</div>
|
|
|
188 |
</td>
|
|
|
189 |
<td class="msource">WindowGroup</td>
|
|
|
190 |
</tr>
|
|
|
191 |
<tr class="method-row alt expandable">
|
|
|
192 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
193 |
<td class="sig">
|
|
|
194 |
<a id="Ext.WindowGroup-sendToBack"></a>
|
|
|
195 |
<b>sendToBack</b>( <code>String/Object win</code> ) : Ext.Window <div class="mdesc">
|
|
|
196 |
<div class="short">Sends the specified window to the back of other active windows.</div>
|
|
|
197 |
<div class="long">
|
|
|
198 |
Sends the specified window to the back of other active windows. <div class="mdetail-params">
|
|
|
199 |
<strong>Parameters:</strong>
|
|
|
200 |
<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>
|
|
|
201 |
<strong>Returns:</strong>
|
|
|
202 |
<ul>
|
|
|
203 |
<li><code>Ext.Window</code><div class="sub-desc">The window</div></li>
|
|
|
204 |
</ul>
|
|
|
205 |
</div>
|
|
|
206 |
</div>
|
|
|
207 |
</div>
|
|
|
208 |
</td>
|
|
|
209 |
<td class="msource">WindowGroup</td>
|
|
|
210 |
</tr>
|
|
|
211 |
</table>
|
|
|
212 |
<a id="Ext.WindowGroup-events"></a>
|
|
|
213 |
<h2>Public Events</h2>
|
|
|
214 |
<div class="no-members">This class has no public events.</div>
|
|
|
215 |
</div>
|