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, com.apple.jdirect.SharedLibrary, SharedLibrary

public class MovieMediaHandler
extends VisualMediaHandler
implements QuickTimeLib


Field Summary
 
Fields inherited from interface quicktime.jdirect.QuickTimeLib
JDirect_MacOSX, libraryInstance, name
 
Method Summary
 DataRef getChildMovieDataReference(int dataRefID, int dataRefIndex)
          This method gets the data reference of the currently instantiated embedded movie

QuickTime::MovieMediaGetChildMovieDataReference()

 int getCurrentMoviePropertyDuration()
          This method retrieves the duration of the currently instantiated embedded movie

QuickTime::MovieMediaGetCurrentMovieProperty()

 Matrix getCurrentMoviePropertyMatrix()
          This method gets the matrix of the currently instantiated embedded movie

QuickTime::MovieMediaGetCurrentMovieProperty()

 QDRect getCurrentMoviePropertyNaturalBounds()
          This method gets the natural bounds of the currently instantiated embedded movie

QuickTime::MovieMediaGetCurrentMovieProperty()

 TimeRecord getCurrentMoviePropertyTime()
          This method gets the time record associated with the currently instantiated embedded movie

QuickTime::MovieMediaGetCurrentMovieProperty()

 int getCurrentMoviePropertyTimeScale()
          This method gets the time scale of the currently instantiated embedded movie

QuickTime::MovieMediaGetCurrentMovieProperty()

 int[] getCurrentMoviePropertyTrackList()
          This method returns an array of all the track IDs associated with the currently instantiated embedded movie

QuickTime::MovieMediaGetCurrentMovieProperty()

 int getCurrentTrackPropertyMediaType(int trackID)
          This method gets the media type of the currently instantiated embedded movie

QuickTime::MovieGetCurrentTrackProperty()

 void loadChildMovieFromDataReference(int dataRefID)
          This method loads the movie associated with a specific data reference

QuickTime::MovieMediaLoadChildMovieFromDataReference()

 void setChildMovieDataReference(int dataRefID, int dataRefType, DataRef dataRef)
          This method sets the data reference of the currently instantiated embedded movie

QuickTime::MovieMediaSetChildMovieDataReference()

 
Methods inherited from class quicktime.std.movies.media.VisualMediaHandler
getGraphicsMode, getPublicInfo, getTrackOpaque, hitTestForTargetRefCon, hitTestTargetRefCon, setGraphicsMode, setPublicInfo
 
Methods inherited from class quicktime.std.comp.Component
count
 
Methods inherited from class quicktime.std.comp.ComponentIdentifier
find, find, getInfo, toString
 
Methods inherited from class quicktime.QTObject
disposeQTObject, equals, ID
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCurrentMoviePropertyDuration

public int getCurrentMoviePropertyDuration()
                                    throws StdQTException
This method retrieves the duration of the currently instantiated embedded movie

QuickTime::MovieMediaGetCurrentMovieProperty()

Returns:
the duration of the movie
StdQTException

getCurrentMoviePropertyTimeScale

public int getCurrentMoviePropertyTimeScale()
                                     throws StdQTException
This method gets the time scale of the currently instantiated embedded movie

QuickTime::MovieMediaGetCurrentMovieProperty()

Returns:
the time scale of the movie
StdQTException

getCurrentMoviePropertyTime

public TimeRecord getCurrentMoviePropertyTime()
                                       throws QTException
This method gets the time record associated with the currently instantiated embedded movie

QuickTime::MovieMediaGetCurrentMovieProperty()

Returns:
the time of the movie as a TimeRecord
QTException

getCurrentMoviePropertyNaturalBounds

public QDRect getCurrentMoviePropertyNaturalBounds()
                                            throws StdQTException
This method gets the natural bounds of the currently instantiated embedded movie

QuickTime::MovieMediaGetCurrentMovieProperty()

Returns:
the natural bounds of the movie
StdQTException

getCurrentMoviePropertyMatrix

public Matrix getCurrentMoviePropertyMatrix()
                                     throws StdQTException
This method gets the matrix of the currently instantiated embedded movie

QuickTime::MovieMediaGetCurrentMovieProperty()

Returns:
the matrix of the movie
StdQTException

getCurrentMoviePropertyTrackList

public int[] getCurrentMoviePropertyTrackList()
                                       throws StdQTException
This method returns an array of all the track IDs associated with the currently instantiated embedded movie

QuickTime::MovieMediaGetCurrentMovieProperty()

Returns:
an array of track IDs of the movie
StdQTException

getCurrentTrackPropertyMediaType

public int getCurrentTrackPropertyMediaType(int trackID)
                                     throws StdQTException
This method gets the media type of the currently instantiated embedded movie

QuickTime::MovieGetCurrentTrackProperty()

Parameters:
trackID - the ID of the track to return the type of
Returns:
the media type of the movie
StdQTException

getChildMovieDataReference

public DataRef getChildMovieDataReference(int dataRefID,
                                          int dataRefIndex)
                                   throws QTException
This method gets the data reference of the currently instantiated embedded movie

QuickTime::MovieMediaGetChildMovieDataReference()

Parameters:
dataRefID - the ID of the data reference to retrieve
dataRefIndex - the index of the data reference to retrieve
Returns:
the DataRef of the movie
QTException

setChildMovieDataReference

public void setChildMovieDataReference(int dataRefID,
                                       int dataRefType,
                                       DataRef dataRef)
                                throws StdQTException
This method sets the data reference of the currently instantiated embedded movie

QuickTime::MovieMediaSetChildMovieDataReference()

Parameters:
dataRefID - the ID of the data ref to set
dataRefType - the type of the data ref to set
dataRef - the data ref to set
StdQTException

loadChildMovieFromDataReference

public void loadChildMovieFromDataReference(int dataRefID)
                                     throws StdQTException
This method loads the movie associated with a specific data reference

QuickTime::MovieMediaLoadChildMovieFromDataReference()

Parameters:
dataRefID - the dataReference ID to be used
StdQTException