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.BasicButtonListener
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 Modifier and Type Field Description private boolean
mouseOver
-
Constructor Summary
Constructors Constructor Description ActiveBasicButtonListener(javax.swing.AbstractButton b)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseEntered(java.awt.event.MouseEvent e)
void
mouseExited(java.awt.event.MouseEvent e)
void
mouseReleased(java.awt.event.MouseEvent e)
-
-
-
Method Detail
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- Specified by:
mouseEntered
in interfacejava.awt.event.MouseListener
- Overrides:
mouseEntered
in classjavax.swing.plaf.basic.BasicButtonListener
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited
in interfacejava.awt.event.MouseListener
- Overrides:
mouseExited
in classjavax.swing.plaf.basic.BasicButtonListener
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
- Overrides:
mouseReleased
in classjavax.swing.plaf.basic.BasicButtonListener
-
-