lhmc.plugins
Class CddaPlayerPlugin

java.lang.Object
  extended by lhmc.plugins.Plugin
      extended by lhmc.plugins.CddaPlayerPlugin
All Implemented Interfaces:
java.awt.event.FocusListener, java.awt.event.KeyListener, java.util.EventListener

public class CddaPlayerPlugin
extends Plugin
implements java.awt.event.KeyListener, java.awt.event.FocusListener

CddaMPlayerPlugin plays an audio CD

Version:
0.01 Mar 2007
Author:
Cristina Roura Claver

Field Summary
 
Fields inherited from class lhmc.plugins.Plugin
backupFrame, mainFrame
 
Constructor Summary
CddaPlayerPlugin()
          Constructs CddaPlayerPlugin.
 
Method Summary
 void focusGained(java.awt.event.FocusEvent e)
           
 void focusLost(java.awt.event.FocusEvent e)
           
 void keyPressed(java.awt.event.KeyEvent e)
           
 void keyReleased(java.awt.event.KeyEvent e)
           
 void keyTyped(java.awt.event.KeyEvent e)
           
 void play(java.net.URL file)
          Shows the play panel and plays the first track of an audio Cd.
 void playAction()
          Plays a track of an audio Cd.
 void playAll(java.net.URL file)
          Executes a directory.
 
Methods inherited from class lhmc.plugins.Plugin
setMainFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CddaPlayerPlugin

public CddaPlayerPlugin()
Constructs CddaPlayerPlugin.

Method Detail

playAll

public void playAll(java.net.URL file)
Description copied from class: Plugin
Executes a directory.

Specified by:
playAll in class Plugin
Parameters:
file - the url directory to execute.

play

public void play(java.net.URL file)
Shows the play panel and plays the first track of an audio Cd.

Specified by:
play in class Plugin
Parameters:
file - not in use.

playAction

public void playAction()
Plays a track of an audio Cd.


focusGained

public void focusGained(java.awt.event.FocusEvent e)
Specified by:
focusGained in interface java.awt.event.FocusListener

focusLost

public void focusLost(java.awt.event.FocusEvent e)
Specified by:
focusLost in interface java.awt.event.FocusListener

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Specified by:
keyPressed in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent e)
Specified by:
keyReleased in interface java.awt.event.KeyListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent e)
Specified by:
keyTyped in interface java.awt.event.KeyListener