net.infonode.tabbedpanel
Class TabbedPanelHoverPolicy

java.lang.Object
  extended by net.infonode.util.Enum
      extended by net.infonode.tabbedpanel.TabbedPanelHoverPolicy
All Implemented Interfaces:
java.io.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 $
Author:
johan
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.
private static long serialVersionUID
           
 
Constructor Summary
private TabbedPanelHoverPolicy(int value, java.lang.String name)
           
 
Method Summary
static TabbedPanelHoverPolicy[] getHoverPolicies()
          Gets the hover policies.
 
Methods inherited from class net.infonode.util.Enum
decode, getName, getObject, getValue, readResolve, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

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

TabbedPanelHoverPolicy

private TabbedPanelHoverPolicy(int value,
                               java.lang.String name)
Method Detail

getHoverPolicies

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

Returns:
the hover policies