Save This Page
Home » jcommon-1.0.13 » org.jfree.ui » [javadoc | source]
org.jfree.ui
public final class: FloatingButtonEnabler [javadoc | source]
java.lang.Object
   java.awt.event.MouseAdapter
      org.jfree.ui.FloatingButtonEnabler

All Implemented Interfaces:
    MouseWheelListener, MouseListener, MouseMotionListener

Enables a button to have a simple floating effect. The border of the button is only visible, when the mouse pointer is floating over the button.
Method from org.jfree.ui.FloatingButtonEnabler Summary:
addButton,   getInstance,   mouseEntered,   mouseExited,   removeButton
Methods from java.awt.event.MouseAdapter:
mouseClicked,   mouseDragged,   mouseEntered,   mouseExited,   mouseMoved,   mousePressed,   mouseReleased,   mouseWheelMoved
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.ui.FloatingButtonEnabler Detail:
 public  void addButton(AbstractButton button) 
    Adds a button to this enabler.
 public static FloatingButtonEnabler getInstance() 
    Returns a default instance of this enabler.
 public  void mouseEntered(MouseEvent e) 
    Triggers the drawing of the border when the mouse entered the button area.
 public  void mouseExited(MouseEvent e) 
    Disables the drawing of the border when the mouse leaves the button area.
 public  void removeButton(AbstractButton button) 
    Removes a button from the enabler.