java.lang.Object
org.kde.kjas.server.KJASSoundPlayer
- All Implemented Interfaces:
- java.applet.AudioClip
- public class KJASSoundPlayer
- extends java.lang.Object
- implements java.applet.AudioClip
|
Method Summary |
void |
loop()
Plays this audio clip in a continuous loop. |
void |
play()
Plays the audio clip starting from the beginning. |
void |
stop()
Stops playing this audio clip. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file
private java.net.URL file
KJASSoundPlayer
public KJASSoundPlayer(java.net.URL _file)
loop
public void loop()
- Description copied from interface:
java.applet.AudioClip
- Plays this audio clip in a continuous loop.
- Specified by:
loop in interface java.applet.AudioClip
play
public void play()
- Description copied from interface:
java.applet.AudioClip
- Plays the audio clip starting from the beginning.
- Specified by:
play in interface java.applet.AudioClip
stop
public void stop()
- Description copied from interface:
java.applet.AudioClip
- Stops playing this audio clip. There is no mechanism for restarting
at the point where the clip is stopped.
- Specified by:
stop in interface java.applet.AudioClip