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

📄 moviepresenter.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the time scale of the player - how many ticks per second.</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/app/players/MoviePresenter.html#getTime()">getTime</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current time value of the object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../quicktime/std/clocks/TimeBase.html">TimeBase</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/players/MoviePresenter.html#getTimeBase()">getTimeBase</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current time base that provides the time foundation of this object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/players/MoviePresenter.html#getVolume()">getVolume</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the volume setting (0 is silent, 1 is unity gain).</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/app/players/MoviePresenter.html#isMuted()">isMuted</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current mute status.</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/app/players/MoviePresenter.html#isPresenting()">isPresenting</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the MoviePresenter is presenting its movie to a destination QDGraphics.</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/app/players/MoviePresenter.html#movieChanged()">movieChanged</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If an application requires the MoviePresenter to explicitly invalidate its TwoDSprite Presenter, or redraw its offscreen image due to some change in the Movie (other than normal playback of the Movie) then it should signify this by calling this method.</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/app/players/MoviePresenter.html#redraw(quicktime.qd.Region)">redraw</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A>&nbsp;invalidRgn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QTCanvas calls this method when the client should redraw itself.</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/app/players/MoviePresenter.html#removedFromCompositor(quicktime.app.anim.SWCompositor)">removedFromCompositor</A></B>(<A HREF="../../../quicktime/app/anim/SWCompositor.html">SWCompositor</A>&nbsp;c)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When a dynamic image class is removed from a SWCompositor this method is called to allow the class to cleanup any of the invalidation processes it had established in the addedToCompositor call.</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/app/players/MoviePresenter.html#removeDrawingListener(quicktime.app.display.DrawingListener)">removeDrawingListener</A></B>(<A HREF="../../../quicktime/app/display/DrawingListener.html">DrawingListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes an object that is a listener of the MoviePlayer.</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/app/players/MoviePresenter.html#setGWorld(quicktime.qd.QDGraphics)">setGWorld</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;cgp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QTCanvas calls this method to give the client the QDGraphics object it should  use to do its drawing.</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/app/players/MoviePresenter.html#setMuted(boolean)">setMuted</A></B>(boolean&nbsp;flag)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allows the muting of the specific channel.</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/app/players/MoviePresenter.html#setRate(float)">setRate</A></B>(float&nbsp;rate)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the Timeable's playback rate.</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/app/players/MoviePresenter.html#setTime(int)">setTime</A></B>(int&nbsp;time)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the player to the time specified.</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/app/players/MoviePresenter.html#setVolume(float)">setVolume</A></B>(float&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the volume.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.image.ImagePresenter"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.app.image.<A HREF="../../../quicktime/app/image/ImagePresenter.html">ImagePresenter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/image/ImagePresenter.html#addedTo(java.lang.Object)">addedTo</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#doDraw()">doDraw</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#fromFile(quicktime.io.QTFile)">fromFile</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#fromGraphicsImporter(quicktime.std.image.GraphicsImporter)">fromGraphicsImporter</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#fromGraphicsImporterDrawer(quicktime.app.image.GraphicsImporterDrawer)">fromGraphicsImporterDrawer</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#fromGWorld(quicktime.qd.QDGraphics)">fromGWorld</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#fromGWorld(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, int, quicktime.std.image.CodecComponent)">fromGWorld</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#fromImageSequence(quicktime.app.image.ImageDataSequence, int)">fromImageSequence</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#fromImageSpec(quicktime.app.image.ImageSpec)">fromImageSpec</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#fromPict(quicktime.qd.Pict)">fromPict</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#fromQTImage(quicktime.util.EncodedImage, quicktime.std.image.ImageDescription)">fromQTImage</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#getClip()">getClip</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#getDescription()">getDescription</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#getDisplayBounds()">getDisplayBounds</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#getDSequence()">getDSequence</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#getGraphicsMode()">getGraphicsMode</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#getGWorld()">getGWorld</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#getImage()">getImage</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#getInitialSize()">getInitialSize</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#getMatrix()">getMatrix</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#getOriginalSize()">getOriginalSize</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#isRedrawOptimised()">isRedrawOptimised</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#removedFrom(java.lang.Object)">removedFrom</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#removeImageData()">removeImageData</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#setClip(quicktime.qd.Region)">setClip</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#setDisplayBounds(quicktime.qd.QDRect)">setDisplayBounds</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#setGraphicsMode(quicktime.std.image.GraphicsMode)">setGraphicsMode</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#setImageData(quicktime.util.EncodedImage)">setImageData</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#setImageData(quicktime.util.EncodedImage, quicktime.std.image.ImageDescription)">setImageData</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#setLocation(int, int)">setLocation</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#setMatrix(quicktime.std.image.Matrix)">setMatrix</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#setRedrawOptimised(boolean)">setRedrawOptimised</A>, <A HREF="../../../quicktime/app/image/ImagePresenter.html#toString()">toString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.image.Compositable"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.image.<A HREF="../../../quicktime/app/image/Compositable.html">Compositable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/image/Compositable.html#getGraphicsMode()">getGraphicsMode</A>, <A HREF="../../../quicktime/app/image/Compositable.html#setGraphicsMode(quicktime.std.image.GraphicsMode)">setGraphicsMode</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.app.image.ImageSpec"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.image.<A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/image/ImageSpec.html#getDescription()">getDescription</A>, <A HREF="../../../quicktime/app/image/ImageSpec.html#getImage()">getImage</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="spritePresenter"><!-- --></A><H3>spritePresenter</H3><PRE>protected <A HREF="../../../quicktime/app/anim/TwoDSprite.html">TwoDSprite</A> <B>spritePresenter</B></PRE><DL></DL><!-- ========= 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="MoviePresenter(quicktime.std.movies.Movie)"><!-- --></A><H3>MoviePresenter</H3><PRE>public <B>MoviePresenter</B>(<A HREF="../../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;m)               throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Create a MoviePresenter with the supplied movie. The movie will be rendered into a default offscreen QDGraphics and the pixel data of the QDGraphics buffer becomes the image data that this presenter presents.<DD><DL><DT><B>Parameters:</B><DD><CODE>m</CODE> - the movie that is rendered</DL></DD></DL><HR><A NAME="MoviePresenter(quicktime.std.movies.Movie, quicktime.qd.QDGraphics)"><!-- --></A><H3>MoviePresenter</H3><PRE>public <B>MoviePresenter</B>(<A HREF="../../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;m,                      <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;g)               throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Create a MoviePresenter with the supplied movie. The movie will be rendered into the supplied offscreen QDGraphics and the pixel data of the QDGraphics buffer becomes the image data that this presenter presents.<DD><DL><DT><B>Parameters:</B><DD><CODE>m</CODE> - the movie that is rendered<DD><CODE>g</CODE> - the offscreen QDGraphics that the effect is rendered into.</DL></DD></DL>

⌨️ 快捷键说明

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