examples
Class TestEngineListener

java.lang.Object
  |
  +--examples.TestEngineListener
All Implemented Interfaces:
EngineListener, java.util.EventListener, RecognizerListener, SynthesizerListener

public class TestEngineListener
extends java.lang.Object
implements SynthesizerListener, RecognizerListener

Prints engine events (Recognizer and Synthesizer) to System.out


Constructor Summary
TestEngineListener()
           
 
Method Summary
 void changesCommitted(RecognizerEvent e)
           
 void engineAllocated(EngineEvent e)
           
 void engineAllocatingResources(EngineEvent e)
           
 void engineDeallocated(EngineEvent e)
           
 void engineDeallocatingResources(EngineEvent e)
           
 void engineError(EngineErrorEvent e)
           
 void enginePaused(EngineEvent e)
           
 void engineResumed(EngineEvent e)
           
 void focusGained(RecognizerEvent e)
           
 void focusLost(RecognizerEvent e)
           
 void queueEmptied(SynthesizerEvent e)
           
 void queueUpdated(SynthesizerEvent e)
           
 void recognizerListening(RecognizerEvent e)
           
 void recognizerProcessing(RecognizerEvent e)
           
 void recognizerSuspended(RecognizerEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestEngineListener

public TestEngineListener()
Method Detail

engineAllocated

public void engineAllocated(EngineEvent e)
Specified by:
engineAllocated in interface EngineListener

engineAllocatingResources

public void engineAllocatingResources(EngineEvent e)
Specified by:
engineAllocatingResources in interface EngineListener

engineDeallocated

public void engineDeallocated(EngineEvent e)
Specified by:
engineDeallocated in interface EngineListener

engineDeallocatingResources

public void engineDeallocatingResources(EngineEvent e)
Specified by:
engineDeallocatingResources in interface EngineListener

engineError

public void engineError(EngineErrorEvent e)
Specified by:
engineError in interface EngineListener

enginePaused

public void enginePaused(EngineEvent e)
Specified by:
enginePaused in interface EngineListener

engineResumed

public void engineResumed(EngineEvent e)
Specified by:
engineResumed in interface EngineListener

recognizerProcessing

public void recognizerProcessing(RecognizerEvent e)
Specified by:
recognizerProcessing in interface RecognizerListener

recognizerListening

public void recognizerListening(RecognizerEvent e)
Specified by:
recognizerListening in interface RecognizerListener

recognizerSuspended

public void recognizerSuspended(RecognizerEvent e)
Specified by:
recognizerSuspended in interface RecognizerListener

changesCommitted

public void changesCommitted(RecognizerEvent e)
Specified by:
changesCommitted in interface RecognizerListener

focusGained

public void focusGained(RecognizerEvent e)
Specified by:
focusGained in interface RecognizerListener

focusLost

public void focusLost(RecognizerEvent e)
Specified by:
focusLost in interface RecognizerListener

queueEmptied

public void queueEmptied(SynthesizerEvent e)
Specified by:
queueEmptied in interface SynthesizerListener

queueUpdated

public void queueUpdated(SynthesizerEvent e)
Specified by:
queueUpdated in interface SynthesizerListener