net.infonode.gui.hover.action
Class DelayedHoverExitAction
java.lang.Object
net.infonode.gui.hover.action.DelayedHoverExitAction
- All Implemented Interfaces:
- HoverListener
public class DelayedHoverExitAction
- extends java.lang.Object
- implements HoverListener
- Author:
- johan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timers
private java.util.HashMap timers
exitEvents
private java.util.HashMap exitEvents
action
private HoverListener action
delay
private int delay
DelayedHoverExitAction
public DelayedHoverExitAction(HoverListener action,
int delay)
getDelay
public int getDelay()
setDelay
public void setDelay(int delay)
getHoverAction
public HoverListener getHoverAction()
forceExit
public void forceExit(java.awt.Component component)
mouseEntered
public void mouseEntered(HoverEvent event)
- Description copied from interface:
HoverListener
- Called when the mouse enters the hoverable component
- Specified by:
mouseEntered in interface HoverListener
- Parameters:
event - the hover event
mouseExited
public void mouseExited(HoverEvent event)
- Description copied from interface:
HoverListener
- Called when the mouse exits the hoverable component
- Specified by:
mouseExited in interface HoverListener
- Parameters:
event - the hover event