add ant stuff
[debian/freetts] / javadoc / com / sun / speech / engine / synthesis / SynthesizerSelector.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:29 CET 2009 -->\r
6 <TITLE>\r
7 SynthesizerSelector (FreeTTS 1.2)\r
8 </TITLE>\r
9 \r
10 <META NAME="keywords" CONTENT="com.sun.speech.engine.synthesis.SynthesizerSelector 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="SynthesizerSelector (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/synthesis/SynthesizerMonitor.html" title="class in com.sun.speech.engine.synthesis"><B>PREV CLASS</B></A>&nbsp;\r
53 &nbsp;<A HREF="../../../../../com/sun/speech/engine/synthesis/VoiceList.html" title="class in com.sun.speech.engine.synthesis"><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="SynthesizerSelector.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;NESTED&nbsp;|&nbsp;FIELD&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;FIELD&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.synthesis</FONT>\r
85 <BR>\r
86 Class SynthesizerSelector</H2>\r
87 <PRE>\r
88 java.lang.Object\r
89   <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.engine.synthesis.SynthesizerSelector</B>\r
90 </PRE>\r
91 <HR>\r
92 <DL>\r
93 <DT>public class <B>SynthesizerSelector</B><DT>extends java.lang.Object</DL>\r
94 \r
95 <P>\r
96 GUI that displays a list of <code>Synthesizer</code> names in a
97  dialog box.  When the user makes a selection, the selected
98  <code>SynthesizerModeDesc</code> is returned to the caller.\r
99 <P>\r
100 \r
101 <P>\r
102 <HR>\r
103 \r
104 <P>\r
105 <!-- ======== NESTED CLASS SUMMARY ======== -->\r
106 \r
107 \r
108 <!-- =========== FIELD SUMMARY =========== -->\r
109 \r
110 \r
111 <!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
112 \r
113 <A NAME="constructor_summary"><!-- --></A>
114 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
115 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
116 <TD COLSPAN=2><FONT SIZE="+2">\r
117 <B>Constructor Summary</B></FONT></TD>\r
118 </TR>\r
119 <TR BGCOLOR="white" CLASS="TableRowColor">\r
120 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/SynthesizerSelector.html#SynthesizerSelector()">SynthesizerSelector</A></B>()</CODE>\r
121 \r
122 <BR>\r
123 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
124 </TR>\r
125 </TABLE>\r
126 &nbsp;\r
127 <!-- ========== METHOD SUMMARY =========== -->\r
128 \r
129 <A NAME="method_summary"><!-- --></A>
130 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
131 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
132 <TD COLSPAN=2><FONT SIZE="+2">\r
133 <B>Method Summary</B></FONT></TD>\r
134 </TR>\r
135 <TR BGCOLOR="white" CLASS="TableRowColor">\r
136 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
137 <CODE>static&nbsp;javax.speech.synthesis.SynthesizerModeDesc</CODE></FONT></TD>\r
138 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/SynthesizerSelector.html#getSynthesizerModeDesc(java.awt.Component, java.lang.String)">getSynthesizerModeDesc</A></B>(java.awt.Component&nbsp;component,
139                        java.lang.String&nbsp;appName)</CODE>\r
140 \r
141 <BR>\r
142 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asks <code>Central</code> for a list of available synthesizers.
143  </TD>\r
144 </TR>\r
145 </TABLE>\r
146 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
147 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
148 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
149 <TD><B>Methods inherited from class java.lang.Object</B></TD>\r
150 </TR>\r
151 <TR BGCOLOR="white" CLASS="TableRowColor">\r
152 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>\r
153 </TR>\r
154 </TABLE>\r
155 &nbsp;\r
156 <P>\r
157 \r
158 <!-- ============ FIELD DETAIL =========== -->\r
159 \r
160 \r
161 <!-- ========= CONSTRUCTOR DETAIL ======== -->\r
162 \r
163 <A NAME="constructor_detail"><!-- --></A>
164 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
165 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
166 <TD COLSPAN=1><FONT SIZE="+2">\r
167 <B>Constructor Detail</B></FONT></TD>\r
168 </TR>\r
169 </TABLE>\r
170 \r
171 <A NAME="SynthesizerSelector()"><!-- --></A><H3>\r
172 SynthesizerSelector</H3>\r
173 <PRE>\r
174 public <B>SynthesizerSelector</B>()</PRE>\r
175 <DL>\r
176 </DL>\r
177 \r
178 <!-- ============ METHOD DETAIL ========== -->\r
179 \r
180 <A NAME="method_detail"><!-- --></A>
181 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
182 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
183 <TD COLSPAN=1><FONT SIZE="+2">\r
184 <B>Method Detail</B></FONT></TD>\r
185 </TR>\r
186 </TABLE>\r
187 \r
188 <A NAME="getSynthesizerModeDesc(java.awt.Component, java.lang.String)"><!-- --></A><H3>\r
189 getSynthesizerModeDesc</H3>\r
190 <PRE>\r
191 public static javax.speech.synthesis.SynthesizerModeDesc <B>getSynthesizerModeDesc</B>(java.awt.Component&nbsp;component,
192                                                                                 java.lang.String&nbsp;appName)</PRE>\r
193 <DL>\r
194 <DD>Asks <code>Central</code> for a list of available synthesizers.
195  If there are none, returns <code>null</code>.  If there is only
196  one, returns it.  Otherwise, pops up an input dialog that gives
197  the user a choice.\r
198 <P>\r
199 <DD><DL>\r
200 <DT><B>Parameters:</B><DD><CODE>component</CODE> - the component for JOptionPane.showInputDialog<DD><CODE>appName</CODE> - the title for the input dialog
201 <DT><B>Returns:</B><DD>a <code>SynthesizerModeDesc</code> representing the
202    synthesizer to use.</DL>\r
203 </DD>\r
204 </DL>\r
205 <!-- ========= END OF CLASS DATA ========= -->\r
206 <HR>\r
207 \r
208
209 <!-- ======= START OF BOTTOM NAVBAR ====== -->\r
210 <A NAME="navbar_bottom"><!-- --></A>
211 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
212 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
213 <TR>\r
214 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
215 <A NAME="navbar_bottom_firstrow"><!-- --></A>
216 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
217   <TR ALIGN="center" VALIGN="top">\r
218   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
219   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
220   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
221   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
222   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
223   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
224   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
225   </TR>\r
226 </TABLE>\r
227 </TD>\r
228 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
229 </EM>\r
230 </TD>\r
231 </TR>\r
232 \r
233 <TR>\r
234 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
235 &nbsp;<A HREF="../../../../../com/sun/speech/engine/synthesis/SynthesizerMonitor.html" title="class in com.sun.speech.engine.synthesis"><B>PREV CLASS</B></A>&nbsp;\r
236 &nbsp;<A HREF="../../../../../com/sun/speech/engine/synthesis/VoiceList.html" title="class in com.sun.speech.engine.synthesis"><B>NEXT CLASS</B></A></FONT></TD>\r
237 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
238   <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
239 &nbsp;<A HREF="SynthesizerSelector.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
240 &nbsp;<SCRIPT type="text/javascript">\r
241   <!--\r
242   if(window==top) {\r
243     document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
244   }\r
245   //-->\r
246 </SCRIPT>\r
247 <NOSCRIPT>\r
248   <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
249 </NOSCRIPT>
250 \r
251 </FONT></TD>\r
252 </TR>\r
253 <TR>\r
254 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
255   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
256 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
257 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
258 </TR>\r
259 </TABLE>\r
260 <A NAME="skip-navbar_bottom"></A>
261 <!-- ======== END OF BOTTOM NAVBAR ======= -->\r
262 \r
263 <HR>\r
264 \r
265 </BODY>\r
266 </HTML>\r