netx.jnlp.runtime
public class AppletAudioClip extends java.lang.Object implements java.applet.AudioClip
Constructor and Description |
---|
AppletAudioClip(java.net.URL location)
Creates new AudioClip.
|
Modifier and Type | Method and Description |
---|---|
(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.
|
public AppletAudioClip(java.net.URL location)
location
- the clip locationpublic void loop()
loop
in interface java.applet.AudioClip
public void play()
play
in interface java.applet.AudioClip
public void stop()
stop
in interface java.applet.AudioClip
void dispose()