net.infonode.tabbedpanel

Class TabbedPanelHoverPolicy

public class TabbedPanelHoverPolicy extends Enum

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

Version: $Revision: 1.6 $

Author: johan

See Also: HoverListener

Field Summary
static TabbedPanelHoverPolicyALWAYS
Always hover policy.
static TabbedPanelHoverPolicyALWAYS_AND_EXCLUDE
Always and exclude hover policy.
static TabbedPanelHoverPolicyNEVER
Never hover policy.
static TabbedPanelHoverPolicyNO_HOVERED_CHILD
No hovered child hover policy.
static TabbedPanelHoverPolicyONLY_WHEN_DEEPEST
Only when deepest hover policy.
Method Summary
static TabbedPanelHoverPolicy[]getHoverPolicies()
Gets the hover policies.

Field Detail

ALWAYS

public static final TabbedPanelHoverPolicy ALWAYS
Always hover policy. This means that the tabbed panel will always consider itself hovered when the mouse is over the tabbed panel.

ALWAYS_AND_EXCLUDE

public static final TabbedPanelHoverPolicy 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

NEVER

public static final TabbedPanelHoverPolicy NEVER
Never hover policy. This means that the tabbed panel will nerver be considered hovered

NO_HOVERED_CHILD

public static final TabbedPanelHoverPolicy 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

public static final TabbedPanelHoverPolicy 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.

Method Detail

getHoverPolicies

public static TabbedPanelHoverPolicy[] getHoverPolicies()
Gets the hover policies.

Returns: the hover policies