|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSpeechEvent
com.sun.speech.engine.SpeechEventWrapper
public class SpeechEventWrapper
Wraps an arbitrary event object (from EventObject
)
in a SpeechEvent
so that it can be dispatched through
the speech event dispatch mechanism.
One use of this is in the BaseEngineProperties
class
that needs to wrap and issue PropertyChangeEvents
.
SpeechEventUtilities
,
EventObject
Field Summary | |
---|---|
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 | |
---|---|
SpeechEventWrapper(java.util.EventObject e)
Class constructor. |
Method Summary | |
---|---|
java.util.EventObject |
getEventObject()
Gets the wrapped event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static int WRAPPER_ID
protected java.util.EventObject eventObject
Constructor Detail |
---|
public SpeechEventWrapper(java.util.EventObject e)
e
- the EventObject
to wrap.Method Detail |
---|
public java.util.EventObject getEventObject()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |