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 voidforceExit(java.awt.Component component)intgetDelay()HoverListenergetHoverAction()voidmouseEntered(HoverEvent event)Called when the mouse enters the hoverable componentvoidmouseExited(HoverEvent event)Called when the mouse exits the hoverable componentvoidsetDelay(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:HoverListenerCalled when the mouse enters the hoverable component- Specified by:
mouseEnteredin interfaceHoverListener- Parameters:
event- the hover event
-
mouseExited
public void mouseExited(HoverEvent event)
Description copied from interface:HoverListenerCalled when the mouse exits the hoverable component- Specified by:
mouseExitedin interfaceHoverListener- Parameters:
event- the hover event
-
-