📄 textdescription.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:50:57 PDT 2002 --><TITLE>: Class TextDescription</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/TextDescription.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/movies/media/StreamMediaHandler.html"><B>PREV CLASS</B></A> <A HREF="../../../../quicktime/std/movies/media/TextMedia.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="TextDescription.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">quicktime.std.movies.media</FONT><BR>Class TextDescription</H2><PRE>java.lang.Object | +--<A HREF="../../../../quicktime/QTObject.html">quicktime.QTObject</A> | +--<A HREF="../../../../quicktime/util/QTHandleRef.html">quicktime.util.QTHandleRef</A> | +--<A HREF="../../../../quicktime/std/movies/media/SampleDescription.html">quicktime.std.movies.media.SampleDescription</A> | +--<B>quicktime.std.movies.media.TextDescription</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable, <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>TextDescription</B><DT>extends <A HREF="../../../../quicktime/std/movies/media/SampleDescription.html">SampleDescription</A></DL><P>This class maps the TextDescription record of the MovieToolbox. TextDescription are used when adding and getting media samples to/from Text tracks.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/TextDescription.html#kNativeSize">kNativeSize</A></B></CODE><BR> This is the size (the number of bytes) that are required for this class</TD></TR></TABLE> <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 ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/TextDescription.html#TextDescription()">TextDescription</A></B>()</CODE><BR> This constructor makes a new TextDescription object.</TD></TR></TABLE> <!-- ========== 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> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/TextDescription.html#clone()">clone</A></B>()</CODE><BR> Implementation of Cloneable Interface.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/qd/QDColor.html">QDColor</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/TextDescription.html#getBackgroundColor()">getBackgroundColor</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/TextDescription.html#getDefaultFontName()">getDefaultFontName</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/qd/text/ScrpSTElement.html">ScrpSTElement</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/TextDescription.html#getDefaultStyle()">getDefaultStyle</A></B>()</CODE><BR> Get the default style.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/qd/QDRect.html">QDRect</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/TextDescription.html#getDefaultTextBox()">getDefaultTextBox</A></B>()</CODE><BR> </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/movies/media/TextDescription.html#getDisplayFlags()">getDisplayFlags</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../quicktime/util/EndianDescriptor.html">EndianDescriptor</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/TextDescription.html#getEndianDescriptor()">getEndianDescriptor</A></B>()</CODE><BR> Returns the EndianDescriptor for this class.</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/movies/media/TextDescription.html#getTextJustification()">getTextJustification</A></B>()</CODE><BR> </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/movies/media/TextDescription.html#setBackgroundColor(quicktime.qd.QDColor)">setBackgroundColor</A></B>(<A HREF="../../../../quicktime/qd/QDColor.html">QDColor</A> bgColor)</CODE><BR> </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/movies/media/TextDescription.html#setDefaultFontName(java.lang.String)">setDefaultFontName</A></B>(java.lang.String fName)</CODE><BR> </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/movies/media/TextDescription.html#setDefaultStyle(quicktime.qd.text.ScrpSTElement)">setDefaultStyle</A></B>(<A HREF="../../../../quicktime/qd/text/ScrpSTElement.html">ScrpSTElement</A> style)</CODE><BR> Set the default style.</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/movies/media/TextDescription.html#setDefaultTextBox(quicktime.qd.QDRect)">setDefaultTextBox</A></B>(<A HREF="../../../../quicktime/qd/QDRect.html">QDRect</A> textBox)</CODE><BR> </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/movies/media/TextDescription.html#setDisplayFlags(int)">setDisplayFlags</A></B>(int flags)</CODE><BR> </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/movies/media/TextDescription.html#setTextJustification(int)">setTextJustification</A></B>(int just)</CODE><BR> </TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.std.movies.media.SampleDescription"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -