net.infonode.gui.hover.action
Class DelayedHoverExitAction

java.lang.Object
  extended by net.infonode.gui.hover.action.DelayedHoverExitAction
All Implemented Interfaces:
HoverListener

public class DelayedHoverExitAction
extends java.lang.Object
implements HoverListener

Author:
johan

Constructor Summary
DelayedHoverExitAction(HoverListener action, int delay)
           
 
Method Summary
 void forceExit(java.awt.Component component)
           
 int getDelay()
           
 HoverListener getHoverAction()
           
 void mouseEntered(HoverEvent event)
          Called when the mouse enters the hoverable component
 void mouseExited(HoverEvent event)
          Called when the mouse exits the hoverable component
 void setDelay(int delay)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 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