Class Music

java.lang.Object
  extended by Music

public class Music
extends java.lang.Object


Field Summary
private  java.lang.String file
           
protected  Player player
           
private  int sleeptime
           
(package private)  javax.swing.Timer timer
           
 
Constructor Summary
Music(java.lang.String file, int time)
           
 
Method Summary
 void controllerUpdate(ControllerEvent c)
           
 void play()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

player

protected Player player

file

private java.lang.String file

sleeptime

private int sleeptime

timer

javax.swing.Timer timer
Constructor Detail

Music

public Music(java.lang.String file,
             int time)
Method Detail

controllerUpdate

public void controllerUpdate(ControllerEvent c)

play

public void play()

stop

public void stop()