📄 actionfilter.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:54 PDT 2002 --><TITLE>: Class ActionFilter</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/ActionFilter.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"> PREV CLASS <A HREF="../../../quicktime/std/movies/Atom.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="ActionFilter.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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</FONT><BR>Class ActionFilter</H2><PRE>java.lang.Object | +--<B>quicktime.std.movies.ActionFilter</B></PRE><HR><DL><DT>public abstract class <B>ActionFilter</B><DT>extends java.lang.Object</DL><P>The ActionFilter class is used by action filters on the MovieController. An application should subclass this class over-riding the method(s) that it is interested in. Actions associated with methods not over-ridden will return false, indicating to the Movie toolbox that it should handle the action.<P><DL><DT><B>See Also: </B><DD><A HREF="../../../quicktime/std/clocks/QTCallBack.html"><CODE>QTCallBack</CODE></A></DL><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== 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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/ActionFilter.html#execute(quicktime.std.movies.MovieController, int)">execute</A></B>(<A HREF="../../../quicktime/std/movies/MovieController.html">MovieController</A> mc, int action)</CODE><BR> This method should be overridden to handle the following actions: mcActionIdle ID = 1 mcActionActivate ID = 3 mcActionDeactivate ID = 4 mcActionDraw ID = 2 (The Graphics object of the controller can be retrieved from the controller if required) mcActionSetColorTable (The ColorTable object of the movie can be retrieved from the movie) mcActionForceTimeTableUpdate ID = 61 mcActionMovieChanged ID = 77 mcActionControllerSizeChanged ID = 26 (The controller object can be retrieved from the movie) mcActionSuspend ID = 46 mcActionResume ID = 47 mcActionMovieEdited ID = 50 mcActionMovieFinished ID = 86 </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/ActionFilter.html#execute(quicktime.std.movies.MovieController, int, quicktime.std.movies.AtomContainer, quicktime.std.movies.Atom)">execute</A></B>(<A HREF="../../../quicktime/std/movies/MovieController.html">MovieController</A> mc, int action, <A HREF="../../../quicktime/std/movies/AtomContainer.html">AtomContainer</A> container, <A HREF="../../../quicktime/std/movies/Atom.html">Atom</A> atom)</CODE><BR> This method should be overridden to handle the following actions: mcActionPerformActionList </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/ActionFilter.html#execute(quicktime.std.movies.MovieController, int, boolean)">execute</A></B>(<A HREF="../../../quicktime/std/movies/MovieController.html">MovieController</A> mc, int action, boolean value)</CODE><BR> This method should be overridden to handle the following actions: mcActionSetLooping mcActionSetLoopIsPalindrome mcActionSetKeysEnabled mcActionSetPlaySelection mcActionSetUseBadge mcActionSetPlayEveryFrame mcActionSetCursorSettingEnabled mcActionGetDragEnabled </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/ActionFilter.html#execute(quicktime.std.movies.MovieController, int, boolean[])">execute</A></B>(<A HREF="../../../quicktime/std/movies/MovieController.html">MovieController</A> mc, int action, boolean[] value)</CODE><BR> This method should be overridden to handle the following actions: mcActionGetLooping mcActionGetLoopIsPalindrome mcActionGetKeysEnabled mcActionGetPlaySelection mcActionGetUseBadge mcActionGetPlayEveryFrame mcActionShowBalloon - set to false to stop balloon mcActionBadgeClick - set to false to ignore click mcActionGetDragEnabled mcActionGetCursorSettingEnabled mcActionGetMovieActive </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/ActionFilter.html#execute(quicktime.std.movies.MovieController, int, float)">execute</A></B>(<A HREF="../../../quicktime/std/movies/MovieController.html">MovieController</A> mc, int action, float value)</CODE><BR> This method should be overridden to handle the following actions: mcActionPlay mcActionSetVolume mcActionPrerollAndPlay mcActionAutoPlay mcActionPauseToBuffer mcActionSetVolumeStep </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/ActionFilter.html#execute(quicktime.std.movies.MovieController, int, float[])">execute</A></B>(<A HREF="../../../quicktime/std/movies/MovieController.html">MovieController</A> mc, int action, float[] value)</CODE><BR> This method should be overridden to handle the following actions: mcActionGetVolume mcActionGetPlayRate </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/ActionFilter.html#execute(quicktime.std.movies.MovieController, int, int)">execute</A></B>(<A HREF="../../../quicktime/std/movies/MovieController.html">MovieController</A> mc, int action, int value)</CODE><BR> This method should be overridden to handle the following actions: mcActionStep mcActionSetFlags mcActionAppMessageReceived </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/ActionFilter.html#execute(quicktime.std.movies.MovieController, int, int[])">execute</A></B>(<A HREF="../../../quicktime/std/movies/MovieController.html">MovieController</A> mc, int action, int[] value)</CODE><BR> This method should be overridden to handle the following actions: mcActionGetFlags mcActionGetMovieID </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/movies/ActionFilter.html#execute(quicktime.std.movies.MovieController, int, int, quicktime.util.StringHandle)">execute</A></B>(<A HREF="../../../quicktime/std/movies/MovieController.html">MovieController</A> mc, int action, int stringTypeFlags, <A HREF="../../../quicktime/util/StringHandle.html">StringHandle</A> string)</CODE><BR> This method should be overridden to handle the following actions: mcActionShowStatusString </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -