netx.jnlp.runtime
Class AppletAudioClip
java.lang.Object
netx.jnlp.runtime.AppletAudioClip
- AudioClip
public class AppletAudioClip
extends java.lang.Object
implements AudioClip
An applet audio clip using the javax.sound API.
(package private) void | dispose() - Stops playing the clip and disposes it; the clip cannot be
played after being disposed.
|
void | loop() - Plays the clip in a continuous loop until the stop method is
called.
|
void | play() - Plays the clip from the beginning.
|
void | stop() - Stops playing the clip.
|
AppletAudioClip
public AppletAudioClip(URL location)
Creates new AudioClip. If the clip cannot be opened no
exception is thrown, instead the methods of the AudioClip
return without performing any operations.
location
- the clip location
dispose
(package private) void dispose()
Stops playing the clip and disposes it; the clip cannot be
played after being disposed.
loop
public void loop()
Plays the clip in a continuous loop until the stop method is
called.
play
public void play()
Plays the clip from the beginning.
stop
public void stop()
Stops playing the clip.