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