lhmc.plugins
Class Plugin

java.lang.Object
  extended by lhmc.plugins.Plugin
Direct Known Subclasses:
BasicPlayerPlugin, CddaMPlayerPlugin, CddaPlayerPlugin, DvbMPlayerPlugin, DvdXinePlugin, ImagePlugin, MencoderPlugin, MPlayerPlugin, TvMPlayerPlugin

public abstract class Plugin
extends java.lang.Object

Plugin abstract class. Must overide the run method.

Version:
0.01 Mar 2007
Author:
Cristina Roura Claver

Field Summary
protected  LHMCGUI backupFrame
           
protected  LHMCGUI mainFrame
           
 
Constructor Summary
Plugin()
           
 
Method Summary
abstract  void play(java.net.URL file)
          Executes a file.
abstract  void playAll(java.net.URL file)
          Executes a directory.
 void setMainFrame(LHMCGUI mainFrame)
          Sets the main frame to mainFrame.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mainFrame

protected LHMCGUI mainFrame

backupFrame

protected LHMCGUI backupFrame
Constructor Detail

Plugin

public Plugin()
Method Detail

play

public abstract void play(java.net.URL file)
Executes a file.

Parameters:
file - the url file to execute.

playAll

public abstract void playAll(java.net.URL file)
Executes a directory.

Parameters:
file - the url directory to execute.

setMainFrame

public void setMainFrame(LHMCGUI mainFrame)
Sets the main frame to mainFrame.

Parameters:
mainFrame - The main frame of the LHMCGUI.