com.sun.speech.engine
Class BaseAudioManager

java.lang.Object
  extended bycom.sun.speech.engine.BaseAudioManager
All Implemented Interfaces:
javax.speech.AudioManager

public class BaseAudioManager
extends java.lang.Object
implements javax.speech.AudioManager

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

listeners

protected java.util.Vector listeners
List of AudioListeners registered for AudioEvents on this object.

Constructor Detail

BaseAudioManager

public BaseAudioManager()
Class constructor.

Method Detail

addAudioListener

public void addAudioListener(javax.speech.AudioListener listener)
Requests notification of AudioEvents from the AudioManager.

Specified by:
addAudioListener in interface javax.speech.AudioManager
Parameters:
listener - the listener to add

removeAudioListener

public void removeAudioListener(javax.speech.AudioListener listener)
Removes an AudioListener from the list of AudioListeners.

Specified by:
removeAudioListener in interface javax.speech.AudioManager
Parameters:
listener - the listener to remove