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.recognition.ResultAdapter

java.lang.Object
  |
  +--javax.speech.recognition.ResultAdapter

public class ResultAdapter
extends Object
implements ResultListener
The adapter which receives events for a Result object. 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.


Method Summary
void audioReleased(ResultEvent e)
          A AUDIO_RELEASED event has occured.
void grammarFinalized(ResultEvent e)
          A GRAMMAR_FINALIZED event has occured.
void resultAccepted(ResultEvent e)
          A RESULT_ACCEPTED event has occured.
void resultCreated(ResultEvent e)
          A RESULT_CREATED event has occured.
void resultRejected(ResultEvent e)
          A RESULT_REJECTED event has occured.
void resultUpdated(ResultEvent e)
          A RESULT_UPDATED event has occured.
void trainingInfoReleased(ResultEvent e)
          A TRAINING_INFO_RELEASED event has occured.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Method Detail

resultCreated

public void resultCreated(ResultEvent e)
A RESULT_CREATED event has occured.

Specified by:
resultCreated in interface ResultListener
See Also:
RESULT_CREATED

resultUpdated

public void resultUpdated(ResultEvent e)
A RESULT_UPDATED event has occured.

Specified by:
resultUpdated in interface ResultListener
See Also:
RESULT_UPDATED

grammarFinalized

public void grammarFinalized(ResultEvent e)
A GRAMMAR_FINALIZED event has occured.

Specified by:
grammarFinalized in interface ResultListener
See Also:
GRAMMAR_FINALIZED

resultAccepted

public void resultAccepted(ResultEvent e)
A RESULT_ACCEPTED event has occured.

Specified by:
resultAccepted in interface ResultListener
See Also:
RESULT_ACCEPTED

resultRejected

public void resultRejected(ResultEvent e)
A RESULT_REJECTED event has occured.

Specified by:
resultRejected in interface ResultListener
See Also:
RESULT_REJECTED

audioReleased

public void audioReleased(ResultEvent e)
A AUDIO_RELEASED event has occured.

Specified by:
audioReleased in interface ResultListener
See Also:
AUDIO_RELEASED

trainingInfoReleased

public void trainingInfoReleased(ResultEvent e)
A TRAINING_INFO_RELEASED event has occured.

Specified by:
trainingInfoReleased in interface ResultListener
See Also:
TRAINING_INFO_RELEASED

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