lhmc.plugins
Class CddaPlayerPlugin
java.lang.Object
lhmc.plugins.Plugin
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CddaPlayerPlugin
public CddaPlayerPlugin()
- Constructs CddaPlayerPlugin.
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