org.alchar.jdtk
Class CallBackEvent
java.lang.Object
java.util.EventObject
javax.speech.SpeechEvent
org.alchar.jdtk.CallBackEvent
- All Implemented Interfaces:
- Serializable
public class CallBackEvent
- extends SpeechEvent
This class implements an event that is sent when a call back is received
from the DECtalk software speech synthesizer.
- See Also:
- Serialized Form
|
Constructor Summary |
CallBackEvent(Object source,
int id)
Create a new call back event with the given source and id. |
CallBackEvent(Object source,
int id,
int mark)
Create a new call back event with the given source, id, and index mark. |
|
Method Summary |
int |
getMark()
Return the value of the index mark. |
void |
paramString(StringBuilder sb)
Add specific event related information to the string representation. |
INDEX_MARK
public static final int INDEX_MARK
- See Also:
- Constant Field Values
AUDIO_STARTED
public static final int AUDIO_STARTED
- See Also:
- Constant Field Values
AUDIO_STOPPED
public static final int AUDIO_STOPPED
- See Also:
- Constant Field Values
CallBackEvent
public CallBackEvent(Object source,
int id,
int mark)
- Create a new call back event with the given source, id, and index mark.
- Parameters:
source - Event sourceid - Event idmark - Index mark
CallBackEvent
public CallBackEvent(Object source,
int id)
- Create a new call back event with the given source and id.
- Parameters:
source - Event sourceid - Event id
getMark
public int getMark()
- Return the value of the index mark.
- Returns:
- Index mark
paramString
public void paramString(StringBuilder sb)
- Add specific event related information to the string representation.
- Overrides:
paramString in class SpeechEvent
- Parameters:
sb - String builder
Copyright © 2007-2009 Kris Van Hees. All Rights Reserved.