|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 VideoTypename - the name of the image
public VideoRecorder getRecorder()
getRecorder in interface VideoTypepublic boolean canRecord()
canRecord in interface VideoTypepublic java.lang.String getDescription()
getDescription in interface VideoTypepublic java.lang.String getDefaultExtension()
getDefaultExtension in interface VideoTypepublic javax.swing.filechooser.FileFilter[] getFileFilters()
getFileFilters in interface VideoTypepublic boolean isType(Video video)
isType in interface VideoTypevideo - the video
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||