|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.docking.TabWindowHoverAction
public class TabWindowHoverAction
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);
Field Summary | |
---|---|
private TabbedPanelProperties |
tabbedPanelProperties
|
private TabListener |
tabListener
|
private TitledTabTabbedPanelHoverAction |
tabTpAction
|
private boolean |
titleBarPropsAdded
|
private TitledTabProperties |
titledTabProperties
|
private TabbedPanelTitledTabHoverAction |
tpTabAction
|
private ViewTitleBarProperties |
viewTitleBarProperties
|
Constructor Summary | |
---|---|
TabWindowHoverAction()
Creates an empty tab window hover action object. |
|
TabWindowHoverAction(TabbedPanelProperties tabbedPanelProperties,
TitledTabProperties titledTabProperties,
ViewTitleBarProperties viewTitleBarProperties)
|
Method Summary | |
---|---|
private void |
addViewTitleBarProperties(View view)
|
TabbedPanelProperties |
getTabbedPanelProperties()
Returns this action's tabbed panel properties |
TitledTabProperties |
getTitledTabProperties()
Returns this action's titled tab properties |
ViewTitleBarProperties |
getViewTitleBarProperties()
Returns this action's view title bar properties |
void |
mouseEntered(HoverEvent event)
Called when the mouse enters the hoverable component |
void |
mouseExited(HoverEvent event)
Called when the mouse exits the hoverable component |
private void |
removeViewTitleBarProperties(View view)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private TabbedPanelProperties tabbedPanelProperties
private TitledTabProperties titledTabProperties
private ViewTitleBarProperties viewTitleBarProperties
private TabbedPanelTitledTabHoverAction tpTabAction
private TitledTabTabbedPanelHoverAction tabTpAction
private boolean titleBarPropsAdded
private TabListener tabListener
Constructor Detail |
---|
public TabWindowHoverAction()
public TabWindowHoverAction(TabbedPanelProperties tabbedPanelProperties, TitledTabProperties titledTabProperties, ViewTitleBarProperties viewTitleBarProperties)
Method Detail |
---|
public TabbedPanelProperties getTabbedPanelProperties()
public TitledTabProperties getTitledTabProperties()
public ViewTitleBarProperties getViewTitleBarProperties()
public void mouseEntered(HoverEvent event)
HoverListener
mouseEntered
in interface HoverListener
event
- the hover eventpublic void mouseExited(HoverEvent event)
HoverListener
mouseExited
in interface HoverListener
event
- the hover eventprivate void addViewTitleBarProperties(View view)
private void removeViewTitleBarProperties(View view)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |