jAER project on SourceForge

net.sf.jaer.graphics
Interface PlayerInterface

All Known Subinterfaces:
AEPlayerInterface
All Known Implementing Classes:
AEViewer.AEPlayer, JAERViewer.SyncPlayer

public interface PlayerInterface

General interface for a file data player

Author:
tobi

Method Summary
 int getTime()
          Return time in us in player
 boolean isChoosingFile()
          returns true if user is choosing a file
 boolean isPaused()
           
 boolean isPlayingForwards()
           
 void mark()
           
 void pause()
           
 void resume()
           
 void rewind()
           
 void setPaused(boolean yes)
           
 void setTime(int time)
           
 void startPlayback(java.io.File file)
          Starts playback
 void stopPlayback()
           
 void toggleDirection()
           
 void unmark()
           
 

Method Detail

getTime

int getTime()
Return time in us in player


isChoosingFile

boolean isChoosingFile()
returns true if user is choosing a file


isPaused

boolean isPaused()

isPlayingForwards

boolean isPlayingForwards()

mark

void mark()
          throws java.io.IOException
Throws:
java.io.IOException

pause

void pause()

resume

void resume()

rewind

void rewind()

setPaused

void setPaused(boolean yes)

setTime

void setTime(int time)

startPlayback

void startPlayback(java.io.File file)
                   throws java.io.IOException
Starts playback

Parameters:
file - the file to play
Throws:
java.io.IOException

stopPlayback

void stopPlayback()

toggleDirection

void toggleDirection()

unmark

void unmark()

jAER project on SourceForge