pressactionbutton.html
来自「这个是java的quicktime for java 的详细使用文档」· HTML 代码 · 共 381 行 · 第 1/2 页
HTML
381 行
<A NAME="methods_inherited_from_class_quicktime.app.ui.QTButton"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.app.ui.<A HREF="../../../quicktime/app/ui/QTButton.html">QTButton</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/ui/QTButton.html#addActionListener(quicktime.app.event.QTActionListener)">addActionListener</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#addMouseTargetListener(quicktime.app.event.MouseTargetListener)">addMouseTargetListener</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#entered(quicktime.app.event.QTMouseEvent)">entered</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#exited(quicktime.app.event.QTMouseEvent)">exited</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#fireAction()">fireAction</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#getDeactiveImage()">getDeactiveImage</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#getPressedImage()">getPressedImage</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#getReleasedImage()">getReleasedImage</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#getRolloverImage()">getRolloverImage</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#isMouseInButton()">isMouseInButton</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#isPressed()">isPressed</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#released()">released</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#removeActionListener(quicktime.app.event.QTActionListener)">removeActionListener</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#removeMouseTargetListener(quicktime.app.event.MouseTargetListener)">removeMouseTargetListener</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#setDeactiveImage(quicktime.app.image.ImageSpec)">setDeactiveImage</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#setPressedImage(quicktime.app.image.ImageSpec)">setPressedImage</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#setReleasedImage(quicktime.app.image.ImageSpec)">setReleasedImage</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#setRolloverImage(quicktime.app.image.ImageSpec)">setRolloverImage</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.app.ui.UIElement"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.app.ui.<A HREF="../../../quicktime/app/ui/UIElement.html">UIElement</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/ui/UIElement.html#addedToCompositor(quicktime.app.anim.SWCompositor, quicktime.app.anim.TwoDSprite)">addedToCompositor</A>, <A HREF="../../../quicktime/app/ui/UIElement.html#getBounds()">getBounds</A>, <A HREF="../../../quicktime/app/ui/UIElement.html#isActive()">isActive</A>, <A HREF="../../../quicktime/app/ui/UIElement.html#removedFromCompositor(quicktime.app.anim.SWCompositor)">removedFromCompositor</A>, <A HREF="../../../quicktime/app/ui/UIElement.html#setActive(boolean)">setActive</A>, <A HREF="../../../quicktime/app/ui/UIElement.html#setCurrentImage(quicktime.app.image.ImageSpec)">setCurrentImage</A>, <A HREF="../../../quicktime/app/ui/UIElement.html#setLocation(int, int)">setLocation</A>, <A HREF="../../../quicktime/app/ui/UIElement.html#setSize(quicktime.qd.QDDimension)">setSize</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.app.anim.TwoDSprite"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.app.anim.<A HREF="../../../quicktime/app/anim/TwoDSprite.html">TwoDSprite</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/anim/TwoDSprite.html#createSprite(quicktime.std.anim.SpriteWorld)">createSprite</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#getDescription()">getDescription</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#getGraphicsMode()">getGraphicsMode</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#getImage()">getImage</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#getInitialSize()">getInitialSize</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#getLabel()">getLabel</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#getLayer()">getLayer</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#getMatrix()">getMatrix</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#getOriginalSize()">getOriginalSize</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#getParent()">getParent</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#getSpriteInfo()">getSpriteInfo</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#getVisible()">getVisible</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#hitTest(int, quicktime.qd.QDPoint)">hitTest</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#invalidate()">invalidate</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#isValid()">isValid</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#notifyComplete()">notifyComplete</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#remove()">remove</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#removeNotify()">removeNotify</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#setDescription(quicktime.std.image.ImageDescription)">setDescription</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#setGraphicsMode(quicktime.std.image.GraphicsMode)">setGraphicsMode</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#setImage(quicktime.util.EncodedImage)">setImage</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#setImageData(quicktime.util.EncodedImage, quicktime.std.image.ImageDescription)">setImageData</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#setLabel(java.lang.String)">setLabel</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#setLayer(int)">setLayer</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#setMatrix(quicktime.std.image.Matrix)">setMatrix</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#setNotifier(quicktime.app.actions.Notifier)">setNotifier</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.html#setVisible(boolean)">setVisible</A>, <A HREF="../../../quicktime/app/anim/TwoDSprite.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> <A NAME="methods_inherited_from_class_quicktime.app.image.Compositable"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.image.<A HREF="../../../quicktime/app/image/Compositable.html">Compositable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/image/Compositable.html#getGraphicsMode()">getGraphicsMode</A>, <A HREF="../../../quicktime/app/image/Compositable.html#setGraphicsMode(quicktime.std.image.GraphicsMode)">setGraphicsMode</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.app.image.ImageSpec"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface quicktime.app.image.<A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/image/ImageSpec.html#getDescription()">getDescription</A>, <A HREF="../../../quicktime/app/image/ImageSpec.html#getImage()">getImage</A></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="PressActionButton(quicktime.app.image.ImageSpec, quicktime.app.image.ImageSpec, quicktime.app.image.ImageSpec)"><!-- --></A><H3>PressActionButton</H3><PRE>public <B>PressActionButton</B>(<A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> releasedImage, <A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> pressedImage, <A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> deactiveImage) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Sets the current image of the QTButton and creates a TwoDSprite button.<DD><DL><DT><B>Parameters:</B><DD><CODE>releasedImage</CODE> - the image to be displayed when the mouse is not pressed<DD><CODE>pressedImage</CODE> - the image to be displayed when the mouse is pressed<DD><CODE>deactiveImage</CODE> - the image to be displayed when the button is deactive</DL></DD></DL><HR><A NAME="PressActionButton(quicktime.app.image.ImageSpec, quicktime.app.image.ImageSpec, quicktime.app.image.ImageSpec, quicktime.app.image.ImageSpec)"><!-- --></A><H3>PressActionButton</H3><PRE>public <B>PressActionButton</B>(<A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> releasedImage, <A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> pressedImage, <A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> deactiveImage, <A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> rolloverImage) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Sets the current image of the QTButton and creates a TwoDSprite button.<DD><DL><DT><B>Parameters:</B><DD><CODE>releasedImage</CODE> - the image to be displayed when the mouse is not pressed<DD><CODE>pressedImage</CODE> - the image to be displayed when the mouse is pressed<DD><CODE>deactiveImage</CODE> - the image to be displayed when the button is deactive<DD><CODE>rolloverImage</CODE> - the image to be displayed when the button is released and in the mouse.</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="setContinuousPressAction(boolean)"><!-- --></A><H3>setContinuousPressAction</H3><PRE>public void <B>setContinuousPressAction</B>(boolean flag)</PRE><DL><DD>If this is set to true, the button will continue to fire whilst the user presses the mouse and it is also in the button. If this is false, the action will fire ONLY when the user first presses the button.</DL><HR><A NAME="isContinuousPressAction()"><!-- --></A><H3>isContinuousPressAction</H3><PRE>public boolean <B>isContinuousPressAction</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>a boolean</DL></DD></DL><HR><A NAME="pressed()"><!-- --></A><H3>pressed</H3><PRE>public void <B>pressed</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method. is called when the mouse button is pressed over the QTButton it keeps firing as long as the mouse is pressed. This method is invoked by the ButtonActivator.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/app/ui/QTButton.html#pressed()">pressed</A></CODE> in class <CODE><A HREF="../../../quicktime/app/ui/QTButton.html">QTButton</A></CODE></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/PressActionButton.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/ui/ButtonActivator.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/app/ui/PressReleaseButton.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="PressActionButton.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#fields_inherited_from_class_quicktime.app.ui.QTButton">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: FIELD | <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 + =
减小字号Ctrl + -
显示快捷键?