Package net.infonode.tabbedpanel.hover
Class TabbedPanelHoverAction
- java.lang.Object
-
- net.infonode.tabbedpanel.hover.TabbedPanelHoverAction
-
- All Implemented Interfaces:
HoverListener
public class TabbedPanelHoverAction extends java.lang.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 aHoverListenerfor 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
- See Also:
TabbedPanel,TabbedPanelProperties,TabAreaProperties,TabAreaComponentsProperties,TabbedPanelContentPanelProperties
-
-
Constructor Summary
Constructors Constructor Description TabbedPanelHoverAction()Creates a TabbedPanelHoverAction containing an empty TabbedPanelProperties object.TabbedPanelHoverAction(TabbedPanelProperties props)Creates a TabbedPanelHoverAction with the given TabbedPanelProperties object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TabbedPanelPropertiesgetTabbedPanelProperties()Gets the TabbedPanelProperties object for this action.voidmouseEntered(HoverEvent event)Called when the mouse enters the hoverable componentvoidmouseExited(HoverEvent event)Called when the mouse exits the hoverable component
-
-
-
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: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
-
-