|
Copyright 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.monte.media.beans.AbstractBean
org.monte.media.AbstractMovie
org.monte.media.DefaultMovie
public class DefaultMovie
DefaultMovie.
| Field Summary |
|---|
| Fields inherited from class org.monte.media.beans.AbstractBean |
|---|
propertySupport |
| Fields inherited from interface org.monte.media.Movie |
|---|
IN_PROPERTY, OUT_PROPERTY, PLAYHEAD_PROPERTY |
| Constructor Summary | |
|---|---|
DefaultMovie()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.monte.media.beans.AbstractBean |
|---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.monte.media.Movie |
|---|
addPropertyChangeListener, removePropertyChangeListener |
| Constructor Detail |
|---|
public DefaultMovie()
| Method Detail |
|---|
public MovieReader getReader()
public void setReader(MovieReader reader)
public Rational getDuration()
Movie
public Rational getInsertionPoint()
Movie
public void setInsertionPoint(Rational newValue)
Movie
public Rational getSelectionStart()
Movie
public void setSelectionStart(Rational newValue)
Movie
public Rational getSelectionEnd()
Movie
public void setSelectionEnd(Rational newValue)
Movie
public long timeToSample(int track,
Rational time)
Movie
public Rational sampleToTime(int track,
long sample)
public int getTrackCount()
public Format getFormat(int track)
public Format getFileFormat()
|
Copyright 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||