net.infonode.tabbedpanel.hover
Class TabbedPanelHoverAction

java.lang.Object
  extended bynet.infonode.tabbedpanel.hover.TabbedPanelHoverAction
All Implemented Interfaces:
HoverListener

public class TabbedPanelHoverAction
extends Object
implements HoverListener

TabbedPanelHoverAction is an action that makes it easy to change properties for a hovered TabbedPanel. The action is meant to be set as a HoverListener for the entire tabbed panel, the tab area, the tab area components area and/or the content area in their corresponding properties objects.

This hover action contains a TabbedPanelProperties object that will be added as super object to the hovered tabbed panel and then automatically removed when the area is no longer hovered.

Since:
ITP 1.3.0
Version:
$Revision: 1.9 $
See Also:
TabbedPanel, TabbedPanelProperties, TabAreaProperties, TabAreaComponentsProperties, TabbedPanelContentPanelProperties

Constructor Summary
TabbedPanelHoverAction()
          Creates a TabbedPanelHoverAction containing an empty TabbedPanelProperties object.
TabbedPanelHoverAction(TabbedPanelProperties props)
          Creates a TabbedPanelHoverAction with the given TabbedPanelProperties object.
 
Method Summary
 TabbedPanelProperties getTabbedPanelProperties()
          Gets the TabbedPanelProperties object for this action.
 void mouseEntered(HoverEvent event)
          Called when the mouse enters the hoverable component
 void mouseExited(HoverEvent event)
          Called when the mouse exits the hoverable component
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabbedPanelHoverAction

public TabbedPanelHoverAction()
Creates a TabbedPanelHoverAction containing an empty TabbedPanelProperties object.


TabbedPanelHoverAction

public TabbedPanelHoverAction(TabbedPanelProperties props)
Creates a TabbedPanelHoverAction with the given TabbedPanelProperties object.

Parameters:
props - reference to a TabbedPanelProperties object
Method Detail

getTabbedPanelProperties

public TabbedPanelProperties getTabbedPanelProperties()
Gets the TabbedPanelProperties object for this action.

Returns:
reference to the TabbedPanelProperties

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


Copyright © 2007 NNL Technology AB. All Rights Reserved.