📄 moviepresenter.html
字号:
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/players/Playable.html#getScale()">getScale</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/players/Playable.html">Playable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current scale.</DL></DD></DL><HR><A NAME="getVolume()"><!-- --></A><H3>getVolume</H3><PRE>public float <B>getVolume</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Returns the volume setting (0 is silent, 1 is unity gain).<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html#getVolume()">getVolume</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html">AudioSpec</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a float</DL></DD></DL><HR><A NAME="setVolume(float)"><!-- --></A><H3>setVolume</H3><PRE>public void <B>setVolume</B>(float val) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Sets the volume.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html#setVolume(float)">setVolume</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html">AudioSpec</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>val</CODE> - the new volume</DL></DD></DL><HR><A NAME="isMuted()"><!-- --></A><H3>isMuted</H3><PRE>public boolean <B>isMuted</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Returns the current mute status.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html#isMuted()">isMuted</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html">AudioSpec</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a boolean</DL></DD></DL><HR><A NAME="setMuted(boolean)"><!-- --></A><H3>setMuted</H3><PRE>public void <B>setMuted</B>(boolean flag) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Allows the muting of the specific channel. When unmuted the AudioSpec object will return to its current volume setting.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html#setMuted(boolean)">setMuted</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/audio/AudioSpec.html">AudioSpec</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - turn muting on - true or off - false.</DL></DD></DL><HR><A NAME="movieChanged()"><!-- --></A><H3>movieChanged</H3><PRE>public void <B>movieChanged</B>()</PRE><DL><DD>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. Then in the normal course of Invalidation or Redrawing the MoviePresenter will do the correct thing. If the movie has a timeline and is playing this will be done automatically. <P> Thus a potential usage of this method is if the MoviePresenter is presenting a QuickTime VR movie that has no real time line, and has programatically changed some characteristic of the display of the Movie. In which case it needs to inform the MoviePresenter that the Movie has changed and it should do the appropriate invalidation or redraw.<DD><DL></DL></DD></DL><HR><A NAME="addedToCompositor(quicktime.app.anim.SWCompositor, quicktime.app.anim.TwoDSprite)"><!-- --></A><H3>addedToCompositor</H3><PRE>public <A HREF="../../../quicktime/app/actions/Invalidator.html">Invalidator</A> <B>addedToCompositor</B>(<A HREF="../../../quicktime/app/anim/SWCompositor.html">SWCompositor</A> c, <A HREF="../../../quicktime/app/anim/TwoDSprite.html">TwoDSprite</A> s) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Returns an object that invalidates a sprite. When a DynamicImage is a member of a SWompositor and the DynamicImage presents a changing image (for example a movie), the TwoDSprite that presents that image in the SWCompositor must be invalidated so that it will redraw the Sprites image in the next composit cycle. The Invalidator object is used to perform this function by the SWCompositor if the object itself cannot perform the invalidation. Can return null if the DynamicImage does not require the SWCompositor to invalidate it (or the object is in a state where its image won't change). <P> The Invalidators provided with objects that implement the DynamicImage interface will execute at the scale and period of the Compositor when they are created.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/DynamicImage.html#addedToCompositor(quicktime.app.anim.SWCompositor, quicktime.app.anim.TwoDSprite)">addedToCompositor</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/DynamicImage.html">DynamicImage</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the Compositor in which the DynamicImage is a member<DD><CODE>s</CODE> - the TwoDSprite that is presenting the DynamicImage's image in the Compositor. This is the sprite that must be invalidated.<DT><B>Returns:</B><DD>an Invalidator or null if invalidation is not required<DT><B>See Also: </B><DD><CODE>quicktime.app.display.SWCompositor</CODE></DL></DD></DL><HR><A NAME="removedFromCompositor(quicktime.app.anim.SWCompositor)"><!-- --></A><H3>removedFromCompositor</H3><PRE>public void <B>removedFromCompositor</B>(<A HREF="../../../quicktime/app/anim/SWCompositor.html">SWCompositor</A> c) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>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.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/DynamicImage.html#removedFromCompositor(quicktime.app.anim.SWCompositor)">removedFromCompositor</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/DynamicImage.html">DynamicImage</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the SWCompositor it is being removed from</DL></DD></DL><HR><A NAME="addDrawingListener(quicktime.app.display.DrawingListener)"><!-- --></A><H3>addDrawingListener</H3><PRE>public void <B>addDrawingListener</B>(<A HREF="../../../quicktime/app/display/DrawingListener.html">DrawingListener</A> listener)</PRE><DL><DD>Registers an object as a listener of the MoviePlayer. The object will receive notification when the MoviePlayer draws a frame<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/DrawingNotifier.html#addDrawingListener(quicktime.app.display.DrawingListener)">addDrawingListener</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/DrawingNotifier.html">DrawingNotifier</A></CODE></DL></DD><DD>Following copied from interface: <CODE>quicktime.app.display.DrawingNotifier</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the object that is to be the source of interest for the the Listener object.</DL></DD></DL><HR><A NAME="removeDrawingListener(quicktime.app.display.DrawingListener)"><!-- --></A><H3>removeDrawingListener</H3><PRE>public void <B>removeDrawingListener</B>(<A HREF="../../../quicktime/app/display/DrawingListener.html">DrawingListener</A> listener)</PRE><DL><DD>Removes an object that is a listener of the MoviePlayer. The object will no longer receive notification when the MoviePlayer draws a frame<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/DrawingNotifier.html#removeDrawingListener(quicktime.app.display.DrawingListener)">removeDrawingListener</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/DrawingNotifier.html">DrawingNotifier</A></CODE></DL></DD><DD>Following copied from interface: <CODE>quicktime.app.display.DrawingNotifier</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the object that is to be the source of interest for the the Listener 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/MoviePresenter.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/app/players/MoviePlayer.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/app/players/QTPlayer.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="MoviePresenter.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></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -