upstream version 1.2.2
[debian/freetts] / javadoc / com / sun / speech / engine / EngineMonitor.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
2 <!--NewPage-->\r
3 <HTML>\r
4 <HEAD>\r
5 <!-- Generated by javadoc (build 1.4.2_16) on Mon Mar 09 18:20:28 CET 2009 -->\r
6 <TITLE>\r
7 EngineMonitor (FreeTTS 1.2)\r
8 </TITLE>\r
9 \r
10 <META NAME="keywords" CONTENT="com.sun.speech.engine.EngineMonitor class">\r
11 \r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">\r
13 \r
14 <SCRIPT type="text/javascript">\r
15 function windowTitle()\r
16 {\r
17     parent.document.title="EngineMonitor (FreeTTS 1.2)";\r
18 }\r
19 </SCRIPT>\r
20 \r
21 </HEAD>\r
22 \r
23 <BODY BGCOLOR="white" onload="windowTitle();">\r
24 \r
25
26 <!-- ========= START OF TOP NAVBAR ======= -->\r
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
30 <TR>\r
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
34   <TR ALIGN="center" VALIGN="top">\r
35   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
36   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
37   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
38   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
39   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
40   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
41   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
42   </TR>\r
43 </TABLE>\r
44 </TD>\r
45 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
46 </EM>\r
47 </TD>\r
48 </TR>\r
49 \r
50 <TR>\r
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
52 &nbsp;<A HREF="../../../../com/sun/speech/engine/EngineEventPanel.html" title="class in com.sun.speech.engine"><B>PREV CLASS</B></A>&nbsp;\r
53 &nbsp;<A HREF="../../../../com/sun/speech/engine/EngineMonitor.EngineMonitorEngineListener.html" title="class in com.sun.speech.engine"><B>NEXT CLASS</B></A></FONT></TD>\r
54 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
55   <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
56 &nbsp;<A HREF="EngineMonitor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
57 &nbsp;<SCRIPT type="text/javascript">\r
58   <!--\r
59   if(window==top) {\r
60     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
61   }\r
62   //-->\r
63 </SCRIPT>\r
64 <NOSCRIPT>\r
65   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
66 </NOSCRIPT>
67 \r
68 </FONT></TD>\r
69 </TR>\r
70 <TR>\r
71 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
72   SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
73 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
74 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
75 </TR>\r
76 </TABLE>\r
77 <A NAME="skip-navbar_top"></A>
78 <!-- ========= END OF TOP NAVBAR ========= -->\r
79 \r
80 <HR>\r
81 <!-- ======== START OF CLASS DATA ======== -->\r
82 <H2>\r
83 <FONT SIZE="-1">\r
84 com.sun.speech.engine</FONT>\r
85 <BR>\r
86 Class EngineMonitor</H2>\r
87 <PRE>\r
88 java.lang.Object\r
89   <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.engine.EngineMonitor</B>\r
90 </PRE>\r
91 <DL>\r
92 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/sun/speech/engine/synthesis/SynthesizerMonitor.html" title="class in com.sun.speech.engine.synthesis">SynthesizerMonitor</A></DD>\r
93 </DL>\r
94 <HR>\r
95 <DL>\r
96 <DT>public class <B>EngineMonitor</B><DT>extends java.lang.Object</DL>\r
97 \r
98 <P>\r
99 Simple GUI for monitoring events and state changes of an
100  <code>Engine</code>.  Used for debugging and testing purposes.\r
101 <P>\r
102 \r
103 <P>\r
104 <HR>\r
105 \r
106 <P>\r
107 <!-- ======== NESTED CLASS SUMMARY ======== -->\r
108 \r
109 <A NAME="nested_class_summary"><!-- --></A>
110 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
111 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
112 <TD COLSPAN=2><FONT SIZE="+2">\r
113 <B>Nested Class Summary</B></FONT></TD>\r
114 </TR>\r
115 <TR BGCOLOR="white" CLASS="TableRowColor">\r
116 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
117 <CODE>protected &nbsp;class</CODE></FONT></TD>\r
118 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.EngineMonitorEngineListener.html" title="class in com.sun.speech.engine">EngineMonitor.EngineMonitorEngineListener</A></B></CODE>\r
119 \r
120 <BR>\r
121 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handles engine events from the engine.</TD>\r
122 </TR>\r
123 </TABLE>\r
124 &nbsp;\r
125 <!-- =========== FIELD SUMMARY =========== -->\r
126 \r
127 <A NAME="field_summary"><!-- --></A>
128 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
129 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
130 <TD COLSPAN=2><FONT SIZE="+2">\r
131 <B>Field Summary</B></FONT></TD>\r
132 </TR>\r
133 <TR BGCOLOR="white" CLASS="TableRowColor">\r
134 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
135 <CODE>protected &nbsp;javax.swing.JLabel</CODE></FONT></TD>\r
136 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#allocatedLabel">allocatedLabel</A></B></CODE>\r
137 \r
138 <BR>\r
139 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The label containing the string "allocated".</TD>\r
140 </TR>\r
141 <TR BGCOLOR="white" CLASS="TableRowColor">\r
142 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
143 <CODE>protected &nbsp;javax.swing.JLabel</CODE></FONT></TD>\r
144 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#allocatingResourcesLabel">allocatingResourcesLabel</A></B></CODE>\r
145 \r
146 <BR>\r
147 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The label containing the string "allocating resources".</TD>\r
148 </TR>\r
149 <TR BGCOLOR="white" CLASS="TableRowColor">\r
150 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
151 <CODE>protected &nbsp;javax.swing.JLabel</CODE></FONT></TD>\r
152 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#deallocatedLabel">deallocatedLabel</A></B></CODE>\r
153 \r
154 <BR>\r
155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The label containing the string "deallocated".</TD>\r
156 </TR>\r
157 <TR BGCOLOR="white" CLASS="TableRowColor">\r
158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
159 <CODE>protected &nbsp;javax.swing.JLabel</CODE></FONT></TD>\r
160 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#deallocatingResourcesLabel">deallocatingResourcesLabel</A></B></CODE>\r
161 \r
162 <BR>\r
163 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The label containing the string "deallocating resources".</TD>\r
164 </TR>\r
165 <TR BGCOLOR="white" CLASS="TableRowColor">\r
166 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
167 <CODE>protected &nbsp;javax.speech.Engine</CODE></FONT></TD>\r
168 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#engine">engine</A></B></CODE>\r
169 \r
170 <BR>\r
171 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The <code>Engine</code> to monitor.</TD>\r
172 </TR>\r
173 <TR BGCOLOR="white" CLASS="TableRowColor">\r
174 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
175 <CODE>protected &nbsp;javax.speech.EngineListener</CODE></FONT></TD>\r
176 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#engineListener">engineListener</A></B></CODE>\r
177 \r
178 <BR>\r
179 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The <code>EngineListener</code> registered with the engine.</TD>\r
180 </TR>\r
181 <TR BGCOLOR="white" CLASS="TableRowColor">\r
182 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
183 <CODE>protected &nbsp;<A HREF="../../../../com/sun/speech/engine/EngineEventPanel.html" title="class in com.sun.speech.engine">EngineEventPanel</A></CODE></FONT></TD>\r
184 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#eventPanel">eventPanel</A></B></CODE>\r
185 \r
186 <BR>\r
187 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The panel used to post engine events.</TD>\r
188 </TR>\r
189 <TR BGCOLOR="white" CLASS="TableRowColor">\r
190 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
191 <CODE>protected &nbsp;javax.swing.JLabel</CODE></FONT></TD>\r
192 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#pausedLabel">pausedLabel</A></B></CODE>\r
193 \r
194 <BR>\r
195 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The label containing the string "paused".</TD>\r
196 </TR>\r
197 <TR BGCOLOR="white" CLASS="TableRowColor">\r
198 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
199 <CODE>protected &nbsp;javax.swing.JLabel</CODE></FONT></TD>\r
200 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#resumedLabel">resumedLabel</A></B></CODE>\r
201 \r
202 <BR>\r
203 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The label containing the string "resumed".</TD>\r
204 </TR>\r
205 <TR BGCOLOR="white" CLASS="TableRowColor">\r
206 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
207 <CODE>protected &nbsp;javax.swing.JPanel</CODE></FONT></TD>\r
208 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#statePanel">statePanel</A></B></CODE>\r
209 \r
210 <BR>\r
211 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The panel containing the current engine states.</TD>\r
212 </TR>\r
213 </TABLE>\r
214 &nbsp;\r
215 <!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
216 \r
217 <A NAME="constructor_summary"><!-- --></A>
218 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
219 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
220 <TD COLSPAN=2><FONT SIZE="+2">\r
221 <B>Constructor Summary</B></FONT></TD>\r
222 </TR>\r
223 <TR BGCOLOR="white" CLASS="TableRowColor">\r
224 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#EngineMonitor(javax.speech.Engine)">EngineMonitor</A></B>(javax.speech.Engine&nbsp;eng)</CODE>\r
225 \r
226 <BR>\r
227 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class constructor.</TD>\r
228 </TR>\r
229 </TABLE>\r
230 &nbsp;\r
231 <!-- ========== METHOD SUMMARY =========== -->\r
232 \r
233 <A NAME="method_summary"><!-- --></A>
234 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
235 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
236 <TD COLSPAN=2><FONT SIZE="+2">\r
237 <B>Method Summary</B></FONT></TD>\r
238 </TR>\r
239 <TR BGCOLOR="white" CLASS="TableRowColor">\r
240 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
241 <CODE>protected &nbsp;void</CODE></FONT></TD>\r
242 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#appendBuffer(java.lang.StringBuffer, java.lang.String)">appendBuffer</A></B>(java.lang.StringBuffer&nbsp;b,
243              java.lang.String&nbsp;s)</CODE>\r
244 \r
245 <BR>\r
246 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a <code>String</code> to a buffer, with each
247  <code>String</code> being separated by a ":".</TD>\r
248 </TR>\r
249 <TR BGCOLOR="white" CLASS="TableRowColor">\r
250 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
251 <CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>\r
252 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#engineStateString(long)">engineStateString</A></B>(long&nbsp;state)</CODE>\r
253 \r
254 <BR>\r
255 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <code>String</code> representing the
256  <code>state</code>.</TD>\r
257 </TR>\r
258 <TR BGCOLOR="white" CLASS="TableRowColor">\r
259 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
260 <CODE>protected &nbsp;javax.speech.EngineListener</CODE></FONT></TD>\r
261 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#getEngineListener()">getEngineListener</A></B>()</CODE>\r
262 \r
263 <BR>\r
264 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates the engine listener if necessary, and then returns it.
265  </TD>\r
266 </TR>\r
267 <TR BGCOLOR="white" CLASS="TableRowColor">\r
268 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
269 <CODE>&nbsp;java.awt.Component</CODE></FONT></TD>\r
270 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#getEventPanel()">getEventPanel</A></B>()</CODE>\r
271 \r
272 <BR>\r
273 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the panel containing the area to post engine events in.</TD>\r
274 </TR>\r
275 <TR BGCOLOR="white" CLASS="TableRowColor">\r
276 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
277 <CODE>&nbsp;java.awt.Component</CODE></FONT></TD>\r
278 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#getStatePanel()">getStatePanel</A></B>()</CODE>\r
279 \r
280 <BR>\r
281 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the panel containing the labels for representing the
282  current engine state.</TD>\r
283 </TR>\r
284 <TR BGCOLOR="white" CLASS="TableRowColor">\r
285 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
286 <CODE>protected &nbsp;void</CODE></FONT></TD>\r
287 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#handleEvent(javax.speech.EngineEvent)">handleEvent</A></B>(javax.speech.EngineEvent&nbsp;e)</CODE>\r
288 \r
289 <BR>\r
290 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handles an event from the engine.</TD>\r
291 </TR>\r
292 <TR BGCOLOR="white" CLASS="TableRowColor">\r
293 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
294 <CODE>protected &nbsp;void</CODE></FONT></TD>\r
295 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#updateEngineStateComponents()">updateEngineStateComponents</A></B>()</CODE>\r
296 \r
297 <BR>\r
298 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks the current state of the engine and makes sure the GUI
299  components reflect this state accurately.</TD>\r
300 </TR>\r
301 <TR BGCOLOR="white" CLASS="TableRowColor">\r
302 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
303 <CODE>protected &nbsp;void</CODE></FONT></TD>\r
304 <TD><CODE><B><A HREF="../../../../com/sun/speech/engine/EngineMonitor.html#updateGUIComponents()">updateGUIComponents</A></B>()</CODE>\r
305 \r
306 <BR>\r
307 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks the current state of the engine and makes sure the GUI
308  components reflect this state accurately.</TD>\r
309 </TR>\r
310 </TABLE>\r
311 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
312 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
313 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
314 <TD><B>Methods inherited from class java.lang.Object</B></TD>\r
315 </TR>\r
316 <TR BGCOLOR="white" CLASS="TableRowColor">\r
317 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>\r
318 </TR>\r
319 </TABLE>\r
320 &nbsp;\r
321 <P>\r
322 \r
323 <!-- ============ FIELD DETAIL =========== -->\r
324 \r
325 <A NAME="field_detail"><!-- --></A>
326 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
327 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
328 <TD COLSPAN=1><FONT SIZE="+2">\r
329 <B>Field Detail</B></FONT></TD>\r
330 </TR>\r
331 </TABLE>\r
332 \r
333 <A NAME="engine"><!-- --></A><H3>\r
334 engine</H3>\r
335 <PRE>\r
336 protected javax.speech.Engine <B>engine</B></PRE>\r
337 <DL>\r
338 <DD>The <code>Engine</code> to monitor.\r
339 <P>\r
340 <DL>\r
341 </DL>\r
342 </DL>\r
343 <HR>\r
344 \r
345 <A NAME="engineListener"><!-- --></A><H3>\r
346 engineListener</H3>\r
347 <PRE>\r
348 protected javax.speech.EngineListener <B>engineListener</B></PRE>\r
349 <DL>\r
350 <DD>The <code>EngineListener</code> registered with the engine.\r
351 <P>\r
352 <DL>\r
353 </DL>\r
354 </DL>\r
355 <HR>\r
356 \r
357 <A NAME="eventPanel"><!-- --></A><H3>\r
358 eventPanel</H3>\r
359 <PRE>\r
360 protected <A HREF="../../../../com/sun/speech/engine/EngineEventPanel.html" title="class in com.sun.speech.engine">EngineEventPanel</A> <B>eventPanel</B></PRE>\r
361 <DL>\r
362 <DD>The panel used to post engine events.\r
363 <P>\r
364 <DL>\r
365 </DL>\r
366 </DL>\r
367 <HR>\r
368 \r
369 <A NAME="statePanel"><!-- --></A><H3>\r
370 statePanel</H3>\r
371 <PRE>\r
372 protected javax.swing.JPanel <B>statePanel</B></PRE>\r
373 <DL>\r
374 <DD>The panel containing the current engine states.\r
375 <P>\r
376 <DL>\r
377 </DL>\r
378 </DL>\r
379 <HR>\r
380 \r
381 <A NAME="deallocatedLabel"><!-- --></A><H3>\r
382 deallocatedLabel</H3>\r
383 <PRE>\r
384 protected javax.swing.JLabel <B>deallocatedLabel</B></PRE>\r
385 <DL>\r
386 <DD>The label containing the string "deallocated".\r
387 <P>\r
388 <DL>\r
389 </DL>\r
390 </DL>\r
391 <HR>\r
392 \r
393 <A NAME="allocatingResourcesLabel"><!-- --></A><H3>\r
394 allocatingResourcesLabel</H3>\r
395 <PRE>\r
396 protected javax.swing.JLabel <B>allocatingResourcesLabel</B></PRE>\r
397 <DL>\r
398 <DD>The label containing the string "allocating resources".\r
399 <P>\r
400 <DL>\r
401 </DL>\r
402 </DL>\r
403 <HR>\r
404 \r
405 <A NAME="allocatedLabel"><!-- --></A><H3>\r
406 allocatedLabel</H3>\r
407 <PRE>\r
408 protected javax.swing.JLabel <B>allocatedLabel</B></PRE>\r
409 <DL>\r
410 <DD>The label containing the string "allocated".\r
411 <P>\r
412 <DL>\r
413 </DL>\r
414 </DL>\r
415 <HR>\r
416 \r
417 <A NAME="deallocatingResourcesLabel"><!-- --></A><H3>\r
418 deallocatingResourcesLabel</H3>\r
419 <PRE>\r
420 protected javax.swing.JLabel <B>deallocatingResourcesLabel</B></PRE>\r
421 <DL>\r
422 <DD>The label containing the string "deallocating resources".\r
423 <P>\r
424 <DL>\r
425 </DL>\r
426 </DL>\r
427 <HR>\r
428 \r
429 <A NAME="pausedLabel"><!-- --></A><H3>\r
430 pausedLabel</H3>\r
431 <PRE>\r
432 protected javax.swing.JLabel <B>pausedLabel</B></PRE>\r
433 <DL>\r
434 <DD>The label containing the string "paused".\r
435 <P>\r
436 <DL>\r
437 </DL>\r
438 </DL>\r
439 <HR>\r
440 \r
441 <A NAME="resumedLabel"><!-- --></A><H3>\r
442 resumedLabel</H3>\r
443 <PRE>\r
444 protected javax.swing.JLabel <B>resumedLabel</B></PRE>\r
445 <DL>\r
446 <DD>The label containing the string "resumed".\r
447 <P>\r
448 <DL>\r
449 </DL>\r
450 </DL>\r
451 \r
452 <!-- ========= CONSTRUCTOR DETAIL ======== -->\r
453 \r
454 <A NAME="constructor_detail"><!-- --></A>
455 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
456 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
457 <TD COLSPAN=1><FONT SIZE="+2">\r
458 <B>Constructor Detail</B></FONT></TD>\r
459 </TR>\r
460 </TABLE>\r
461 \r
462 <A NAME="EngineMonitor(javax.speech.Engine)"><!-- --></A><H3>\r
463 EngineMonitor</H3>\r
464 <PRE>\r
465 public <B>EngineMonitor</B>(javax.speech.Engine&nbsp;eng)</PRE>\r
466 <DL>\r
467 <DD>Class constructor.\r
468 <P>\r
469 <DT><B>Parameters:</B><DD><CODE>eng</CODE> - the <code>Engine</code> to watch</DL>\r
470 \r
471 <!-- ============ METHOD DETAIL ========== -->\r
472 \r
473 <A NAME="method_detail"><!-- --></A>
474 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
475 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
476 <TD COLSPAN=1><FONT SIZE="+2">\r
477 <B>Method Detail</B></FONT></TD>\r
478 </TR>\r
479 </TABLE>\r
480 \r
481 <A NAME="getEngineListener()"><!-- --></A><H3>\r
482 getEngineListener</H3>\r
483 <PRE>\r
484 protected javax.speech.EngineListener <B>getEngineListener</B>()</PRE>\r
485 <DL>\r
486 <DD>Creates the engine listener if necessary, and then returns it.
487  There should be only one.\r
488 <P>\r
489 <DD><DL>\r
490
491 <DT><B>Returns:</B><DD>the engine listener</DL>\r
492 </DD>\r
493 </DL>\r
494 <HR>\r
495 \r
496 <A NAME="getEventPanel()"><!-- --></A><H3>\r
497 getEventPanel</H3>\r
498 <PRE>\r
499 public java.awt.Component <B>getEventPanel</B>()</PRE>\r
500 <DL>\r
501 <DD>Gets the panel containing the area to post engine events in.\r
502 <P>\r
503 <DD><DL>\r
504
505 <DT><B>Returns:</B><DD>the panel containing the area to post engine events in</DL>\r
506 </DD>\r
507 </DL>\r
508 <HR>\r
509 \r
510 <A NAME="getStatePanel()"><!-- --></A><H3>\r
511 getStatePanel</H3>\r
512 <PRE>\r
513 public java.awt.Component <B>getStatePanel</B>()</PRE>\r
514 <DL>\r
515 <DD>Gets the panel containing the labels for representing the
516  current engine state.\r
517 <P>\r
518 <DD><DL>\r
519
520 <DT><B>Returns:</B><DD>the panel containing the labels for representing the
521    current engine state.</DL>\r
522 </DD>\r
523 </DL>\r
524 <HR>\r
525 \r
526 <A NAME="handleEvent(javax.speech.EngineEvent)"><!-- --></A><H3>\r
527 handleEvent</H3>\r
528 <PRE>\r
529 protected void <B>handleEvent</B>(javax.speech.EngineEvent&nbsp;e)</PRE>\r
530 <DL>\r
531 <DD>Handles an event from the engine.\r
532 <P>\r
533 <DD><DL>\r
534 <DT><B>Parameters:</B><DD><CODE>e</CODE> - the event from the engine</DL>\r
535 </DD>\r
536 </DL>\r
537 <HR>\r
538 \r
539 <A NAME="updateGUIComponents()"><!-- --></A><H3>\r
540 updateGUIComponents</H3>\r
541 <PRE>\r
542 protected void <B>updateGUIComponents</B>()</PRE>\r
543 <DL>\r
544 <DD>Checks the current state of the engine and makes sure the GUI
545  components reflect this state accurately.\r
546 <P>\r
547 <DD><DL>\r
548 </DL>\r
549 </DD>\r
550 </DL>\r
551 <HR>\r
552 \r
553 <A NAME="updateEngineStateComponents()"><!-- --></A><H3>\r
554 updateEngineStateComponents</H3>\r
555 <PRE>\r
556 protected void <B>updateEngineStateComponents</B>()</PRE>\r
557 <DL>\r
558 <DD>Checks the current state of the engine and makes sure the GUI
559  components reflect this state accurately.\r
560 <P>\r
561 <DD><DL>\r
562 </DL>\r
563 </DD>\r
564 </DL>\r
565 <HR>\r
566 \r
567 <A NAME="engineStateString(long)"><!-- --></A><H3>\r
568 engineStateString</H3>\r
569 <PRE>\r
570 protected java.lang.String <B>engineStateString</B>(long&nbsp;state)</PRE>\r
571 <DL>\r
572 <DD>Returns a <code>String</code> representing the
573  <code>state</code>.\r
574 <P>\r
575 <DD><DL>\r
576 <DT><B>Parameters:</B><DD><CODE>state</CODE> - the state to turn into a <code>String</code>
577 <DT><B>Returns:</B><DD>a <code>String</code> representing the
578    <code>state</code></DL>\r
579 </DD>\r
580 </DL>\r
581 <HR>\r
582 \r
583 <A NAME="appendBuffer(java.lang.StringBuffer, java.lang.String)"><!-- --></A><H3>\r
584 appendBuffer</H3>\r
585 <PRE>\r
586 protected void <B>appendBuffer</B>(java.lang.StringBuffer&nbsp;b,
587                             java.lang.String&nbsp;s)</PRE>\r
588 <DL>\r
589 <DD>Adds a <code>String</code> to a buffer, with each
590  <code>String</code> being separated by a ":".\r
591 <P>\r
592 <DD><DL>\r
593 <DT><B>Parameters:</B><DD><CODE>b</CODE> - the buffer to which to append <code>s</code to<DD><CODE>s</CODE> - the <code>String</code> to append to <code>b</code></DL>\r
594 </DD>\r
595 </DL>\r
596 <!-- ========= END OF CLASS DATA ========= -->\r
597 <HR>\r
598 \r
599
600 <!-- ======= START OF BOTTOM NAVBAR ====== -->\r
601 <A NAME="navbar_bottom"><!-- --></A>
602 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
603 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
604 <TR>\r
605 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
606 <A NAME="navbar_bottom_firstrow"><!-- --></A>
607 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
608   <TR ALIGN="center" VALIGN="top">\r
609   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
610   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
611   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
612   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
613   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
614   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
615   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
616   </TR>\r
617 </TABLE>\r
618 </TD>\r
619 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
620 </EM>\r
621 </TD>\r
622 </TR>\r
623 \r
624 <TR>\r
625 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
626 &nbsp;<A HREF="../../../../com/sun/speech/engine/EngineEventPanel.html" title="class in com.sun.speech.engine"><B>PREV CLASS</B></A>&nbsp;\r
627 &nbsp;<A HREF="../../../../com/sun/speech/engine/EngineMonitor.EngineMonitorEngineListener.html" title="class in com.sun.speech.engine"><B>NEXT CLASS</B></A></FONT></TD>\r
628 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
629   <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
630 &nbsp;<A HREF="EngineMonitor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
631 &nbsp;<SCRIPT type="text/javascript">\r
632   <!--\r
633   if(window==top) {\r
634     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
635   }\r
636   //-->\r
637 </SCRIPT>\r
638 <NOSCRIPT>\r
639   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
640 </NOSCRIPT>
641 \r
642 </FONT></TD>\r
643 </TR>\r
644 <TR>\r
645 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
646   SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
647 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
648 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
649 </TR>\r
650 </TABLE>\r
651 <A NAME="skip-navbar_bottom"></A>
652 <!-- ======== END OF BOTTOM NAVBAR ======= -->\r
653 \r
654 <HR>\r
655 \r
656 </BODY>\r
657 </HTML>\r