FileDocCategorySizeDatePackage
AppletSoundList.javaAPI DocExample814Tue May 30 21:25:22 BST 2000None

AppletSoundList

public class AppletSoundList extends Hashtable

Fields Summary
JApplet
applet
URL
baseURL
Constructors Summary
public AppletSoundList(JApplet applet, URL baseURL)

        super(5); //Initialize Hashtable with capacity of 5 entries.
        this.applet = applet;
        this.baseURL = baseURL;
    
Methods Summary
public java.applet.AudioClipgetClip(java.lang.String relativeURL)

        return (AudioClip)get(relativeURL);
    
public voidputClip(java.applet.AudioClip clip, java.lang.String relativeURL)

        put(relativeURL, clip);
    
public voidstartLoading(java.lang.String relativeURL)

        new AppletSoundLoader(applet, this,
                              baseURL, relativeURL);