Package net.infonode.tabbedpanel
Class TabbedPanelHoverPolicy
java.lang.Object
net.infonode.util.Enum
net.infonode.tabbedpanel.TabbedPanelHoverPolicy
- All Implemented Interfaces:
Serializable
,Writable
TabbedPanelHoverPolicy defines the hover policy, i.e. when a tabbed panel should consider itself
hovered by the mouse and the HoverListener should be called. This policy affects the tabbed panel,
the tab area, the tab area components area and the content area (if the tabbed panel has a content
area).
- Since:
- ITP 1.3.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TabbedPanelHoverPolicy
Always hover policy.static final TabbedPanelHoverPolicy
Always and exclude hover policy.static final TabbedPanelHoverPolicy
Never hover policy.static final TabbedPanelHoverPolicy
No hovered child hover policy.static final TabbedPanelHoverPolicy
Only when deepest hover policy. -
Method Summary
-
Field Details
-
NEVER
Never hover policy. This means that the tabbed panel will nerver be considered hovered -
ALWAYS
Always hover policy. This means that the tabbed panel will always consider itself hovered when the mouse is over the tabbed panel. -
NO_HOVERED_CHILD
No hovered child hover policy. This means that the tabbed panel will consider itself hovered when the mouse is over the tabbed panel and the content area doesn't contain any hovered tabbed panel. -
ONLY_WHEN_DEEPEST
Only when deepest hover policy. This means that the tabbed panel will consider itself hovered when the mouse is over the tabbed panel and there is no other tabbed panel in the tabbed panel's content area. -
ALWAYS_AND_EXCLUDE
Always and exclude hover policy. This means that the tabbed panel will always consider itself hovered when the mouse is over the tabbed panel but it will be excluded by other tabbed panels when their hover policies are evaluated.- Since:
- ITP 1.4.0
-
-
Method Details
-
getHoverPolicies
Gets the hover policies.- Returns:
- the hover policies
-