Get Bounce at SourceForge.net. Fast secure and Free Open Source software downloads

org.bounce.plaf
Class BounceButtonListener

java.lang.Object
  extended by javax.swing.plaf.basic.BasicButtonListener
      extended by org.bounce.plaf.BounceButtonListener
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

 class BounceButtonListener
extends javax.swing.plaf.basic.BasicButtonListener


Constructor Summary
BounceButtonListener(javax.swing.AbstractButton b)
          Constructs a button listener for the button supplied.
 
Method Summary
 void focusGained(java.awt.event.FocusEvent e)
          Activated when focus gained.
 void mousePressed(java.awt.event.MouseEvent e)
          Overrides the method in the Basic button listener, to enable the double click when needed.
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonListener
checkOpacity, focusLost, installKeyboardActions, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, propertyChange, stateChanged, uninstallKeyboardActions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BounceButtonListener

public BounceButtonListener(javax.swing.AbstractButton b)
Constructs a button listener for the button supplied.

Parameters:
b - the button component.
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Overrides the method in the Basic button listener, to enable the double click when needed.

Specified by:
mousePressed in interface java.awt.event.MouseListener
Overrides:
mousePressed in class javax.swing.plaf.basic.BasicButtonListener
Parameters:
e - the mouse event.

focusGained

public void focusGained(java.awt.event.FocusEvent e)
Activated when focus gained.

Specified by:
focusGained in interface java.awt.event.FocusListener
Overrides:
focusGained in class javax.swing.plaf.basic.BasicButtonListener
Parameters:
e - the focus gained event.

Get Bounce at SourceForge.net. Fast secure and Free Open Source software downloads

Copyright 2002-2002-2009 Edwin Dankert. All Rights Reserved.