Overview | Package | Class | Tree | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Interface javax.speech.synthesis.SynthesizerListener

Implementing Classes:
SynthesizerAdapter

public abstract interface SynthesizerListener
extends EngineListener
An extension to the 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.

See Also:
SynthesizerListener, Synthesizer, Engine, addEngineListener, removeEngineListener

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

queueEmptied

public void queueEmptied(SynthesizerEvent e)
An QUEUE_EMPTIED event has occurred indicating that the text output queue of the Synthesizer has emptied. The Synthesizer is in the QUEUE_EMPTY state.

See Also:
QUEUE_EMPTIED, QUEUE_EMPTY

queueUpdated

public void queueUpdated(SynthesizerEvent e)
An QUEUE_UPDATED event has occurred indicating that the speaking queue has changed. The Synthesizer is in the QUEUE_NOT_EMPTY state.

See Also:
QUEUE_UPDATED, QUEUE_NOT_EMPTY

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