quicktime.std.movies.media
Class MovieMediaHandler
java.lang.Object
|
+--quicktime.QTObject
|
+--quicktime.std.comp.ComponentIdentifier
|
+--quicktime.std.comp.Component
|
+--quicktime.std.movies.media.MediaHandler
|
+--quicktime.std.movies.media.VisualMediaHandler
|
+--quicktime.std.movies.media.MovieMediaHandler
- All Implemented Interfaces:
- InterfaceLib, PrimitivesLib, QuickTimeLib, SharedLibrary, com.apple.jdirect.SharedLibrary
- public class MovieMediaHandler
- extends VisualMediaHandler
- implements QuickTimeLib
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
getCurrentMoviePropertyDuration
public int getCurrentMoviePropertyDuration()
throws StdQTException
- This method retrieves the duration of the currently instantiated embedded movie
- Returns:
- the duration of the movie
getCurrentMoviePropertyTimeScale
public int getCurrentMoviePropertyTimeScale()
throws StdQTException
- This method gets the time scale of the currently instantiated embedded movie
- Returns:
- the time scale of the movie
getCurrentMoviePropertyTime
public TimeRecord getCurrentMoviePropertyTime()
throws QTException
- This method gets the time record associated with the currently instantiated embedded movie
- Returns:
- the time of the movie as a TimeRecord
getCurrentMoviePropertyNaturalBounds
public QDRect getCurrentMoviePropertyNaturalBounds()
throws StdQTException
- This method gets the natural bounds of the currently instantiated embedded movie
- Returns:
- the natural bounds of the movie
getCurrentMoviePropertyMatrix
public Matrix getCurrentMoviePropertyMatrix()
throws StdQTException
- This method gets the matrix of the currently instantiated embedded movie
- Returns:
- the matrix of the movie
getCurrentMoviePropertyTrackList
public int[] getCurrentMoviePropertyTrackList()
throws StdQTException
- This method returns an array of all the track IDs associated with the currently
instantiated embedded movie
- Returns:
- an array of track IDs of the movie
getCurrentTrackPropertyMediaType
public int getCurrentTrackPropertyMediaType(int trackID)
throws StdQTException
- This method gets the media type of the currently instantiated embedded movie
- Parameters:
trackID
- the ID of the track to return the type of- Returns:
- the media type of the movie
getChildMovieDataReference
public DataRef getChildMovieDataReference(int dataRefID,
int dataRefIndex)
throws QTException
- This method gets the data reference of the currently instantiated embedded movie
- Parameters:
dataRefID
- the ID of the data reference to retrievedataRefIndex
- the index of the data reference to retrieve- Returns:
- the DataRef of the movie
setChildMovieDataReference
public void setChildMovieDataReference(int dataRefID,
int dataRefType,
DataRef dataRef)
throws StdQTException
- This method sets the data reference of the currently instantiated embedded movie
- Parameters:
dataRefID
- the ID of the data ref to setdataRefType
- the type of the data ref to setdataRef
- the data ref to set
loadChildMovieFromDataReference
public void loadChildMovieFromDataReference(int dataRefID)
throws StdQTException
- This method loads the movie associated with a specific data reference
- Parameters:
dataRefID
- the dataReference ID to be used