⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 presentation.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<!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:01 PDT 2002 --><TITLE>: Class  Presentation</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Presentation.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../quicktime/streaming/NewPresentationParams.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../quicktime/streaming/PresIdleParams.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>  &nbsp;&nbsp;<A HREF="Presentation.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">quicktime.streaming</FONT><BR>Class  Presentation</H2><PRE>java.lang.Object  |  +--<A HREF="../../quicktime/QTObject.html">quicktime.QTObject</A>        |        +--<B>quicktime.streaming.Presentation</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../quicktime/jdirect/QTStreamingLib.html">QTStreamingLib</A>, <A HREF="../../quicktime/jdirect/SharedLibrary.html">SharedLibrary</A>, com.apple.jdirect.SharedLibrary</DD></DL><HR><DL><DT>public final class <B>Presentation</B><DT>extends <A HREF="../../quicktime/QTObject.html">QTObject</A><DT>implements <A HREF="../../quicktime/jdirect/QTStreamingLib.html">QTStreamingLib</A></DL><P>The presentation class is the basis of a broadcast. It can manage one or more streams of content.   Most presentation calls can refer to a specific stream or all streams if a stream is not specified.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="fields_inherited_from_class_quicktime.jdirect.QTStreamingLib"><!-- --></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/QTStreamingLib.html">QTStreamingLib</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../quicktime/jdirect/QTStreamingLib.html#JDirect_MacOSX">JDirect_MacOSX</A>, <A HREF="../../quicktime/jdirect/QTStreamingLib.html#libraryInstance">libraryInstance</A></CODE></TD></TR></TABLE>&nbsp;<!-- ======== 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/streaming/Presentation.html#Presentation(quicktime.streaming.NewPresentationParams)">Presentation</A></B>(<A HREF="../../quicktime/streaming/NewPresentationParams.html">NewPresentationParams</A>&nbsp;params)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new presentation object from the presentation parameters</TD></TR></TABLE>&nbsp;<!-- ========== 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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#addSource(quicktime.streaming.Stream, quicktime.std.comp.Component, int)">addSource</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s,          <A HREF="../../quicktime/std/comp/Component.html">Component</A>&nbsp;sourcer,          int&nbsp;flags)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use addSourcer()</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#addSourcer(quicktime.streaming.Stream, quicktime.streaming.Sourcer, int)">addSourcer</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s,           <A HREF="../../quicktime/streaming/Sourcer.html">Sourcer</A>&nbsp;sourcer,           int&nbsp;flags)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method adds a source component to the presenter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#export(quicktime.streaming.ExportParams)">export</A></B>(<A HREF="../../quicktime/streaming/ExportParams.html">ExportParams</A>&nbsp;params)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method exports the stream settings for all streams</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#export(quicktime.streaming.ExportParams, quicktime.streaming.Stream)">export</A></B>(<A HREF="../../quicktime/streaming/ExportParams.html">ExportParams</A>&nbsp;params,       <A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method exports the stream settings</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/streaming/Presentation.html">Presentation</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#fromData(int, quicktime.util.QTPointerRef, quicktime.streaming.PresParams)">fromData</A></B>(int&nbsp;dataType,         <A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A>&nbsp;data,         <A HREF="../../quicktime/streaming/PresParams.html">PresParams</A>&nbsp;params)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new presentation object from data</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/streaming/Presentation.html">Presentation</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#fromDataRef(quicktime.std.movies.media.DataRef, quicktime.streaming.PresParams)">fromDataRef</A></B>(<A HREF="../../quicktime/std/movies/media/DataRef.html">DataRef</A>&nbsp;ref,            <A HREF="../../quicktime/streaming/PresParams.html">PresParams</A>&nbsp;params)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Not in carbon yet)</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/streaming/Presentation.html">Presentation</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#fromFile(quicktime.io.QTFile, quicktime.streaming.PresParams)">fromFile</A></B>(<A HREF="../../quicktime/io/QTFile.html">QTFile</A>&nbsp;file,         <A HREF="../../quicktime/streaming/PresParams.html">PresParams</A>&nbsp;params)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Not in carbon yet)</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getActiveSegmentDuration(quicktime.streaming.Stream)">getActiveSegmentDuration</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method gets the duration of the active segment of the presenter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getActiveSegmentStart(quicktime.streaming.Stream)">getActiveSegmentStart</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method gets the start time of the active segment of the presenter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getClip(quicktime.streaming.Stream)">getClip</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method retrieves the clipping region of the presenter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/qd/QDDimension.html">QDDimension</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getDimensions(quicktime.streaming.Stream)">getDimensions</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method gets the dimensions of the presenter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getEnable(quicktime.streaming.Stream)">getEnable</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns true if the presentation is enabled</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getFlags()">getFlags</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method retrieves the flags associated with the presentation</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/std/image/GraphicsMode.html">GraphicsMode</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getGraphicsMode(quicktime.streaming.Stream)">getGraphicsMode</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method gets the graphics mode of the presenter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getGWorld()">getGWorld</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method retrieves the GWorld of the presenter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getGWorld(quicktime.streaming.Stream)">getGWorld</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method retrieves the GWorld of the presenter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/streaming/Sourcer.html">Sourcer</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getIndSourcer(quicktime.streaming.Stream, int)">getIndSourcer</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s,              int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns a component at a given index associated with a specific stream</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/streaming/Stream.html">Stream</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getIndStream(int)">getIndStream</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method gets a stream owned by the presentation object from an index</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getLeftVolume(quicktime.streaming.Stream)">getLeftVolume</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method gets the left volume of the presenter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/std/image/Matrix.html">Matrix</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getMatrix(quicktime.streaming.Stream)">getMatrix</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method gets the matrix of the presenter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getNumSourcers(quicktime.streaming.Stream)">getNumSourcers</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns the number of source components for the presenter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/Presentation.html#getNumSources(quicktime.streaming.Stream)">getNumSources</A></B>(<A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)</CODE>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -