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

Class javax.speech.EngineAdapter

java.lang.Object
  |
  +--javax.speech.EngineAdapter
Subclasses:
RecognizerAdapter, SynthesizerAdapter

public class EngineAdapter
extends Object
implements EngineListener
Trivial implementation of the EngineListener interface that receives a EngineEvents. The methods in this class are empty; this class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.

Extended by RecognizerAdapter and SynthesizerAdapter.

See Also:
RecognizerAdapter, SynthesizerAdapter

Constructor Summary
EngineAdapter()
           
 
Method Summary
void engineAllocated(EngineEvent e)
          The Engine has been allocated.
void engineAllocatingResources(EngineEvent e)
          The Engine is being allocated.
void engineDeallocated(EngineEvent e)
          The Engine has been deallocated.
void engineDeallocatingResources(EngineEvent e)
          The Engine is being deallocated.
void engineError(EngineErrorEvent e)
          An EngineErrorEvent has occurred and the Engine is unable to continue normal operation.
void enginePaused(EngineEvent e)
          The Engine has been paused.
void engineResumed(EngineEvent e)
          The Engine has been resumed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

EngineAdapter

public EngineAdapter()
Method Detail

enginePaused

public void enginePaused(EngineEvent e)
The Engine has been paused.

Specified by:
enginePaused in interface EngineListener
See Also:
ENGINE_PAUSED

engineResumed

public void engineResumed(EngineEvent e)
The Engine has been resumed.

Specified by:
engineResumed in interface EngineListener
See Also:
ENGINE_RESUMED

engineAllocated

public void engineAllocated(EngineEvent e)
The Engine has been allocated.

Specified by:
engineAllocated in interface EngineListener
See Also:
ENGINE_ALLOCATED

engineDeallocated

public void engineDeallocated(EngineEvent e)
The Engine has been deallocated.

Specified by:
engineDeallocated in interface EngineListener
See Also:
ENGINE_DEALLOCATED

engineAllocatingResources

public void engineAllocatingResources(EngineEvent e)
The Engine is being allocated.

Specified by:
engineAllocatingResources in interface EngineListener
See Also:
ENGINE_ALLOCATING_RESOURCES

engineDeallocatingResources

public void engineDeallocatingResources(EngineEvent e)
The Engine is being deallocated.

Specified by:
engineDeallocatingResources in interface EngineListener
See Also:
ENGINE_DEALLOCATING_RESOURCES

engineError

public void engineError(EngineErrorEvent e)
An EngineErrorEvent has occurred and the Engine is unable to continue normal operation.

Specified by:
engineError in interface EngineListener

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