net.infonode.tabbedpanel
Class TabbedPanelHoverPolicy

java.lang.Object
  extended bynet.infonode.util.Enum
      extended bynet.infonode.tabbedpanel.TabbedPanelHoverPolicy
All Implemented Interfaces:
Serializable, Writable

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 $
See Also:
HoverListener, Serialized Form

Field Summary
static TabbedPanelHoverPolicy ALWAYS
          Always hover policy.
static TabbedPanelHoverPolicy ALWAYS_AND_EXCLUDE
          Always and exclude hover policy.
static TabbedPanelHoverPolicy NEVER
          Never hover policy.
static TabbedPanelHoverPolicy NO_HOVERED_CHILD
          No hovered child hover policy.
static TabbedPanelHoverPolicy ONLY_WHEN_DEEPEST
          Only when deepest hover policy.
 
Method Summary
static TabbedPanelHoverPolicy[] getHoverPolicies()
          Gets the hover policies.
 
Methods inherited from class net.infonode.util.Enum
getName, getValue, toString, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NEVER

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


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.


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.


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
Method Detail

getHoverPolicies

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

Returns:
the hover policies


Copyright © 2007 NNL Technology AB. All Rights Reserved.