Package 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
-
-
Constructor Summary
Constructors Constructor Description DelayedHoverExitAction(HoverListener action, int delay)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forceExit(java.awt.Component component)
int
getDelay()
HoverListener
getHoverAction()
void
mouseEntered(HoverEvent event)
Called when the mouse enters the hoverable componentvoid
mouseExited(HoverEvent event)
Called when the mouse exits the hoverable componentvoid
setDelay(int delay)
-
-
-
Constructor Detail
-
DelayedHoverExitAction
public DelayedHoverExitAction(HoverListener action, int delay)
-
-
Method Detail
-
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 interfaceHoverListener
- 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 interfaceHoverListener
- Parameters:
event
- the hover event
-
-