|
Copyright 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Movie
A movie provides an editable container for media data in a time and
tracks coordinate system.
| Field Summary | |
|---|---|
static java.lang.String |
IN_PROPERTY
|
static java.lang.String |
OUT_PROPERTY
|
static java.lang.String |
PLAYHEAD_PROPERTY
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
|
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()
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
Rational |
sampleToTime(int track,
long sample)
|
void |
setInsertionPoint(Rational seconds)
Sets the position of the insertion point in seconds. |
void |
setSelectionEnd(Rational out)
Sets the position of the out point in seconds. |
void |
setSelectionStart(Rational in)
Sets the position of the in point in seconds. |
long |
timeToSample(int track,
Rational seconds)
Returns the frame number for the specified time in seconds. |
| Field Detail |
|---|
static final java.lang.String PLAYHEAD_PROPERTY
static final java.lang.String IN_PROPERTY
static final java.lang.String OUT_PROPERTY
| Method Detail |
|---|
Rational getDuration()
void setInsertionPoint(Rational seconds)
Rational getInsertionPoint()
Rational getSelectionStart()
void setSelectionStart(Rational in)
Rational getSelectionEnd()
void setSelectionEnd(Rational out)
long timeToSample(int track,
Rational seconds)
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Rational sampleToTime(int track,
long sample)
int getTrackCount()
Format getFormat(int track)
Format getFileFormat()
MovieReader getReader()
|
Copyright 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||