public class DefaultMovie extends AbstractMovie
DefaultMovie.propertySupportIN_PROPERTY, OUT_PROPERTY, PLAYHEAD_PROPERTY| Constructor and Description |
|---|
DefaultMovie() |
| Modifier and Type | Method and Description |
|---|---|
Rational |
getDuration()
Returns the total duration of the movie in seconds.
|
Format |
getFileFormat() |
Format |
getFormat(int track) |
Rational |
getInsertionPoint()
Returns the position of the insertion point in seconds.
|
MovieReader |
getReader() |
Rational |
getSelectionEnd()
Returns the position of the out point in seconds.
|
Rational |
getSelectionStart()
Returns the position of the in point in seconds.
|
int |
getTrackCount() |
Rational |
sampleToTime(int track,
long sample) |
void |
setInsertionPoint(Rational newValue)
Sets the position of the insertion point in seconds.
|
void |
setReader(MovieReader reader) |
void |
setSelectionEnd(Rational newValue)
Sets the position of the out point in seconds.
|
void |
setSelectionStart(Rational newValue)
Sets the position of the in point in seconds.
|
long |
timeToSample(int track,
Rational time)
Returns the frame number for the specified time in seconds.
|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, removePropertyChangeListenerpublic MovieReader getReader()
public void setReader(MovieReader reader)
public Rational getDuration()
Moviepublic Rational getInsertionPoint()
Moviepublic void setInsertionPoint(Rational newValue)
Moviepublic Rational getSelectionStart()
Moviepublic void setSelectionStart(Rational newValue)
Moviepublic Rational getSelectionEnd()
Moviepublic void setSelectionEnd(Rational newValue)
Moviepublic long timeToSample(int track,
Rational time)
Moviepublic Rational sampleToTime(int track, long sample)
public int getTrackCount()
public Format getFormat(int track)
public Format getFileFormat()
Copyright © 2014. All Rights Reserved.