这个是java的quicktime for java 的详细使用文档

源代码在线查看: moviemediahandler.html

软件大小: 3122 K
上传用户: Rebecca_SYF
关键词: java quicktime for 文档
下载地址: 免注册下载 普通下载 VIP

相关代码

				





: Class  MovieMediaHandler












  
      Overview 
      Package 
    Class 
      Use 
      Tree 
      Deprecated 
      Index 
      Help 
  









 PREV CLASS 
 NEXT CLASS

  FRAMES   
 NO FRAMES



  SUMMARY:  INNER | FIELD | CONSTR | METHOD

DETAIL:  FIELD | CONSTR | METHOD








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 MovieMediaHandlerextends VisualMediaHandlerimplements QuickTimeLib













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



 int
getCurrentMoviePropertyDuration()


          This method retrieves the duration of the currently instantiated embedded movie



 Matrix
getCurrentMoviePropertyMatrix()


          This method gets the matrix of the currently instantiated embedded movie



 QDRect
getCurrentMoviePropertyNaturalBounds()


          This method gets the natural bounds of the currently instantiated embedded movie



 TimeRecord
getCurrentMoviePropertyTime()


          This method gets the time record associated with the currently instantiated embedded movie



 int
getCurrentMoviePropertyTimeScale()


          This method gets the time scale of the currently instantiated embedded movie



 int[]
getCurrentMoviePropertyTrackList()


          This method returns an array of all the track IDs associated with the currently 
 instantiated embedded movie



 int
getCurrentTrackPropertyMediaType(int trackID)


          This method gets the media type of the currently instantiated embedded movie



 void
loadChildMovieFromDataReference(int dataRefID)


          This method loads the movie associated with a specific data reference



 void
setChildMovieDataReference(int dataRefID,
                           int dataRefType,
                           DataRef dataRef)


          This method sets the data reference of the currently instantiated embedded movie


 


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



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 ofReturns: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 retrieveReturns: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












  
      Overview 
      Package 
    Class 
      Use 
      Tree 
      Deprecated 
      Index 
      Help 
  









 PREV CLASS 
 NEXT CLASS

  FRAMES   
 NO FRAMES



  SUMMARY:  INNER | FIELD | CONSTR | METHOD

DETAIL:  FIELD | CONSTR | METHOD








			

相关资源