Package com.jgoodies.looks.plastic
Class ActiveBasicButtonListener
- java.lang.Object
-
- javax.swing.plaf.basic.BasicButtonListener
-
- com.jgoodies.looks.plastic.ActiveBasicButtonListener
-
- All Implemented Interfaces:
java.awt.event.FocusListener,java.awt.event.MouseListener,java.awt.event.MouseMotionListener,java.beans.PropertyChangeListener,java.util.EventListener,javax.swing.event.ChangeListener
final class ActiveBasicButtonListener extends javax.swing.plaf.basic.BasicButtonListenerUnlike 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 Modifier and Type Field Description private booleanmouseOver
-
Constructor Summary
Constructors Constructor Description ActiveBasicButtonListener(javax.swing.AbstractButton b)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmouseEntered(java.awt.event.MouseEvent e)voidmouseExited(java.awt.event.MouseEvent e)voidmouseReleased(java.awt.event.MouseEvent e)
-
-
-
Method Detail
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- Specified by:
mouseEnteredin interfacejava.awt.event.MouseListener- Overrides:
mouseEnteredin classjavax.swing.plaf.basic.BasicButtonListener
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExitedin interfacejava.awt.event.MouseListener- Overrides:
mouseExitedin classjavax.swing.plaf.basic.BasicButtonListener
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleasedin interfacejava.awt.event.MouseListener- Overrides:
mouseReleasedin classjavax.swing.plaf.basic.BasicButtonListener
-
-