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

源代码在线查看: timecodemedia.html

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

相关代码

				





: Class  TimeCodeMedia












  
      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  TimeCodeMedia

java.lang.Object
  |
  +--quicktime.QTObject
        |
        +--quicktime.std.movies.media.Media
              |
              +--quicktime.std.movies.media.TimeCodeMedia


All Implemented Interfaces: InterfaceLib, PrimitivesLib, QuickTimeLib, SharedLibrary, com.apple.jdirect.SharedLibrary



public final class TimeCodeMediaextends Media


The TimeCodeMedia class repesents time code media in QuickTime.












Fields inherited from interface quicktime.jdirect.QuickTimeLib


JDirect_MacOSX, libraryInstance, name


 






Constructor Summary


TimeCodeMedia(Track itsTrack,
              int timeScale)


          This constructor creates a media struct for the specified Track object.


TimeCodeMedia(Track itsTrack,
              int timeScale,
              DataRef dataRef)


          This constructor creates a media struct for the specified Track object.


 






Method Summary



 TimeCodeDescription
getTimeCodeDescription(int index)


          This method allows you to retrieve a sample description from a media.



 TimeCoder
getTimeCodeHandler()


          This method allows you to obtain a reference to a media handler component.


 


Methods inherited from class quicktime.std.movies.media.Media


addDataRef, addSample, addSampleReference, addSampleReference, beginEdits, copyUserData, copyUserDataFromMedia, copyUserDataToMedia, endEdits, fromTrack, getCreationTime, getDataHandler, getDataHandlerDescription, getDataRef, getDataRefCount, getDataSize, getDuration, getHandler, getHandlerDescription, getInputMap, getLanguage, getModificationTime, getNextInterestingTime, getPlayHints, getPlayHints, getPreferredChunkSize, getPropertyAtom, getQuality, getSample, getSampleCount, getSampleDescription, getSampleDescriptionCount, getSampleReference, getSampleReferences, getShadowSync, getSyncSampleCount, getTimeScale, getTrack, getTrackMedia, getUserData, loadIntoRam, newFromType, sampleNumToMediaTime, setDataHandler, setDataRef, setDataRefAttributes, setDefaultDataRefIndex, setHandler, setInputMap, setLanguage, setPlayHints, setPreferredChunkSize, setPropertyAtom, setQuality, setSampleDescription, setShadowSync, setTimeScale, timeToSampleNum


 


Methods inherited from class quicktime.QTObject


disposeQTObject, equals, ID, toString


 


Methods inherited from class java.lang.Object


getClass, hashCode, notify, notifyAll, wait, wait, wait


 











Constructor Detail




TimeCodeMedia

public TimeCodeMedia(Track itsTrack,
                     int timeScale,
                     DataRef dataRef)
              throws QTException

This constructor creates a media struct for the specified Track object.
	  QuickTime::NewTrackMedia() 
Parameters:itsTrack - Specifies the Track object this media belongs to.timeScale - Specifies the time scale of the new media.dataRef - a DataRef object specifying the default data reference for this media.





TimeCodeMedia

public TimeCodeMedia(Track itsTrack,
                     int timeScale)
              throws QTException

This constructor creates a media struct for the specified Track object.
	  QuickTime::NewTrackMedia() 
Parameters:itsTrack - Specifies the Track object this media belongs to.timeScale - Specifies the time scale of the new media.









Method Detail




getTimeCodeHandler

public TimeCoder getTimeCodeHandler()
                             throws StdQTException

This method allows you to obtain a reference to a media handler component.
 This returns the handler that is the appropriate class for this particular media. 
	  QuickTime::GetMediaHandler() 
Returns:a MediaHandler object for the media's media handler.





getTimeCodeDescription

public TimeCodeDescription getTimeCodeDescription(int index)
                                           throws QTException

This method allows you to retrieve a sample description from a media. 
 This returns the description that is the appropriate class for this particular media. 
	  QuickTime::GetMediaSampleDescription() 
Parameters:index - Specifies the index of the image description to retrieve.Returns:an TimeCodeDescription object for the specified index.












  
      Overview 
      Package 
    Class 
      Use 
      Tree 
      Deprecated 
      Index 
      Help 
  









 PREV CLASS 
 NEXT CLASS

  FRAMES   
 NO FRAMES



  SUMMARY:  INNER | FIELD | CONSTR | METHOD

DETAIL:  FIELD | CONSTR | METHOD








			

相关资源