Package net.infonode.docking
Class TabWindowHoverAction
java.lang.Object
net.infonode.docking.TabWindowHoverAction
- All Implemented Interfaces:
HoverListener
TabWindowHoverAction is a hover action that makes it easy to change properties for a tab window and the title bar in the view.
This action contains a titled tab proeprties object, a tabbed panel properties object and a view title bar properties object. Those objects are automatically added/removed as superobject to the currently hovered tab window if this action is set as a hover listener in the titled tab properties and the content panel properties for the tabbed panel.
Example:
rootWindowProperties.getTabWindowProperties().getTabbedPanelProperties().getContentPanelProperties().setHoverListener(tabWindowHoverAction);
rootWindowProperties.getTabWindowProperties().getTabProperties().getTitledTabProperties().setHoverListener(tabWindowHoverAction);
- Since:
- IDW 1.4.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty tab window hover action object.TabWindowHoverAction
(TabbedPanelProperties tabbedPanelProperties, TitledTabProperties titledTabProperties, ViewTitleBarProperties viewTitleBarProperties) -
Method Summary
Modifier and TypeMethodDescriptionReturns this action's tabbed panel propertiesReturns this action's titled tab propertiesReturns this action's view title bar propertiesvoid
mouseEntered
(HoverEvent event) Called when the mouse enters the hoverable componentvoid
mouseExited
(HoverEvent event) Called when the mouse exits the hoverable component
-
Constructor Details
-
TabWindowHoverAction
public TabWindowHoverAction()Creates an empty tab window hover action object. -
TabWindowHoverAction
public TabWindowHoverAction(TabbedPanelProperties tabbedPanelProperties, TitledTabProperties titledTabProperties, ViewTitleBarProperties viewTitleBarProperties)
-
-
Method Details
-
getTabbedPanelProperties
Returns this action's tabbed panel properties- Returns:
- tabbed panel properties
-
getTitledTabProperties
Returns this action's titled tab properties- Returns:
- titled tab properties
-
getViewTitleBarProperties
Returns this action's view title bar properties- Returns:
- view title bar properties
-
mouseEntered
Description copied from interface:HoverListener
Called when the mouse enters the hoverable component- Specified by:
mouseEntered
in interfaceHoverListener
- Parameters:
event
- the hover event
-
mouseExited
Description copied from interface:HoverListener
Called when the mouse exits the hoverable component- Specified by:
mouseExited
in interfaceHoverListener
- Parameters:
event
- the hover event
-