irc
Class AppletSoundHandler

java.lang.Object
  |
  +--irc.AppletSoundHandler
All Implemented Interfaces:
SoundHandler

public class AppletSoundHandler
extends java.lang.Object
implements SoundHandler

Sound handling via applet.


Constructor Summary
AppletSoundHandler(java.applet.Applet applet)
          Create a new AppletSoundHandler, using the given Applet.
 
Method Summary
 void playSound(java.lang.String name)
          Play the given sound.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppletSoundHandler

public AppletSoundHandler(java.applet.Applet applet)
Create a new AppletSoundHandler, using the given Applet.

Parameters:
applet - the applet to use.
Method Detail

playSound

public void playSound(java.lang.String name)
Description copied from interface: SoundHandler
Play the given sound.

Specified by:
playSound in interface SoundHandler
Parameters:
name - sound file name.