?? ext.air.nativewindow.html.svn-base
字號(hào):
<div class="body-wrap"> <div class="top-tools"> <a class="inner-link" href="#Ext.air.NativeWindow-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.air.NativeWindow-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a> <a class="inner-link" href="#Ext.air.NativeWindow-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a> <a class="inner-link" href="#Ext.air.NativeWindow-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a> <a class="bookmark" href="../docs/?class=Ext.air.NativeWindow"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> </div> <div class="inheritance res-block"><pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a> <img src="resources/elbow-end.gif"/><a ext:cls="Ext.air.NativeObservable" ext:member="" href="output/Ext.air.NativeObservable.html">NativeObservable</a> <img src="resources/elbow-end.gif"/>NativeWindow</pre></div> <h1>Class Ext.air.NativeWindow</h1> <table cellspacing="0"> <tr><td class="label">Package:</td><td class="hd-info">Ext.air</td></tr> <tr><td class="label">Defined In:</td><td class="hd-info">NativeWindow.js</td></tr> <tr><td class="label">Class:</td><td class="hd-info">NativeWindow</td></tr> <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.air.NativeObservable" ext:member="" href="output/Ext.air.NativeObservable.html">NativeObservable</a></td></tr> </table> <div class="description"> Wraps the AIR NativeWindow class to give an Ext friendly API. <br/><br/>This class also adds automatic state management (position and size) for the window (by id) and it can be used for easily creating "minimize to system tray" for the main window in your application.<br/><br/>Note: Many of the config options for this class can only be applied to NEW windows. Passing in an existing instance of a window along with those config options will have no effect. </div> <div class="hr"></div> <a id="Ext.air.NativeWindow-configs"></a> <h2>Config Options</h2> <table cellspacing="0" class="member-table"> <tr> <th class="sig-header" colspan="2">Config Options</th> <th class="msource-header">Defined By</th> </tr> <tr class="config-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-chrome"></a>
<b>chrome</b> : String <div class="mdesc">
The native window chrome (defaults to 'standard', can also be 'none'). </div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="config-row alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-height"></a>
<b>height</b> : Number <div class="mdesc">
</div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="config-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-instance"></a>
<b>instance</b> : air.NativeWindow <div class="mdesc">
The native window instance to wrap. If undefined, a new window will be created. </div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="config-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-listeners"></a>
<b>listeners</b> : Object <div class="mdesc">
<div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
<div class="long">
A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
</tr>
<tr class="config-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-maximizable"></a>
<b>maximizable</b> : Boolean <div class="mdesc">
</div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="config-row alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-minimizable"></a>
<b>minimizable</b> : Boolean <div class="mdesc">
</div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="config-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-minimizeToTray"></a>
<b>minimizeToTray</b> : Boolean <div class="mdesc">
<div class="short">True to enable minimizing to the system tray. Note: this should only be applied to the primary window in your applica...</div>
<div class="long">
True to enable minimizing to the system tray. Note: this should only be applied to the primary window in your application. A trayIcon is required. </div>
</div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="config-row alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-resizable"></a>
<b>resizable</b> : Boolean <div class="mdesc">
</div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="config-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-transparent"></a>
<b>transparent</b> : Boolean <div class="mdesc">
</div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="config-row alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-trayIcon"></a>
<b>trayIcon</b> : String <div class="mdesc">
The icon to display when minimized in the system tray </div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="config-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-trayMenu"></a>
<b>trayMenu</b> : NativeMenu <div class="mdesc">
Menu to display when the tray icon is right clicked </div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="config-row alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-trayTip"></a>
<b>trayTip</b> : String <div class="mdesc">
Tooltip for the tray icon </div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="config-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-type"></a>
<b>type</b> : String <div class="mdesc">
The native window type - normal, utility or lightweight. (defaults to normal) </div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="config-row alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-width"></a>
<b>width</b> : Number <div class="mdesc">
</div>
</td>
<td class="msource">NativeWindow</td>
</tr>
</table> <a id="Ext.air.NativeWindow-props"></a> <h2>Public Properties</h2> <table cellspacing="0" class="member-table"> <tr> <th class="sig-header" colspan="2">Property</th> <th class="msource-header">Defined By</th> </tr> <tr class="property-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-id"></a>
<b>id</b> : String <div class="mdesc">
</div>
</td>
<td class="msource">NativeWindow</td>
</tr>
</table> <a id="Ext.air.NativeWindow-methods"></a> <h2>Public Methods</h2> <table cellspacing="0" class="member-table"> <tr> <th class="sig-header" colspan="2">Method</th> <th class="msource-header">Defined By</th> </tr> <tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-NativeWindow"></a>
<b>NativeWindow</b>( <code>Object config</code> ) <div class="mdesc">
<div class="short"></div>
<div class="long">
<div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li><code>config</code> : Object<div class="sub-desc"></div></li> </ul>
<strong>Returns:</strong>
<ul>
<li><code></code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="method-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-NativeWindow.getRootHtmlWindow"></a>
<b>NativeWindow.getRootHtmlWindow</b>() : Window <div class="mdesc">
<div class="short"><static> Returns the javascript "window" object of the first opened window in your application</div>
<div class="long">
<static> Returns the javascript "window" object of the first opened window in your application <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li>None.</li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>Window</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-NativeWindow.getRootWindow"></a>
<b>NativeWindow.getRootWindow</b>() : air.NativeWindow <div class="mdesc">
<div class="short"><static> Returns the first opened window in your application</div>
<div class="long">
<static> Returns the first opened window in your application <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li>None.</li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>air.NativeWindow</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="method-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-activate"></a>
<b>activate</b>() : void <div class="mdesc">
<div class="short">Shows and activates the window</div>
<div class="long">
Shows and activates the window <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li>None.</li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">NativeWindow</td>
</tr>
<tr class="method-row inherited expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.air.NativeWindow-addEvents"></a>
<b>addEvents</b>( <code>Object object</code> ) : void <div class="mdesc">
<div class="short">Used to define events on this Observable</div>
<div class="long">
Used to define events on this Observable <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -