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

📄 matrixaction.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DD>Sets the target of the action. The target must be some kind of Transformable object.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/actions/Targetable.html#setTarget(java.lang.Object)">setTarget</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/actions/Targetable.html">Targetable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>target</CODE> - a Transformable object<DT><B>See Also: </B><DD><A HREF="../../../quicktime/app/actions/TransformMatrix.html"><CODE>TransformMatrix</CODE></A></DL></DD></DL><HR><A NAME="getTarget()"><!-- --></A><H3>getTarget</H3><PRE>public java.lang.Object <B>getTarget</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>since QTJava 4</I><P><DD>Returns the current target of the action.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/actions/Targetable.html#getTarget()">getTarget</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/actions/Targetable.html">Targetable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current target<DT><B>See Also: </B><DD><A HREF="../../../quicktime/app/actions/TransformMatrix.html"><CODE>TransformMatrix</CODE></A></DL></DD></DL><HR><A NAME="getSpace()"><!-- --></A><H3>getSpace</H3><PRE>public <A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A> <B>getSpace</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>since QTJava 4</I><P><DD>The space which is the space that the transformable object is a member of.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the enclosing space.<DT><B>See Also: </B><DD><A HREF="../../../quicktime/app/actions/TransformMatrix.html"><CODE>TransformMatrix</CODE></A></DL></DD></DL><HR><A NAME="setSpace(quicktime.app.display.QTDrawable)"><!-- --></A><H3>setSpace</H3><PRE>public void <B>setSpace</B>(<A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A>&nbsp;space)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>since QTJava 4</I><P><DD>Set the space which is the space that the transformable target is a member of.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>space</CODE> - the enclosing space.<DT><B>See Also: </B><DD><A HREF="../../../quicktime/app/actions/TransformMatrix.html"><CODE>TransformMatrix</CODE></A></DL></DD></DL><HR><A NAME="doAction(float, int)"><!-- --></A><H3>doAction</H3><PRE>protected void <B>doAction</B>(float&nbsp;er,                        int&nbsp;t)                 throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>When called it performs three primary tasks: <UL> <LI>(1) Checks to see if rate direction has changed - if so calls the rateDirectionChanged method <LI>(2) Calls the transformMatrix method which the subclass defines <LI>(3) If doConstraintBoundsTesting is true does bounds testing of the target within the enclosing space and notifies of any collisions of the target with the space's sides. </UL> Once these tasks are performed the target's matrix is set to the transformed matrix through calling the setTargetMatrix with the transformed matrix.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/app/actions/PeriodicAction.html#doAction(float, int)">doAction</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>er</CODE> - the rate at which the action was invoked.<DD><CODE>t</CODE> - the time at which the action was invoked.</DL></DD></DL><HR><A NAME="rateDirectionChanged(boolean)"><!-- --></A><H3>rateDirectionChanged</H3><PRE>protected void <B>rateDirectionChanged</B>(boolean&nbsp;forwards)                             throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>since QTJava 4</I><P><DD>The Matrix action notifies subclasses when the rate at which an action is tickled changes from positive to negative or vice versa.<DD><DL></DL></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../quicktime/app/actions/TransformMatrix.html"><CODE>TransformMatrix</CODE></A></DL></DD></DL><HR><A NAME="transformMatrix(quicktime.std.image.Matrix)"><!-- --></A><H3>transformMatrix</H3><PRE>protected void <B>transformMatrix</B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A>&nbsp;theMatrix)                        throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>since QTJava 4</I><P><DD>The Matrix action calls the transformMatrix method with a Matrix that the subclass should transform according to the particular transformation of the subclass.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>theMatrix</CODE> - the matrix to transform.<DT><B>See Also: </B><DD><A HREF="../../../quicktime/app/actions/TransformMatrix.html"><CODE>TransformMatrix</CODE></A></DL></DD></DL><HR><A NAME="boundsReached(int)"><!-- --></A><H3>boundsReached</H3><PRE>protected void <B>boundsReached</B>(int&nbsp;whichSide)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>since QTJava 4</I><P><DD>If the Matrix action is doing constraint bounds testing and a bounding condition is reached the Matrix action calls this method with one of four flags to indicate which side of the enclosing space the target collided with.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>whichSide</CODE> - a flag that indicates which side<DT><B>See Also: </B><DD><A HREF="../../../quicktime/app/actions/TransformMatrix.html"><CODE>TransformMatrix</CODE></A></DL></DD></DL><HR><A NAME="setTargetMatrix(quicktime.std.image.Matrix)"><!-- --></A><H3>setTargetMatrix</H3><PRE>protected void <B>setTargetMatrix</B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A>&nbsp;transformedMatrix)                        throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>since QTJava 4</I><P><DD>This method is invoked by the doAction method once the matrix has been transformed. The default behaviour of this method is to just call the target's setMatrix method with the transformed matrix.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>transformedMatrix</CODE> - the new matrix for the target<DT><B>See Also: </B><DD><A HREF="../../../quicktime/app/actions/TransformMatrix.html"><CODE>TransformMatrix</CODE></A></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. This method will only be called by the tickle method if the Action has an Actionable actor.<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="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Return a string representation of this class.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/app/actions/PeriodicAction.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../quicktime/app/actions/PeriodicAction.html">PeriodicAction</A></CODE></DL></DD><DD>Following copied from class: <CODE>quicktime.app.actions.PeriodicAction</CODE></DD><DD><DL><DT><B>Returns:</B><DD>a String</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE><DL><DD>Returns true if the incoming object is a Matrix action with the same target.<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>true if equal, false if not</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MatrixAction.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../quicktime/app/actions/Invalidator.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../quicktime/app/actions/MouseController.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>  &nbsp;&nbsp;<A HREF="MatrixAction.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -