📄 timecoder.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Mon Jul 15 11:51:00 PDT 2002 --><TITLE>: Class TimeCoder</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TimeCoder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../quicktime/std/qtcomponents/TimeCodeInfo.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/std/qtcomponents/TimeCodeTime.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="TimeCoder.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">quicktime.std.qtcomponents</FONT><BR>Class TimeCoder</H2><PRE>java.lang.Object | +--<A HREF="../../../quicktime/QTObject.html">quicktime.QTObject</A> | +--<A HREF="../../../quicktime/std/comp/ComponentIdentifier.html">quicktime.std.comp.ComponentIdentifier</A> | +--<A HREF="../../../quicktime/std/comp/Component.html">quicktime.std.comp.Component</A> | +--<A HREF="../../../quicktime/std/movies/media/MediaHandler.html">quicktime.std.movies.media.MediaHandler</A> | +--<A HREF="../../../quicktime/std/movies/media/VisualMediaHandler.html">quicktime.std.movies.media.VisualMediaHandler</A> | +--<B>quicktime.std.qtcomponents.TimeCoder</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../quicktime/jdirect/InterfaceLib.html">InterfaceLib</A>, <A HREF="../../../quicktime/jdirect/PrimitivesLib.html">PrimitivesLib</A>, <A HREF="../../../quicktime/jdirect/QuickTimeLib.html">QuickTimeLib</A>, <A HREF="../../../quicktime/jdirect/SharedLibrary.html">SharedLibrary</A>, com.apple.jdirect.SharedLibrary</DD></DL><HR><DL><DT>public final class <B>TimeCoder</B><DT>extends <A HREF="../../../quicktime/std/movies/media/VisualMediaHandler.html">VisualMediaHandler</A><DT>implements <A HREF="../../../quicktime/jdirect/QuickTimeLib.html">QuickTimeLib</A></DL><P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="fields_inherited_from_class_quicktime.jdirect.QuickTimeLib"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface quicktime.jdirect.<A HREF="../../../quicktime/jdirect/QuickTimeLib.html">QuickTimeLib</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/jdirect/QuickTimeLib.html#JDirect_MacOSX">JDirect_MacOSX</A>, <A HREF="../../../quicktime/jdirect/QuickTimeLib.html#libraryInstance">libraryInstance</A>, <A HREF="../../../quicktime/jdirect/QuickTimeLib.html#name">name</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html">TimeCoder</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#fromMedia(quicktime.std.movies.media.TimeCodeMedia)">fromMedia</A></B>(<A HREF="../../../quicktime/std/movies/media/TimeCodeMedia.html">TimeCodeMedia</A> m)</CODE><BR> This method allows you to obtain a reference to a media handler component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/qtcomponents/TimeCodeInfo.html">TimeCodeInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#getAtTime(int)">getAtTime</A></B>(int mediaTime)</CODE><BR> Determines the time code from the time code handler.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/qtcomponents/TimeCodeInfo.html">TimeCodeInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#getCurrent()">getCurrent</A></B>()</CODE><BR> Determines the time code from the time code handler at the current time value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/qtcomponents/TCTextOptions.html">TCTextOptions</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#getDisplayOptions()">getDisplayOptions</A></B>()</CODE><BR> Returns the current display options for text by the TimeCoder.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#getFlags()">getFlags</A></B>()</CODE><BR> Allows you to retrieve the timecode control flags.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/util/QTHandle.html">QTHandle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#getSourceRef(quicktime.std.qtcomponents.TimeCodeDescription)">getSourceRef</A></B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeDescription.html">TimeCodeDescription</A> tcd)</CODE><BR> <B>Deprecated.</B> <I>since QTJava 5.0</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/movies/media/UserData.html">UserData</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#getUserDataSourceRef(quicktime.std.qtcomponents.TimeCodeDescription)">getUserDataSourceRef</A></B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeDescription.html">TimeCodeDescription</A> tcd)</CODE><BR> Allows you to retrieve the source information from the time code media sample.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#setDisplayOptions(quicktime.std.qtcomponents.TCTextOptions)">setDisplayOptions</A></B>(<A HREF="../../../quicktime/std/qtcomponents/TCTextOptions.html">TCTextOptions</A> textOptions)</CODE><BR> Sets the current display options for text by the TimeCoder.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#setFlags(int, int)">setFlags</A></B>(int flags, int flagsMask)</CODE><BR> Allows you to change the flags that affect how QT handles the timecode information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#setSourceRef(quicktime.std.qtcomponents.TimeCodeDescription, quicktime.util.QTHandleRef)">setSourceRef</A></B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeDescription.html">TimeCodeDescription</A> tcd, <A HREF="../../../quicktime/util/QTHandleRef.html">QTHandleRef</A> sref)</CODE><BR> Allows you to change the source information in the media sample.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#setUserDataSourceRef(quicktime.std.qtcomponents.TimeCodeDescription, quicktime.std.movies.media.UserData)">setUserDataSourceRef</A></B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeDescription.html">TimeCodeDescription</A> tcd, <A HREF="../../../quicktime/std/movies/media/UserData.html">UserData</A> udata)</CODE><BR> Allows you to change the source information in the media sample.</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -