javax.swing.plaf.basic
Class BasicButtonListener
java.lang.Object
|
+--javax.swing.plaf.basic.BasicButtonListener
- public class BasicButtonListener
- extends Object
- implements MouseListener, MouseMotionListener, FocusListener, ChangeListener, PropertyChangeListener
Button Listener
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BasicButtonListener
public BasicButtonListener(AbstractButton b)
propertyChange
public void propertyChange(PropertyChangeEvent e)
- Specified by:
- propertyChange in interface PropertyChangeListener
checkOpacity
protected void checkOpacity(AbstractButton b)
installKeyboardActions
public void installKeyboardActions(JComponent c)
- Register default key actions: pressing space to "click" a
button and registring the keyboard mnemonic (if any).
uninstallKeyboardActions
public void uninstallKeyboardActions(JComponent c)
- Unregister's default key actions
- See Also:
#registerKeyboardActions
stateChanged
public void stateChanged(ChangeEvent e)
- Specified by:
- stateChanged in interface ChangeListener
focusGained
public void focusGained(FocusEvent e)
- Specified by:
- focusGained in interface FocusListener
focusLost
public void focusLost(FocusEvent e)
- Specified by:
- focusLost in interface FocusListener
mouseMoved
public void mouseMoved(MouseEvent e)
- Specified by:
- mouseMoved in interface MouseMotionListener
mouseDragged
public void mouseDragged(MouseEvent e)
- Specified by:
- mouseDragged in interface MouseMotionListener
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
- mouseClicked in interface MouseListener
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
- mousePressed in interface MouseListener
mouseReleased
public void mouseReleased(MouseEvent e)
- Specified by:
- mouseReleased in interface MouseListener
mouseEntered
public void mouseEntered(MouseEvent e)
- Specified by:
- mouseEntered in interface MouseListener
mouseExited
public void mouseExited(MouseEvent e)
- Specified by:
- mouseExited in interface MouseListener
Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.