Package com.sun.speech.engine
Class SpeechEventWrapper
- java.lang.Object
-
- SpeechEvent
-
- com.sun.speech.engine.SpeechEventWrapper
-
public class SpeechEventWrapper extends SpeechEvent
Wraps an arbitrary event object (fromEventObject
) in aSpeechEvent
so that it can be dispatched through the speech event dispatch mechanism. One use of this is in theBaseEngineProperties
class that needs to wrap and issuePropertyChangeEvents
.- See Also:
SpeechEventUtilities
,EventObject
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.EventObject
eventObject
The wrapped event.protected static int
WRAPPER_ID
Use an id that won't be confused with JSAPI event ids.
-
Constructor Summary
Constructors Constructor Description SpeechEventWrapper(java.util.EventObject e)
Class constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.EventObject
getEventObject()
Gets the wrapped event.
-