| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.umd.cfar.lamp.viper.gui.players.DataPlayer
edu.umd.cfar.lamp.viper.gui.players.NotFoundPlayer
This player is the one that is launched when all the others fail, or, alternatively, when the media file cannot be located.
| Field Summary | |
protected  PrefsManager | 
prefs
 | 
| Fields inherited from class edu.umd.cfar.lamp.viper.gui.players.DataPlayer | 
B_FRAME, EMPTY_FRAME, I_FRAME, logger, P_FRAME, UNKNOWN_FRAME | 
| Constructor Summary | |
NotFoundPlayer()
 | 
|
| Method Summary | |
 void | 
add(java.lang.Object o)
 | 
 void | 
destroy()
Does any cleanup required.  | 
 java.awt.Image | 
getImage()
Function returns the image with the current index.  | 
 java.awt.Image | 
getImage(Instant i)
Get the image at the given instant.  | 
 java.lang.String | 
getImageType(Instant i)
Always returns 'empty'.  | 
 Instant | 
getNow()
Get the currently loaded instant.  | 
 Rational | 
getPixelAspectRatio()
Gets the pixel aspect ratio.  | 
 PrefsManager | 
getPrefs()
 | 
 FrameRate | 
getRate()
Gets the frame rate of the video.  | 
 Span | 
getSpan()
Gets the interval of the video clip  | 
 boolean | 
hasNext()
 | 
 boolean | 
hasPrevious()
 | 
 java.lang.Object | 
next()
 | 
 int | 
nextIndex()
 | 
 java.lang.Object | 
previous()
 | 
 int | 
previousIndex()
 | 
 void | 
remove()
 | 
 void | 
set(java.lang.Object o)
 | 
 void | 
setElement(MediaElement element)
Modifies the current span and rate as indicated in the element  | 
 void | 
setMediator(ViperViewMediator mediator)
 | 
 void | 
setNow(Instant i)
Set the currently loaded instant/frame.  | 
 void | 
setPrefs(PrefsManager prefs)
 | 
| Methods inherited from class edu.umd.cfar.lamp.viper.gui.players.DataPlayer | 
createDataPlayer, getLogger | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected PrefsManager prefs
| Constructor Detail | 
public NotFoundPlayer()
| Method Detail | 
public PrefsManager getPrefs()
getPrefs in class DataPlayerpublic void setPrefs(PrefsManager prefs)
setPrefs in class DataPlayerprefs - The prefs to set.public java.awt.Image getImage()
DataPlayer
getImage in class DataPlayerpublic java.awt.Image getImage(Instant i)
DataPlayer
getImage in class DataPlayeri - 
public Span getSpan()
DataPlayer
getSpan in class DataPlayerpublic Instant getNow()
DataPlayer
getNow in class DataPlayerpublic void setNow(Instant i)
DataPlayer
setNow in class DataPlayeri - public FrameRate getRate()
DataPlayer
getRate in class DataPlayernull if the frame rate is unknownpublic void destroy()
DataPlayer
destroy in class DataPlayerpublic int nextIndex()
public int previousIndex()
public void remove()
public boolean hasNext()
public boolean hasPrevious()
public java.lang.Object next()
public java.lang.Object previous()
public void add(java.lang.Object o)
public void set(java.lang.Object o)
public Rational getPixelAspectRatio()
DataPlayer
getPixelAspectRatio in class DataPlayerpublic java.lang.String getImageType(Instant i)
getImageType in class DataPlayeri - instant to check. Any instant works.
empty-frameDataPlayer.getImageType(viper.api.time.Instant)public void setElement(MediaElement element)
setElement in class DataPlayerelement - the new metadata for the file.public void setMediator(ViperViewMediator mediator)
setMediator in class DataPlayer
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||