pressreleasebutton.html
来自「这个是java的quicktime for java 的详细使用文档」· HTML 代码 · 共 352 行 · 第 1/2 页
HTML
352 行
<!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:49:51 PDT 2002 --><TITLE>: Class PressReleaseButton</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/PressReleaseButton.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/PressActionButton.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/app/ui/QTButton.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="PressReleaseButton.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><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">quicktime.app.ui</FONT><BR>Class PressReleaseButton</H2><PRE>java.lang.Object | +--<A HREF="../../../quicktime/app/anim/TwoDSprite.html">quicktime.app.anim.TwoDSprite</A> | +--<A HREF="../../../quicktime/app/ui/UIElement.html">quicktime.app.ui.UIElement</A> | +--<A HREF="../../../quicktime/app/ui/QTButton.html">quicktime.app.ui.QTButton</A> | +--<A HREF="../../../quicktime/app/ui/PressActionButton.html">quicktime.app.ui.PressActionButton</A> | +--<B>quicktime.app.ui.PressReleaseButton</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../quicktime/app/image/Compositable.html">Compositable</A>, <A HREF="../../../quicktime/app/image/DynamicImage.html">DynamicImage</A>, <A HREF="../../../quicktime/app/image/ImageSettable.html">ImageSettable</A>, <A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A>, <A HREF="../../../quicktime/app/display/Layerable.html">Layerable</A>, <A HREF="../../../quicktime/app/actions/NotifyListener.html">NotifyListener</A>, <A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></DD></DL><HR><DL><DT>public class <B>PressReleaseButton</B><DT>extends <A HREF="../../../quicktime/app/ui/PressActionButton.html">PressActionButton</A></DL><P>This class represents a button which fires the action event when the button is pressed and when it is released. The user can specify optionally whether the button will also fire the action whilst the button is still pressed. Released actions will only be fired if the mouse is release whilst in the button.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="fields_inherited_from_class_quicktime.app.ui.QTButton"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields 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#actionListener">actionListener</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#pressedImage">pressedImage</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#releasedImage">releasedImage</A>, <A HREF="../../../quicktime/app/ui/QTButton.html#rolloverImage">rolloverImage</A></CODE></TD></TR></TABLE> <A NAME="fields_inherited_from_class_quicktime.app.ui.UIElement"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields 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#currentImage">currentImage</A>, <A HREF="../../../quicktime/app/ui/UIElement.html#deactiveImage">deactiveImage</A></CODE></TD></TR></TABLE> <A NAME="fields_inherited_from_class_quicktime.app.anim.TwoDSprite"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields 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#label">label</A></CODE></TD></TR></TABLE> <A NAME="fields_inherited_from_class_quicktime.app.display.Layerable"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface quicktime.app.display.<A HREF="../../../quicktime/app/display/Layerable.html">Layerable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/display/Layerable.html#kBackMostLayer">kBackMostLayer</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/app/ui/PressReleaseButton.html#PressReleaseButton(quicktime.app.image.ImageSpec, quicktime.app.image.ImageSpec, quicktime.app.image.ImageSpec)">PressReleaseButton</A></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)</CODE><BR> Sets the current image of the QTButton and creates a TwoDSprite button</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/app/ui/PressReleaseButton.html#PressReleaseButton(quicktime.app.image.ImageSpec, quicktime.app.image.ImageSpec, quicktime.app.image.ImageSpec, quicktime.app.image.ImageSpec)">PressReleaseButton</A></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)</CODE><BR> sets the current image of the QTButton and creates a TwoDSprite button</TD></TR></TABLE> <!-- ========== 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/ui/PressReleaseButton.html#released()">released</A></B>()</CODE><BR> This method is invoked by the button activator when the mouse is released</TD></TR></TABLE>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?