6149babd3291731b5af9242a40286ac8e6b87a53.svn-base 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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>
  7. </div>
  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>
  17. </table>
  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>
  21. <div class="hr"></div>
  22. <a id="Ext.WindowMgr-props"></a>
  23. <h2>Public Properties</h2>
  24. <table cellspacing="0" class="member-table">
  25. <tr>
  26. <th class="sig-header" colspan="2">Property</th>
  27. <th class="msource-header">Defined By</th>
  28. </tr>
  29. <tr class="property-row inherited">
  30. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  31. <td class="sig">
  32. <a id="Ext.WindowMgr-zseed"></a>
  33. <b>zseed</b> : Number <div class="mdesc">
  34. The starting z-index for windows (defaults to 9000) </div>
  35. </td>
  36. <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#zseed" href="output/Ext.WindowGroup.html#zseed">WindowGroup</a></td>
  37. </tr>
  38. </table>
  39. <a id="Ext.WindowMgr-methods"></a>
  40. <h2>Public Methods</h2>
  41. <table cellspacing="0" class="member-table">
  42. <tr>
  43. <th class="sig-header" colspan="2">Method</th>
  44. <th class="msource-header">Defined By</th>
  45. </tr>
  46. <tr class="method-row inherited expandable">
  47. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  48. <td class="sig">
  49. <a id="Ext.WindowMgr-bringToFront"></a>
  50. <b>bringToFront</b>(&nbsp;<code>String/Object win</code>&nbsp;) : Boolean <div class="mdesc">
  51. <div class="short">Brings the specified window to the front of any other active windows.</div>
  52. <div class="long">
  53. Brings the specified window to the front of any other active windows. <div class="mdetail-params">
  54. <strong>Parameters:</strong>
  55. <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>
  56. <strong>Returns:</strong>
  57. <ul>
  58. <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>
  59. </ul>
  60. </div>
  61. </div>
  62. </div>
  63. </td>
  64. <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#bringToFront" href="output/Ext.WindowGroup.html#bringToFront">WindowGroup</a></td>
  65. </tr>
  66. <tr class="method-row inherited alt expandable">
  67. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  68. <td class="sig">
  69. <a id="Ext.WindowMgr-each"></a>
  70. <b>each</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void <div class="mdesc">
  71. <div class="short">Executes the specified function once for every window in the group, passing each
  72. window as the only parameter. Return...</div>
  73. <div class="long">
  74. Executes the specified function once for every window in the group, passing each
  75. window as the only parameter. Returning false from the function will stop the iteration. <div class="mdetail-params">
  76. <strong>Parameters:</strong>
  77. <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>
  78. <strong>Returns:</strong>
  79. <ul>
  80. <li><code>void</code></li>
  81. </ul>
  82. </div>
  83. </div>
  84. </div>
  85. </td>
  86. <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#each" href="output/Ext.WindowGroup.html#each">WindowGroup</a></td>
  87. </tr>
  88. <tr class="method-row inherited expandable">
  89. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  90. <td class="sig">
  91. <a id="Ext.WindowMgr-get"></a>
  92. <b>get</b>(&nbsp;<code>String/Object id</code>&nbsp;) : Ext.Window <div class="mdesc">
  93. <div class="short">Gets a registered window by id.</div>
  94. <div class="long">
  95. Gets a registered window by id. <div class="mdetail-params">
  96. <strong>Parameters:</strong>
  97. <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>
  98. <strong>Returns:</strong>
  99. <ul>
  100. <li><code>Ext.Window</code></li>
  101. </ul>
  102. </div>
  103. </div>
  104. </div>
  105. </td>
  106. <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#get" href="output/Ext.WindowGroup.html#get">WindowGroup</a></td>
  107. </tr>
  108. <tr class="method-row inherited alt expandable">
  109. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  110. <td class="sig">
  111. <a id="Ext.WindowMgr-getActive"></a>
  112. <b>getActive</b>() : Ext.Window <div class="mdesc">
  113. <div class="short">Gets the currently-active window in the group.</div>
  114. <div class="long">
  115. Gets the currently-active window in the group. <div class="mdetail-params">
  116. <strong>Parameters:</strong>
  117. <ul><li>None.</li> </ul>
  118. <strong>Returns:</strong>
  119. <ul>
  120. <li><code>Ext.Window</code><div class="sub-desc">The active window</div></li>
  121. </ul>
  122. </div>
  123. </div>
  124. </div>
  125. </td>
  126. <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#getActive" href="output/Ext.WindowGroup.html#getActive">WindowGroup</a></td>
  127. </tr>
  128. <tr class="method-row inherited expandable">
  129. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  130. <td class="sig">
  131. <a id="Ext.WindowMgr-getBy"></a>
  132. <b>getBy</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Array <div class="mdesc">
  133. <div class="short">Returns zero or more windows in the group using the custom search function passed to this method.
  134. The function should...</div>
  135. <div class="long">
  136. Returns zero or more windows in the group using the custom search function passed to this method.
  137. 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
  138. return true if the window matches the search criteria, otherwise it should return false. <div class="mdetail-params">
  139. <strong>Parameters:</strong>
  140. <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
  141. that gets passed to the function if not specified)</div></li> </ul>
  142. <strong>Returns:</strong>
  143. <ul>
  144. <li><code>Array</code><div class="sub-desc">An array of zero or more matching windows</div></li>
  145. </ul>
  146. </div>
  147. </div>
  148. </div>
  149. </td>
  150. <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#getBy" href="output/Ext.WindowGroup.html#getBy">WindowGroup</a></td>
  151. </tr>
  152. <tr class="method-row inherited alt expandable">
  153. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  154. <td class="sig">
  155. <a id="Ext.WindowMgr-hideAll"></a>
  156. <b>hideAll</b>() : void <div class="mdesc">
  157. <div class="short">Hides all windows in the group.</div>
  158. <div class="long">
  159. Hides all windows in the group. <div class="mdetail-params">
  160. <strong>Parameters:</strong>
  161. <ul><li>None.</li> </ul>
  162. <strong>Returns:</strong>
  163. <ul>
  164. <li><code>void</code></li>
  165. </ul>
  166. </div>
  167. </div>
  168. </div>
  169. </td>
  170. <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#hideAll" href="output/Ext.WindowGroup.html#hideAll">WindowGroup</a></td>
  171. </tr>
  172. <tr class="method-row inherited expandable">
  173. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  174. <td class="sig">
  175. <a id="Ext.WindowMgr-sendToBack"></a>
  176. <b>sendToBack</b>(&nbsp;<code>String/Object win</code>&nbsp;) : Ext.Window <div class="mdesc">
  177. <div class="short">Sends the specified window to the back of other active windows.</div>
  178. <div class="long">
  179. Sends the specified window to the back of other active windows. <div class="mdetail-params">
  180. <strong>Parameters:</strong>
  181. <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>
  182. <strong>Returns:</strong>
  183. <ul>
  184. <li><code>Ext.Window</code><div class="sub-desc">The window</div></li>
  185. </ul>
  186. </div>
  187. </div>
  188. </div>
  189. </td>
  190. <td class="msource"><a ext:cls="Ext.WindowGroup" ext:member="#sendToBack" href="output/Ext.WindowGroup.html#sendToBack">WindowGroup</a></td>
  191. </tr>
  192. </table>
  193. <a id="Ext.WindowMgr-events"></a>
  194. <h2>Public Events</h2>
  195. <div class="no-members">This class has no public events.</div>
  196. </div>