org.alchar.jdtk.jsapi
Class DTKEngineEvent
java.lang.Object
java.util.EventObject
javax.speech.SpeechEvent
javax.speech.EngineEvent
org.alchar.jdtk.jsapi.DTKEngineEvent
- All Implemented Interfaces:
- Serializable
public class DTKEngineEvent
- extends EngineEvent
This class extends the JSAPI EngineEvent class. It provides a more verbose
textual event representation than the default one.
- See Also:
- Serialized Form
|
Constructor Summary |
DTKEngineEvent(Engine source,
int id,
long oldState,
long newState)
Create a new engine event with the given parameters. |
DTKEngineEvent
public DTKEngineEvent(Engine source,
int id,
long oldState,
long newState)
- Create a new engine event with the given parameters.
- Parameters:
source - Event sourceid - Event idoldState - Old engine statenewState - New engine state
paramString
public void paramString(StringBuilder sb)
- Add a textual representation to the given string builder.
- Overrides:
paramString in class EngineEvent
- Parameters:
sb - String builder
Copyright © 2007-2009 Kris Van Hees. All Rights Reserved.