1 | <div class="body-wrap"> |
---|
2 | <div class="top-tools"> |
---|
3 | <a class="inner-link" href="#Ext.air.SystemTray-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> |
---|
4 | <a class="inner-link" href="#Ext.air.SystemTray-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a> |
---|
5 | <a class="inner-link" href="#Ext.air.SystemTray-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a> |
---|
6 | <a class="bookmark" href="../docs/?class=Ext.air.SystemTray"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> |
---|
7 | </div> |
---|
8 | <h1>Class Ext.air.SystemTray</h1> |
---|
9 | <table cellspacing="0"> |
---|
10 | <tr><td class="label">Package:</td><td class="hd-info">Ext.air</td></tr> |
---|
11 | <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/SystemTray.js" target="_blank">SystemTray.js</a></td></tr> |
---|
12 | <tr><td class="label">Class:</td><td class="hd-info">SystemTray</td></tr> |
---|
13 | <tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr> |
---|
14 | </table> |
---|
15 | <div class="description"> |
---|
16 | *<br><br><i>This class is a singleton and cannot be created directly.</i> </div> |
---|
17 | |
---|
18 | <div class="hr"></div> |
---|
19 | <a id="Ext.air.SystemTray-props"></a> |
---|
20 | <h2>Public Properties</h2> |
---|
21 | <div class="no-members">This class has no public properties.</div> <a id="Ext.air.SystemTray-methods"></a> |
---|
22 | <h2>Public Methods</h2> |
---|
23 | <table cellspacing="0" class="member-table"> |
---|
24 | <tr> |
---|
25 | <th class="sig-header" colspan="2">Method</th> |
---|
26 | <th class="msource-header">Defined By</th> |
---|
27 | </tr> |
---|
28 | <tr class="method-row expandable"> |
---|
29 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
30 | <td class="sig"> |
---|
31 | <a id="Ext.air.SystemTray-bounce"></a> |
---|
32 | <b>bounce</b>( <code>priority {air.NotificationType}</code> ) : void <div class="mdesc"> |
---|
33 | <div class="short">Bounce the OS X dock icon. Accepts a priority to notify the user |
---|
34 | whether the event which has just occurred is informa...</div> |
---|
35 | <div class="long"> |
---|
36 | Bounce the OS X dock icon. Accepts a priority to notify the user |
---|
37 | whether the event which has just occurred is informational (single bounce) |
---|
38 | or critcal (continual bounce). <div class="mdetail-params"> |
---|
39 | <strong>Parameters:</strong> |
---|
40 | <ul><li><code>{air.NotificationType}</code> : priority<div class="sub-desc">The priorities are air.NotificationType.INFORMATIONAL and air.NotificationType.CRITICAL.</div></li> </ul> |
---|
41 | <strong>Returns:</strong> |
---|
42 | <ul> |
---|
43 | <li><code>void</code></li> |
---|
44 | </ul> |
---|
45 | </div> |
---|
46 | </div> |
---|
47 | </div> |
---|
48 | </td> |
---|
49 | <td class="msource">SystemTray</td> |
---|
50 | </tr> |
---|
51 | <tr class="method-row alt expandable"> |
---|
52 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
53 | <td class="sig"> |
---|
54 | <a id="Ext.air.SystemTray-hideIcon"></a> |
---|
55 | <b>hideIcon</b>() : void <div class="mdesc"> |
---|
56 | <div class="short">Hide the custom icon</div> |
---|
57 | <div class="long"> |
---|
58 | Hide the custom icon <div class="mdetail-params"> |
---|
59 | <strong>Parameters:</strong> |
---|
60 | <ul><li>None.</li> </ul> |
---|
61 | <strong>Returns:</strong> |
---|
62 | <ul> |
---|
63 | <li><code>void</code></li> |
---|
64 | </ul> |
---|
65 | </div> |
---|
66 | </div> |
---|
67 | </div> |
---|
68 | </td> |
---|
69 | <td class="msource">SystemTray</td> |
---|
70 | </tr> |
---|
71 | <tr class="method-row expandable"> |
---|
72 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
73 | <td class="sig"> |
---|
74 | <a id="Ext.air.SystemTray-setIcon"></a> |
---|
75 | <b>setIcon</b>( <code>String icon</code>, <code>String tooltip</code>, <code>Boolean initWithIcon</code> ) : void <div class="mdesc"> |
---|
76 | <div class="short">Sets the Icon and tooltip for the currently running application in the |
---|
77 | SystemTray or Dock depending on the operating ...</div> |
---|
78 | <div class="long"> |
---|
79 | Sets the Icon and tooltip for the currently running application in the |
---|
80 | SystemTray or Dock depending on the operating system. <div class="mdetail-params"> |
---|
81 | <strong>Parameters:</strong> |
---|
82 | <ul><li><code>icon</code> : String<div class="sub-desc">Icon to load with a URLRequest</div></li><li><code>tooltip</code> : String<div class="sub-desc">Tooltip to use when mousing over the icon</div></li><li><code>initWithIcon</code> : Boolean<div class="sub-desc">Boolean to initialize with icon immediately</div></li> </ul> |
---|
83 | <strong>Returns:</strong> |
---|
84 | <ul> |
---|
85 | <li><code>void</code></li> |
---|
86 | </ul> |
---|
87 | </div> |
---|
88 | </div> |
---|
89 | </div> |
---|
90 | </td> |
---|
91 | <td class="msource">SystemTray</td> |
---|
92 | </tr> |
---|
93 | <tr class="method-row alt expandable"> |
---|
94 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
95 | <td class="sig"> |
---|
96 | <a id="Ext.air.SystemTray-setMenu"></a> |
---|
97 | <b>setMenu</b>( <code>Array actions</code> ) : void <div class="mdesc"> |
---|
98 | <div class="short">Sets a menu for the icon</div> |
---|
99 | <div class="long"> |
---|
100 | Sets a menu for the icon <div class="mdetail-params"> |
---|
101 | <strong>Parameters:</strong> |
---|
102 | <ul><li><code>actions</code> : Array<div class="sub-desc">Configurations for Ext.air.MenuItem's</div></li> </ul> |
---|
103 | <strong>Returns:</strong> |
---|
104 | <ul> |
---|
105 | <li><code>void</code></li> |
---|
106 | </ul> |
---|
107 | </div> |
---|
108 | </div> |
---|
109 | </div> |
---|
110 | </td> |
---|
111 | <td class="msource">SystemTray</td> |
---|
112 | </tr> |
---|
113 | <tr class="method-row expandable"> |
---|
114 | <td class="micon"><a class="exi" href="#expand"> </a></td> |
---|
115 | <td class="sig"> |
---|
116 | <a id="Ext.air.SystemTray-showIcon"></a> |
---|
117 | <b>showIcon</b>() : void <div class="mdesc"> |
---|
118 | <div class="short">Show the custom icon</div> |
---|
119 | <div class="long"> |
---|
120 | Show the custom icon <div class="mdetail-params"> |
---|
121 | <strong>Parameters:</strong> |
---|
122 | <ul><li>None.</li> </ul> |
---|
123 | <strong>Returns:</strong> |
---|
124 | <ul> |
---|
125 | <li><code>void</code></li> |
---|
126 | </ul> |
---|
127 | </div> |
---|
128 | </div> |
---|
129 | </div> |
---|
130 | </td> |
---|
131 | <td class="msource">SystemTray</td> |
---|
132 | </tr> |
---|
133 | </table> |
---|
134 | <a id="Ext.air.SystemTray-events"></a> |
---|
135 | <h2>Public Events</h2> |
---|
136 | <div class="no-members">This class has no public events.</div> |
---|
137 | </div> |
---|