java.lang.Object
org.monte.media.beans.AbstractBean
org.monte.media.av.AbstractMovie
- All Implemented Interfaces:
Serializable,Movie
- Direct Known Subclasses:
AVIMovie,DefaultMovie,QuickTimeMeta
AbstractMovie.- Author:
- Werner Randelshofer
- See Also:
-
Field Summary
Fields inherited from class org.monte.media.beans.AbstractBean
propertySupportFields inherited from interface org.monte.media.av.Movie
INSERTION_POINT_PROPERTY, SELECTION_END_PROPERTY, SELECTION_START_PROPERTY, URI_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the position of the insertion point in seconds.Returns the position of the out point in seconds.Returns the position of the in point in seconds.getURI()Returns the URI associated with this movie.voidsetInsertionPoint(Rational newValue) Sets the position of the insertion point in seconds.voidsetSelectionEnd(Rational newValue) Sets the position of the out point in seconds.voidsetSelectionStart(Rational newValue) Sets the position of the in point in seconds.voidMethods inherited from class org.monte.media.beans.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.monte.media.av.Movie
addPropertyChangeListener, getDuration, getFileFormat, getFormat, getReader, getTrackCount, removePropertyChangeListener, sampleToTime, timeToSample
-
Constructor Details
-
AbstractMovie
public AbstractMovie()
-
-
Method Details
-
getURI
Description copied from interface:MovieReturns the URI associated with this movie. This is typically a file, but can be null if the movie only resides in memory. -
setURI
-
getInsertionPoint
Description copied from interface:MovieReturns the position of the insertion point in seconds. If a movie has a duration of n, then there are n+1 insertion points.- Specified by:
getInsertionPointin interfaceMovie
-
setInsertionPoint
Description copied from interface:MovieSets the position of the insertion point in seconds.- Specified by:
setInsertionPointin interfaceMovie
-
getSelectionStart
Description copied from interface:MovieReturns the position of the in point in seconds.- Specified by:
getSelectionStartin interfaceMovie
-
setSelectionStart
Description copied from interface:MovieSets the position of the in point in seconds.- Specified by:
setSelectionStartin interfaceMovie
-
getSelectionEnd
Description copied from interface:MovieReturns the position of the out point in seconds.- Specified by:
getSelectionEndin interfaceMovie
-
setSelectionEnd
Description copied from interface:MovieSets the position of the out point in seconds.- Specified by:
setSelectionEndin interfaceMovie
-