📄 sequenceraction.html
字号:
<CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/SequencerAction.html#setConstraint(int)">setConstraint</A></B>(int cons)</CODE><BR> Set the constraining condition that determines the cirumstances of when the attached actionable object is triggered.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.app.actions.PeriodicAction"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.app.actions.<A HREF="../../../quicktime/app/actions/PeriodicAction.html">PeriodicAction</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/actions/PeriodicAction.html#doAction(float, int)">doAction</A>, <A HREF="../../../quicktime/app/actions/PeriodicAction.html#getActionable()">getActionable</A>, <A HREF="../../../quicktime/app/actions/PeriodicAction.html#getPeriod()">getPeriod</A>, <A HREF="../../../quicktime/app/actions/PeriodicAction.html#getScale()">getScale</A>, <A HREF="../../../quicktime/app/actions/PeriodicAction.html#getTriggerCondition()">getTriggerCondition</A>, <A HREF="../../../quicktime/app/actions/PeriodicAction.html#setActionable(quicktime.app.actions.Actionable)">setActionable</A>, <A HREF="../../../quicktime/app/actions/PeriodicAction.html#setPeriod(int)">setPeriod</A>, <A HREF="../../../quicktime/app/actions/PeriodicAction.html#setScale(int)">setScale</A>, <A HREF="../../../quicktime/app/actions/PeriodicAction.html#setTriggerCondition(int)">setTriggerCondition</A>, <A HREF="../../../quicktime/app/actions/PeriodicAction.html#tickle(float, int)">tickle</A>, <A HREF="../../../quicktime/app/actions/PeriodicAction.html#timeChanged(int)">timeChanged</A>, <A HREF="../../../quicktime/app/actions/PeriodicAction.html#toString()">toString</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>clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <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="kConstraintAny"><!-- --></A><H3>kConstraintAny</H3><PRE>public static final int <B>kConstraintAny</B></PRE><DL></DL><HR><A NAME="kConstraintFirst"><!-- --></A><H3>kConstraintFirst</H3><PRE>public static final int <B>kConstraintFirst</B></PRE><DL></DL><HR><A NAME="kConstraintLast"><!-- --></A><H3>kConstraintLast</H3><PRE>public static final int <B>kConstraintLast</B></PRE><DL></DL><HR><A NAME="kConstraintFirstOrLast"><!-- --></A><H3>kConstraintFirstOrLast</H3><PRE>public static final int <B>kConstraintFirstOrLast</B></PRE><DL></DL><HR><A NAME="seq"><!-- --></A><H3>seq</H3><PRE>protected <A HREF="../../../quicktime/app/spaces/Sequencer.html">Sequencer</A> <B>seq</B></PRE><DL><DD>This is the Sequencer the action uses</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="SequencerAction(int, int, quicktime.app.spaces.Sequencer)"><!-- --></A><H3>SequencerAction</H3><PRE>protected <B>SequencerAction</B>(int scale, int period, <A HREF="../../../quicktime/app/spaces/Sequencer.html">Sequencer</A> seq) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Create a SequencerAction.<DD><DL><DT><B>Parameters:</B><DD><CODE>scale</CODE> - the amount with which a second is divided into at a rate of one<DD><CODE>period</CODE> - the number of scale ticks that elapse between invocations of the action.<DD><CODE>seq</CODE> - the Sequencer.</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></TABLE><A NAME="setConstraint(int)"><!-- --></A><H3>setConstraint</H3><PRE>public void <B>setConstraint</B>(int cons)</PRE><DL><DD>Set the constraining condition that determines the cirumstances of when the attached actionable object is triggered.<DD><DL><DT><B>Parameters:</B><DD><CODE>cons</CODE> - the constraint</DL></DD></DL><HR><A NAME="getConstraint()"><!-- --></A><H3>getConstraint</H3><PRE>public int <B>getConstraint</B>()</PRE><DL><DD>Gets the constraining condition of the actionable doAction method<DD><DL><DT><B>Returns:</B><DD>the constraint</DL></DD></DL><HR><A NAME="constraintReached()"><!-- --></A><H3>constraintReached</H3><PRE>protected boolean <B>constraintReached</B>()</PRE><DL><DD>Subclasses should return true if after an action is triggered (the doAction method is called) the action has reached one of its specified constraint conditions and the actionable object should be triggered. How this is defined is determined totally by the subclass.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/app/actions/PeriodicAction.html#constraintReached()">constraintReached</A></CODE> in class <CODE><A HREF="../../../quicktime/app/actions/PeriodicAction.html">PeriodicAction</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the actionable object (if set) should be triggered</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object obj)</PRE><DL><DD>Returns true if the objects are equal or false otherwise.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/app/actions/PeriodicAction.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../quicktime/app/actions/PeriodicAction.html">PeriodicAction</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to test<DT><B>Returns:</B><DD>a boolean</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/SequencerAction.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/actions/QTMouseMotionAdapter.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/app/actions/SimpleActionList.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="SequencerAction.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 + -