Package com.jgoodies.looks.plastic
Class ActiveBasicButtonListener
java.lang.Object
javax.swing.plaf.basic.BasicButtonListener
com.jgoodies.looks.plastic.ActiveBasicButtonListener
- All Implemented Interfaces:
FocusListener
,MouseListener
,MouseMotionListener
,PropertyChangeListener
,EventListener
,ChangeListener
Unlike its superclass this class sets the armed state when the mouse
is over the button, where the 1.4 superclass sets the armed state only
if the button is pressed.
- Version:
- $Revision: 1.8 $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
Methods inherited from class javax.swing.plaf.basic.BasicButtonListener
checkOpacity, focusGained, focusLost, installKeyboardActions, mouseClicked, mouseDragged, mouseMoved, mousePressed, propertyChange, stateChanged, uninstallKeyboardActions
-
Field Details
-
mouseOver
private boolean mouseOver
-
-
Constructor Details
-
ActiveBasicButtonListener
ActiveBasicButtonListener(AbstractButton b)
-
-
Method Details
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
- Overrides:
mouseEntered
in classBasicButtonListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
- Overrides:
mouseExited
in classBasicButtonListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
- Overrides:
mouseReleased
in classBasicButtonListener
-