- java.lang.Object
- 
- javax.swing.plaf.basic.BasicButtonListener
 
- 
- All Implemented Interfaces:
- FocusListener,- MouseListener,- MouseMotionListener,- PropertyChangeListener,- EventListener,- ChangeListener
 
 public class BasicButtonListener extends Object implements MouseListener, MouseMotionListener, FocusListener, ChangeListener, PropertyChangeListener Button Listener
- 
- 
Constructor SummaryConstructors Constructor Description BasicButtonListener(AbstractButton b)Constructs a new instance ofBasicButtonListener.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckOpacity(AbstractButton b)Checks the opacity of theAbstractButton.voidinstallKeyboardActions(JComponent c)Register default key actions: pressing space to "click" a button and registering the keyboard mnemonic (if any).voiduninstallKeyboardActions(JComponent c)Unregister default key actions.- 
Methods declared in class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods declared in interface javax.swing.event.ChangeListenerstateChanged
 - 
Methods declared in interface java.awt.event.FocusListenerfocusGained, focusLost
 - 
Methods declared in interface java.awt.event.MouseListenermouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
 - 
Methods declared in interface java.awt.event.MouseMotionListenermouseDragged, mouseMoved
 - 
Methods declared in interface java.beans.PropertyChangeListenerpropertyChange
 
- 
 
- 
- 
- 
Constructor Detail- 
BasicButtonListenerpublic BasicButtonListener(AbstractButton b) Constructs a new instance ofBasicButtonListener.- Parameters:
- b- an abstract button
 
 
- 
 - 
Method Detail- 
checkOpacityprotected void checkOpacity(AbstractButton b) Checks the opacity of theAbstractButton.- Parameters:
- b- an abstract button
 
 - 
installKeyboardActionspublic void installKeyboardActions(JComponent c) Register default key actions: pressing space to "click" a button and registering the keyboard mnemonic (if any).- Parameters:
- c- a component
 
 - 
uninstallKeyboardActionspublic void uninstallKeyboardActions(JComponent c) Unregister default key actions.- Parameters:
- c- a component
 
 
- 
 
-