com.panayotis.jubler.media.player
Class AbstractPlayer

java.lang.Object
  extended by com.panayotis.jubler.tools.externals.ExtProgram
      extended by com.panayotis.jubler.media.player.VideoPlayer
          extended by com.panayotis.jubler.media.player.AbstractPlayer
Direct Known Subclasses:
MPlayer

public abstract class AbstractPlayer
extends VideoPlayer


Constructor Summary
AbstractPlayer()
           
 
Method Summary
 void cleanUp()
           
 java.lang.String[] getCommandArguments(MediaFile mfile, Subtitles sub, Time when)
           
abstract  java.lang.String getDefaultArguments()
           
 java.lang.String getLocalType()
           
 int getLocationX()
           
 int getLocationY()
           
 JExtBasicOptions getOptionsPanel()
          Get a JPanel having the GUI controls for the external program options
abstract  java.lang.String[] getTestParameters()
           
abstract  java.lang.String getTestSignature()
           
 java.lang.String getType()
           
 void setCentralLocation(int x, int y)
          Use this method to center the video player on the screen, if desired
 
Methods inherited from class com.panayotis.jubler.media.player.VideoPlayer
getIconName, getViewport, supportAudio, supportChangeSubs, supportPause, supportSeek, supportSkip, supportSpeed, supportSubDisplace
 
Methods inherited from class com.panayotis.jubler.tools.externals.ExtProgram
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPlayer

public AbstractPlayer()
Method Detail

getDefaultArguments

public abstract java.lang.String getDefaultArguments()

getTestParameters

public abstract java.lang.String[] getTestParameters()

getTestSignature

public abstract java.lang.String getTestSignature()

getType

public java.lang.String getType()
Specified by:
getType in class ExtProgram

getLocalType

public java.lang.String getLocalType()
Specified by:
getLocalType in class ExtProgram

cleanUp

public void cleanUp()
Specified by:
cleanUp in class VideoPlayer

getCommandArguments

public java.lang.String[] getCommandArguments(MediaFile mfile,
                                              Subtitles sub,
                                              Time when)

getOptionsPanel

public JExtBasicOptions getOptionsPanel()
Description copied from class: ExtProgram
Get a JPanel having the GUI controls for the external program options

Specified by:
getOptionsPanel in class ExtProgram

setCentralLocation

public void setCentralLocation(int x,
                               int y)
Description copied from class: VideoPlayer
Use this method to center the video player on the screen, if desired

Specified by:
setCentralLocation in class VideoPlayer

getLocationX

public int getLocationX()

getLocationY

public int getLocationY()