📄 moviecontroller.html
字号:
<TD><CODE><B><A HREF="../../../quicktime/std/movies/MovieController.html#setGrowBoxBounds(quicktime.qd.QDRect)">setGrowBoxBounds</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> limits)</CODE><BR> Your application can use this action to set the limits for grow box.</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/MovieController.html#setKeysEnabled(boolean)">setKeysEnabled</A></B>(boolean enabled)</CODE><BR> Your application can use this action to enable or disable keystrokes for a movie.</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/MovieController.html#setLooping(boolean)">setLooping</A></B>(boolean looping)</CODE><BR> Your application can use this action to enable or disable looping for a movie.</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/MovieController.html#setLoopIsPalindrome(boolean)">setLoopIsPalindrome</A></B>(boolean looping)</CODE><BR> Your application can use this method to enable palindrome looping.</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/MovieController.html#setMovie(quicktime.std.movies.Movie, quicktime.qd.QDGraphics, quicktime.qd.QDPoint)">setMovie</A></B>(<A HREF="../../../quicktime/std/movies/Movie.html">Movie</A> aMovie, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> movieWindow, <A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A> location)</CODE><BR> This method replaces the current movie controlled by the movie controller with a new movie.</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/MovieController.html#setMovieClip(quicktime.qd.Region)">setMovieClip</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> theClip)</CODE><BR> This method allows you to set a movie's clipping region.</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/MovieController.html#setPlayEveryFrame(boolean)">setPlayEveryFrame</A></B>(boolean play)</CODE><BR> Your application can use this action to instruct the movie controller to play every frame in a movie.</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/MovieController.html#setPlaySelection(boolean)">setPlaySelection</A></B>(boolean play)</CODE><BR> Your application can use this action to constrain playing to the current selection.</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/MovieController.html#setPort(quicktime.qd.QDGraphics)">setPort</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> grafPtr)</CODE><BR> This method allows your application to set the graphics port for a movie controller.</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/MovieController.html#setSelectionBegin(quicktime.std.clocks.TimeRecord)">setSelectionBegin</A></B>(<A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> time)</CODE><BR> Your application can use this action to set the start time of a selection.</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/MovieController.html#setSelectionDuration(quicktime.std.clocks.TimeRecord)">setSelectionDuration</A></B>(<A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> time)</CODE><BR> Your application can use this action to set the duration of a selection.</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/MovieController.html#setUseBadge(boolean)">setUseBadge</A></B>(boolean useBadge)</CODE><BR> Your application can use this action to enable or disable a movie's playback badge.</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/MovieController.html#setVisible(boolean)">setVisible</A></B>(boolean visible)</CODE><BR> This method allows your application to control the visibility of a movie controller.</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/MovieController.html#setVolume(float)">setVolume</A></B>(float newVolume)</CODE><BR> Your application can use this action to set a movie's volume.</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/MovieController.html#step(int)">step</A></B>(int numberOfSteps)</CODE><BR> Your application can use this action to play a movie while skipping a specified number of frames at a time.</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/MovieController.html#suspend()">suspend</A></B>()</CODE><BR> Indicates that a suspend event has been received.</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/MovieController.html#undo()">undo</A></B>()</CODE><BR> This method allows your application to discard the effects of the most recent edit operation.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.std.comp.Component"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../quicktime/std/comp/Component.html">Component</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/comp/Component.html#count()">count</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.std.comp.ComponentIdentifier"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../quicktime/std/comp/ComponentIdentifier.html">ComponentIdentifier</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentIdentifier, quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#getInfo()">getInfo</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#toString()">toString</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.QTObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.<A HREF="../../../quicktime/QTObject.html">QTObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A>, <A HREF="../../../quicktime/QTObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../quicktime/QTObject.html#ID(quicktime.QTObject)">ID</A></CODE></TD></TR></TABLE> <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>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></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="MovieController(quicktime.std.movies.Movie)"><!-- --></A><H3>MovieController</H3><PRE>public <B>MovieController</B>(<A HREF="../../../quicktime/std/movies/Movie.html">Movie</A> itsMovie) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method locates a movie controller component for you and assigns a movie to that controller. This function always creates a controller that is visible and attached to a movie. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imMovieContComp.c.htm#imMovi37">QuickTime::NewMovieController()</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>itsMovie</CODE> - Identifies the movie to be associated with the movie controller.</DL></DD></DL><HR><A NAME="MovieController(quicktime.std.movies.Movie, int)"><!-- --></A><H3>MovieController</H3><PRE>public <B>MovieController</B>(<A HREF="../../../quicktime/std/movies/Movie.html">Movie</A> itsMovie, int someFlags) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method locates a movie controller component for you and assigns a movie to that controller. This function always creates a controller that is attached to a movie. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imMovieContComp.c.htm#imMovi37">QuickTime::NewMovieController()</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>itsMovie</CODE> - Identifies the movie to be associated with the movie controller.<DD><CODE>someFlags</CODE> - Contains flags that control the operation.</DL></DD></DL><HR><A NAME="MovieController(int, quicktime.std.movies.Movie, quicktime.qd.QDGraphics, quicktime.qd.QDPoint)"><!-- --></A><H3>MovieController</H3><PRE>public <B>MovieController</B>(int subType, <A HREF="../../../quicktime/std/movies/Movie.html">Movie</A> theMovie, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> window, <A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A> location) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method constructs a MovieController object for a given subType. It attaches the controller to the specifed movie in the specifed window. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imMovieContComp.c.htm#imMovi39">QuickTime::MCNewAttachedController()</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>subType</CODE> - the sub type of the MovieController.kType component that you wish to open<DD><CODE>theMovie</CODE> - Specifies the movie to be associated with the movie controller.<DD><CODE>window</CODE> - Identifies the window in which the movie is to be displayed. This may NOT be null.<DD><CODE>location</CODE> - Specifies the upper-left corner of the movie within the window specified by the w parameter.</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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -