📄 basicbuttonlistener.html
字号:
</TABLE><A NAME="BasicButtonListener(javax.swing.AbstractButton)"><!-- --></A><H3>BasicButtonListener</H3><PRE>public <B>BasicButtonListener</B>(<A HREF="../../../../javax/swing/AbstractButton.html">AbstractButton</A> b)</PRE><DL></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="propertyChange(java.beans.PropertyChangeEvent)"><!-- --></A><H3>propertyChange</H3><PRE>public void <B>propertyChange</B>(<A HREF="../../../../java/beans/PropertyChangeEvent.html">PropertyChangeEvent</A> e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../java/beans/PropertyChangeListener.html">PropertyChangeListener</A></CODE></B></DD><DD>This method gets called when a bound property is changed.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../java/beans/PropertyChangeListener.html#propertyChange(java.beans.PropertyChangeEvent)">propertyChange</A></CODE> in interface <CODE><A HREF="../../../../java/beans/PropertyChangeListener.html">PropertyChangeListener</A></CODE></DL></DD><DD>Following copied from interface: <CODE>java.beans.PropertyChangeListener</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>evt</CODE> - A PropertyChangeEvent object describing the event source and the property that has changed.</DL></DD></DL><HR><A NAME="checkOpacity(javax.swing.AbstractButton)"><!-- --></A><H3>checkOpacity</H3><PRE>protected void <B>checkOpacity</B>(<A HREF="../../../../javax/swing/AbstractButton.html">AbstractButton</A> b)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="installKeyboardActions(javax.swing.JComponent)"><!-- --></A><H3>installKeyboardActions</H3><PRE>public void <B>installKeyboardActions</B>(<A HREF="../../../../javax/swing/JComponent.html">JComponent</A> c)</PRE><DL><DD>Register default key actions: pressing space to "click" a button and registring the keyboard mnemonic (if any).<DD><DL></DL></DD></DL><HR><A NAME="uninstallKeyboardActions(javax.swing.JComponent)"><!-- --></A><H3>uninstallKeyboardActions</H3><PRE>public void <B>uninstallKeyboardActions</B>(<A HREF="../../../../javax/swing/JComponent.html">JComponent</A> c)</PRE><DL><DD>Unregister's default key actions<DD><DL></DL></DD></DL><HR><A NAME="stateChanged(javax.swing.event.ChangeEvent)"><!-- --></A><H3>stateChanged</H3><PRE>public void <B>stateChanged</B>(<A HREF="../../../../javax/swing/event/ChangeEvent.html">ChangeEvent</A> e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/swing/event/ChangeListener.html">ChangeListener</A></CODE></B></DD><DD>Invoked when the target of the listener has changed its state.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../javax/swing/event/ChangeListener.html#stateChanged(javax.swing.event.ChangeEvent)">stateChanged</A></CODE> in interface <CODE><A HREF="../../../../javax/swing/event/ChangeListener.html">ChangeListener</A></CODE></DL></DD><DD>Following copied from interface: <CODE>javax.swing.event.ChangeListener</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - a ChangeEvent object</DL></DD></DL><HR><A NAME="focusGained(java.awt.event.FocusEvent)"><!-- --></A><H3>focusGained</H3><PRE>public void <B>focusGained</B>(<A HREF="../../../../java/awt/event/FocusEvent.html">FocusEvent</A> e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../java/awt/event/FocusListener.html">FocusListener</A></CODE></B></DD><DD>Invoked when a component gains the keyboard focus.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../java/awt/event/FocusListener.html#focusGained(java.awt.event.FocusEvent)">focusGained</A></CODE> in interface <CODE><A HREF="../../../../java/awt/event/FocusListener.html">FocusListener</A></CODE></DL></DD></DL><HR><A NAME="focusLost(java.awt.event.FocusEvent)"><!-- --></A><H3>focusLost</H3><PRE>public void <B>focusLost</B>(<A HREF="../../../../java/awt/event/FocusEvent.html">FocusEvent</A> e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../java/awt/event/FocusListener.html">FocusListener</A></CODE></B></DD><DD>Invoked when a component loses the keyboard focus.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../java/awt/event/FocusListener.html#focusLost(java.awt.event.FocusEvent)">focusLost</A></CODE> in interface <CODE><A HREF="../../../../java/awt/event/FocusListener.html">FocusListener</A></CODE></DL></DD></DL><HR><A NAME="mouseMoved(java.awt.event.MouseEvent)"><!-- --></A><H3>mouseMoved</H3><PRE>public void <B>mouseMoved</B>(<A HREF="../../../../java/awt/event/MouseEvent.html">MouseEvent</A> e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../java/awt/event/MouseMotionListener.html">MouseMotionListener</A></CODE></B></DD><DD>Invoked when the mouse button has been moved on a component (with no buttons no down).<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../java/awt/event/MouseMotionListener.html#mouseMoved(java.awt.event.MouseEvent)">mouseMoved</A></CODE> in interface <CODE><A HREF="../../../../java/awt/event/MouseMotionListener.html">MouseMotionListener</A></CODE></DL></DD></DL><HR><A NAME="mouseDragged(java.awt.event.MouseEvent)"><!-- --></A><H3>mouseDragged</H3><PRE>public void <B>mouseDragged</B>(<A HREF="../../../../java/awt/event/MouseEvent.html">MouseEvent</A> e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../java/awt/event/MouseMotionListener.html">MouseMotionListener</A></CODE></B></DD><DD>Invoked when a mouse button is pressed on a component and then dragged. Mouse drag events will continue to be delivered to the component where the first originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the component).<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../java/awt/event/MouseMotionListener.html#mouseDragged(java.awt.event.MouseEvent)">mouseDragged</A></CODE> in interface <CODE><A HREF="../../../../java/awt/event/MouseMotionListener.html">MouseMotionListener</A></CODE></DL></DD></DL><HR><A NAME="mouseClicked(java.awt.event.MouseEvent)"><!-- --></A><H3>mouseClicked</H3><PRE>public void <B>mouseClicked</B>(<A HREF="../../../../java/awt/event/MouseEvent.html">MouseEvent</A> e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../java/awt/event/MouseListener.html">MouseListener</A></CODE></B></DD><DD>Invoked when the mouse has been clicked on a component.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../java/awt/event/MouseListener.html#mouseClicked(java.awt.event.MouseEvent)">mouseClicked</A></CODE> in interface <CODE><A HREF="../../../../java/awt/event/MouseListener.html">MouseListener</A></CODE></DL></DD></DL><HR><A NAME="mousePressed(java.awt.event.MouseEvent)"><!-- --></A><H3>mousePressed</H3><PRE>public void <B>mousePressed</B>(<A HREF="../../../../java/awt/event/MouseEvent.html">MouseEvent</A> e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../java/awt/event/MouseListener.html">MouseListener</A></CODE></B></DD><DD>Invoked when a mouse button has been pressed on a component.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../java/awt/event/MouseListener.html#mousePressed(java.awt.event.MouseEvent)">mousePressed</A></CODE> in interface <CODE><A HREF="../../../../java/awt/event/MouseListener.html">MouseListener</A></CODE></DL></DD></DL><HR><A NAME="mouseReleased(java.awt.event.MouseEvent)"><!-- --></A><H3>mouseReleased</H3><PRE>public void <B>mouseReleased</B>(<A HREF="../../../../java/awt/event/MouseEvent.html">MouseEvent</A> e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../java/awt/event/MouseListener.html">MouseListener</A></CODE></B></DD><DD>Invoked when a mouse button has been released on a component.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../java/awt/event/MouseListener.html#mouseReleased(java.awt.event.MouseEvent)">mouseReleased</A></CODE> in interface <CODE><A HREF="../../../../java/awt/event/MouseListener.html">MouseListener</A></CODE></DL></DD></DL><HR><A NAME="mouseEntered(java.awt.event.MouseEvent)"><!-- --></A><H3>mouseEntered</H3><PRE>public void <B>mouseEntered</B>(<A HREF="../../../../java/awt/event/MouseEvent.html">MouseEvent</A> e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../java/awt/event/MouseListener.html">MouseListener</A></CODE></B></DD><DD>Invoked when the mouse enters a component.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../java/awt/event/MouseListener.html#mouseEntered(java.awt.event.MouseEvent)">mouseEntered</A></CODE> in interface <CODE><A HREF="../../../../java/awt/event/MouseListener.html">MouseListener</A></CODE></DL></DD></DL><HR><A NAME="mouseExited(java.awt.event.MouseEvent)"><!-- --></A><H3>mouseExited</H3><PRE>public void <B>mouseExited</B>(<A HREF="../../../../java/awt/event/MouseEvent.html">MouseEvent</A> e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../java/awt/event/MouseListener.html">MouseListener</A></CODE></B></DD><DD>Invoked when the mouse exits a component.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../java/awt/event/MouseListener.html#mouseExited(java.awt.event.MouseEvent)">mouseExited</A></CODE> in interface <CODE><A HREF="../../../../java/awt/event/MouseListener.html">MouseListener</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/BasicButtonListener.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-files/index-1.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><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../javax/swing/plaf/basic/BasicBorders.ToggleButtonBorder.html"><B>PREV CLASS</B></A> <A HREF="../../../../javax/swing/plaf/basic/BasicButtonUI.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="BasicButtonListener.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <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><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -