org.alchar.jdtk.jsapi
Class DTKSynthesizerEvent
java.lang.Object
java.util.EventObject
javax.speech.SpeechEvent
javax.speech.EngineEvent
javax.speech.synthesis.SynthesizerEvent
org.alchar.jdtk.jsapi.DTKSynthesizerEvent
- All Implemented Interfaces:
- Serializable
public class DTKSynthesizerEvent
- extends SynthesizerEvent
This class extends the JSAPI SynthesizerEvent class. It provides a more
verbose textual event representation than the default one.
- See Also:
- Serialized Form
|
Constructor Summary |
DTKSynthesizerEvent(Synthesizer source,
int id,
boolean queueTopDiff,
long oldState,
long newState)
Create a new synthesizer event with the given parameters. |
DTKSynthesizerEvent
public DTKSynthesizerEvent(Synthesizer source,
int id,
boolean queueTopDiff,
long oldState,
long newState)
- Create a new synthesizer event with the given parameters.
- Parameters:
source - Event sourceid - Event idqueueTopDiff - Top of queue changedoldState - 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 SynthesizerEvent
- Parameters:
sb - String builder
Copyright © 2007-2009 Kris Van Hees. All Rights Reserved.