|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.speech.engine.BaseAudioManager
Supports the JSAPI 1.0 AudioManager
interface. Actual JSAPI implementations might want to extend
or modify this implementation.
Field Summary | |
protected java.util.Vector |
listeners
List of AudioListeners registered for
AudioEvents on this object. |
Constructor Summary | |
BaseAudioManager()
Class constructor. |
Method Summary | |
void |
addAudioListener(javax.speech.AudioListener listener)
Requests notification of AudioEvents from the
AudioManager . |
void |
removeAudioListener(javax.speech.AudioListener listener)
Removes an AudioListener from the list of
AudioListeners . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Vector listeners
AudioListeners
registered for
AudioEvents
on this object.
Constructor Detail |
public BaseAudioManager()
Method Detail |
public void addAudioListener(javax.speech.AudioListener listener)
AudioEvents
from the
AudioManager
.
addAudioListener
in interface javax.speech.AudioManager
listener
- the listener to addpublic void removeAudioListener(javax.speech.AudioListener listener)
AudioListener
from the list of
AudioListeners
.
removeAudioListener
in interface javax.speech.AudioManager
listener
- the listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |