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.GrammarAdapter

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

public class GrammarAdapter
extends Object
implements GrammarListener
The adapter which receives grammar events. 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 grammarActivated(GrammarEvent e)
          A GRAMMAR_ACTIVATED event occurred.
void grammarChangesCommitted(GrammarEvent e)
          Event issued when a Recognizer has committed changes to a Grammar.
void grammarDeactivated(GrammarEvent e)
          A GRAMMAR_DEACTIVATED event occurred.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Method Detail

grammarChangesCommitted

public void grammarChangesCommitted(GrammarEvent e)
Event issued when a Recognizer has committed changes to a Grammar. The Grammar interface documents how and when changes are committed.

Specified by:
grammarChangesCommitted in interface GrammarListener
See Also:
GRAMMAR_CHANGES_COMMITTED

grammarActivated

public void grammarActivated(GrammarEvent e)
A GRAMMAR_ACTIVATED event occurred.

Specified by:
grammarActivated in interface GrammarListener
See Also:
GRAMMAR_ACTIVATED

grammarDeactivated

public void grammarDeactivated(GrammarEvent e)
A GRAMMAR_DEACTIVATED event occurred.

Specified by:
grammarDeactivated in interface GrammarListener
See Also:
GRAMMAR_DEACTIVATED

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