Package com.sun.speech.engine
Class SpeechEventWrapper
- java.lang.Object
-
- SpeechEvent
-
- com.sun.speech.engine.SpeechEventWrapper
-
public class SpeechEventWrapper extends SpeechEventWraps an arbitrary event object (fromEventObject) in aSpeechEventso that it can be dispatched through the speech event dispatch mechanism. One use of this is in theBaseEnginePropertiesclass that needs to wrap and issuePropertyChangeEvents.- See Also:
SpeechEventUtilities,EventObject
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.EventObjecteventObjectThe wrapped event.protected static intWRAPPER_IDUse 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.EventObjectgetEventObject()Gets the wrapped event.
-