net.infonode.tabbedpanel.hover

Class TabbedPanelHoverAction

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 $

Author: johan

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
TabbedPanelPropertiesgetTabbedPanelProperties()
Gets the TabbedPanelProperties object for this action.
voidmouseEntered(HoverEvent event)
voidmouseExited(HoverEvent event)

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)

mouseExited

public void mouseExited(HoverEvent event)