lhmc.plugins
Class MencoderPlugin

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

public class MencoderPlugin
extends Plugin
implements java.awt.event.FocusListener, java.awt.event.ActionListener

MencoderPlugin records television shows.

Version:
0.01 Mar 2007
Author:
Cristina Roura Claver

Field Summary
protected  java.awt.GraphicsDevice device
           
protected  CustomButton focusedButton
           
protected  java.awt.Window mainWindow
           
 
Fields inherited from class lhmc.plugins.Plugin
backupFrame, mainFrame
 
Constructor Summary
MencoderPlugin()
          Constructs MencoderPlugin.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Invoked when the action button pressed occurs.
 void focusGained(java.awt.event.FocusEvent e)
           
 void focusLost(java.awt.event.FocusEvent e)
           
 void play(java.net.URL file)
          Shows the panel.
 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
 

Field Detail

device

protected java.awt.GraphicsDevice device

mainWindow

protected java.awt.Window mainWindow

focusedButton

protected CustomButton focusedButton
Constructor Detail

MencoderPlugin

public MencoderPlugin()
Constructs MencoderPlugin. Shows a list of chanels to choose wich to record.

Method Detail

play

public void play(java.net.URL file)
Shows the panel.

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

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.

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Invoked when the action button pressed occurs.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - The action event

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