|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.media.gif.GifVideoType
public class GifVideoType
This implements the VideoType interface with a buffered image type.
Nested Class Summary | |
---|---|
class |
GifVideoType.GIFFileFilter
a file filter that accepts GIF files |
Field Summary | |
---|---|
protected javax.swing.filechooser.FileFilter |
gifFilter
|
Constructor Summary | |
---|---|
GifVideoType()
|
Method Summary | |
---|---|
boolean |
canRecord()
Reports whether this type can record videos |
java.lang.String |
getDefaultExtension()
Gets the name and/or description of this type. |
java.lang.String |
getDescription()
Gets the name and/or description of this type. |
javax.swing.filechooser.FileFilter[] |
getFileFilters()
Gets the file filter for this type. |
VideoRecorder |
getRecorder()
Gets a gif video recorder. |
Video |
getVideo(java.lang.String name)
Opens a named gif image as a GifVideo. |
boolean |
isType(Video video)
Return true if the specified video is this type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.swing.filechooser.FileFilter gifFilter
Constructor Detail |
---|
public GifVideoType()
Method Detail |
---|
public Video getVideo(java.lang.String name)
getVideo
in interface VideoType
name
- the name of the image
public VideoRecorder getRecorder()
getRecorder
in interface VideoType
public boolean canRecord()
canRecord
in interface VideoType
public java.lang.String getDescription()
getDescription
in interface VideoType
public java.lang.String getDefaultExtension()
getDefaultExtension
in interface VideoType
public javax.swing.filechooser.FileFilter[] getFileFilters()
getFileFilters
in interface VideoType
public boolean isType(Video video)
isType
in interface VideoType
video
- the video
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |