|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.media.quicktime.QTVideoType
public class QTVideoType
This implements the VideoType interface with QuickTime for Java
| Field Summary | |
|---|---|
protected static java.beans.PropertyChangeListener |
errorListener
|
protected static boolean |
isQTAvailable
|
protected static java.util.TreeSet<VideoFileFilter> |
qtFileFilters
|
| Constructor Summary | |
|---|---|
QTVideoType()
Constructor queries QTSession to see if QTJava is working. |
|
QTVideoType(VideoFileFilter filter)
Constructor with a file filter for a specific container type. |
|
| Method Summary | |
|---|---|
boolean |
canRecord()
Reports whether this type can record videos |
java.lang.String |
getDefaultExtension()
Gets the name and/or description of this type. |
VideoFileFilter |
getDefaultFileFilter()
Gets the default file filter for this type. |
java.lang.String |
getDescription()
Gets the name and/or description of this type. |
VideoFileFilter[] |
getFileFilters()
Gets the file filters for this type. |
VideoRecorder |
getRecorder()
Gets a video recorder. |
Video |
getVideo(java.lang.String name)
Opens a video as a new QTVideo. |
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 static java.util.TreeSet<VideoFileFilter> qtFileFilters
protected static java.beans.PropertyChangeListener errorListener
protected static boolean isQTAvailable
| Constructor Detail |
|---|
public QTVideoType()
public QTVideoType(VideoFileFilter filter)
filter - the file filter
java.lang.Exception| Method Detail |
|---|
public Video getVideo(java.lang.String name)
getVideo in interface VideoTypename - the name of the video
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 VideoFileFilter[] getFileFilters()
getFileFilters in interface VideoTypepublic VideoFileFilter getDefaultFileFilter()
getDefaultFileFilter 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 | ||||||||