Package com.sun.speech.engine.synthesis
Class SynthesizerSelector
java.lang.Object
com.sun.speech.engine.synthesis.SynthesizerSelector
GUI that displays a list of
Synthesizer names in a
dialog box. When the user makes a selection, the selected
SynthesizerModeDesc is returned to the caller.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SynthesizerModeDescgetSynthesizerModeDesc(Component component, String appName) AsksCentralfor a list of available synthesizers.
-
Constructor Details
-
SynthesizerSelector
public SynthesizerSelector()
-
-
Method Details
-
getSynthesizerModeDesc
AsksCentralfor a list of available synthesizers. If there are none, returnsnull. If there is only one, returns it. Otherwise, pops up an input dialog that gives the user a choice.- Parameters:
component- the component for JOptionPane.showInputDialogappName- the title for the input dialog- Returns:
- a
SynthesizerModeDescrepresenting the synthesizer to use.
-