Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.kde.kjas.server
Class KJASSoundPlayer  view KJASSoundPlayer download KJASSoundPlayer.java

java.lang.Object
  extended byorg.kde.kjas.server.KJASSoundPlayer
All Implemented Interfaces:
java.applet.AudioClip

public class KJASSoundPlayer
extends java.lang.Object
implements java.applet.AudioClip


Field Summary
private  java.net.URL file
           
 
Constructor Summary
KJASSoundPlayer(java.net.URL _file)
           
 
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
 

Field Detail

file

private java.net.URL file
Constructor Detail

KJASSoundPlayer

public KJASSoundPlayer(java.net.URL _file)
Method Detail

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