Package com.jsql.view.swing.ui
Class FlatButtonMouseAdapter
java.lang.Object
java.awt.event.MouseAdapter
com.jsql.view.swing.ui.FlatButtonMouseAdapter
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
Define behavior to set on button.
Button's border is displayed on mouse hover, border is hidden on mouse out.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
-
Constructor Details
-
FlatButtonMouseAdapter
-
-
Method Details
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
- Overrides:
mouseEntered
in classMouseAdapter
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
- Overrides:
mouseExited
in classMouseAdapter
-
setContentVisible
public void setContentVisible(boolean isVisible)
-