| Overview | Package | Class | Tree | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
EngineListener interface for receiving
notification of events associated with a Synthesizer.
SynthesizerListener objects are attached to and removed
from a Synthesizer by calling the addEngineListener
and removeEngineListener methods (which Synthesizer
inherits from the Engine interface).
The source for all SynthesizerEvents provided to a
SynthesizerListener is the Synthesizer.
The SynthesizerAdapter class provides a trivial implementation
of this interface.
| Method Summary | |
| void | queueEmptied(SynthesizerEvent e)
An QUEUE_EMPTIED event has occurred indicating that
the text output queue of the Synthesizer has emptied.
|
| void | queueUpdated(SynthesizerEvent e)
An QUEUE_UPDATED event has occurred indicating that
the speaking queue has changed.
|
| Method Detail |
public void queueEmptied(SynthesizerEvent e)
QUEUE_EMPTIED event has occurred indicating that
the text output queue of the Synthesizer has emptied.
The Synthesizer is in the QUEUE_EMPTY state.
public void queueUpdated(SynthesizerEvent e)
QUEUE_UPDATED event has occurred indicating that
the speaking queue has changed.
The Synthesizer is in the QUEUE_NOT_EMPTY state.
| Overview | Package | Class | Tree | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
JavaTM Speech API
Copyright 1997-1998 Sun Microsystems, Inc. All rights reserved
Send comments to javaspeech-comments@sun.com