📄 timerecord.html
字号:
</TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="TimeRecord()"><!-- --></A><H3>TimeRecord</H3><PRE>public <B>TimeRecord</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This record is an empty record that will need to be filled out by passing it into calls. It has no value for the TimeBase field.</DL><HR><A NAME="TimeRecord(int, long)"><!-- --></A><H3>TimeRecord</H3><PRE>public <B>TimeRecord</B>(int scale, long value) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Create a TimeRecord with the supplied values for scale and time value.<DD><DL><DT><B>Parameters:</B><DD><CODE>scale</CODE> - the scale that is used to interpret the meaning of the supplied value<DD><CODE>value</CODE> - the value as expressed in scale untis.</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getValue()"><!-- --></A><H3>getValue</H3><PRE>public final long <B>getValue</B>()</PRE><DL><DD>Determines the time value of the time record.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The value of the time value.</DL></DD></DL><HR><A NAME="getScale()"><!-- --></A><H3>getScale</H3><PRE>public final int <B>getScale</B>()</PRE><DL><DD>Determines the time scale of the time record.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The value of the time scale.</DL></DD></DL><HR><A NAME="setValue(long)"><!-- --></A><H3>setValue</H3><PRE>public final void <B>setValue</B>(long value)</PRE><DL><DD>Sets the time value of the time record.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the data to store in the field.</DL></DD></DL><HR><A NAME="setScale(int)"><!-- --></A><H3>setScale</H3><PRE>public final void <B>setScale</B>(int scale)</PRE><DL><DD>Sets the time scale of the time record.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scale</CODE> - the data to store in the field.</DL></DD></DL><HR><A NAME="convertTime(quicktime.std.clocks.TimeBase)"><!-- --></A><H3>convertTime</H3><PRE>public final void <B>convertTime</B>(<A HREF="../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> newBase)</PRE><DL><DD>Convert a time from one time base into a time that is relative to another time base. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4f.htm#iqMovi1230">QuickTime::ConvertTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tr</CODE> - The time structure that contains the time value to be converted<DD><CODE>newBase</CODE> - Specifies the time base for this operation</DL></DD></DL><HR><A NAME="convertTimeScale(int)"><!-- --></A><H3>convertTimeScale</H3><PRE>public final void <B>convertTimeScale</B>(int newScale)</PRE><DL><DD>Convert a time from one time scale into a time that is relative to another time base. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4f.htm#iqMovi1233">QuickTime::ConvertTimeScale</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newScale</CODE> - The time scale</DL></DD></DL><HR><A NAME="addTime(quicktime.std.clocks.TimeRecord)"><!-- --></A><H3>addTime</H3><PRE>public final void <B>addTime</B>(<A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> source)</PRE><DL><DD>This adds two times specified in time structures. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4f.htm#iqMovi1224">QuickTime::AddTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - The source operand time base with a time value to add</DL></DD></DL><HR><A NAME="subtractTime(quicktime.std.clocks.TimeRecord)"><!-- --></A><H3>subtractTime</H3><PRE>public final void <B>subtractTime</B>(<A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> source)</PRE><DL><DD>This subtracts two times specified in time structures. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4f.htm#iqMovi1227">QuickTime::SubtractTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - The source operand time base with a time value to subtract</DL></DD></DL><HR><A NAME="getTimeBase()"><!-- --></A><H3>getTimeBase</H3><PRE>public final <A HREF="../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> <B>getTimeBase</B>()</PRE><DL><DD>Return the TimeBase that is associated with this record. If there is no TimeBase then returns null.<DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Print information about this TimeRecord object.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/util/QTPointerRef.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../quicktime/util/QTPointerRef.html">QTPointerRef</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string representing this TimeRecord object</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_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/TimeRecord.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/clocks/TimeJumpCallBack.html"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="TimeRecord.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -