Class TooltipConfiguration

java.lang.Object
com.vaadin.flow.component.shared.TooltipConfiguration
All Implemented Interfaces:
Serializable

@NpmPackage(value="@vaadin/tooltip", version="24.0.14") @JsModule("./tooltip.ts") public class TooltipConfiguration extends Object implements Serializable
A configuration class for a tooltips default behavior.
Author:
Vaadin Ltd
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    setDefaultFocusDelay(int defaultFocusDelay)
    Sets the default focus delay to be used by all tooltip instances (running in the same JVM), except for those that have focus delay configured using property.
    static void
    setDefaultHideDelay(int defaultHideDelay)
    Sets the default hide delay to be used by all tooltip instances (running in the same JVM), except for those that have hide delay configured using property.
    static void
    setDefaultHoverDelay(int defaultHoverDelay)
    Sets the default hover delay to be used by all tooltip instances (running in the same JVM), except for those that have hover delay configured using property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TooltipConfiguration

      public TooltipConfiguration()
  • Method Details

    • setDefaultFocusDelay

      public static void setDefaultFocusDelay(int defaultFocusDelay)
      Sets the default focus delay to be used by all tooltip instances (running in the same JVM), except for those that have focus delay configured using property.
      Parameters:
      defaultFocusDelay - the default focus delay
    • setDefaultHideDelay

      public static void setDefaultHideDelay(int defaultHideDelay)
      Sets the default hide delay to be used by all tooltip instances (running in the same JVM), except for those that have hide delay configured using property.
      Parameters:
      defaultHideDelay - the default hide delay
    • setDefaultHoverDelay

      public static void setDefaultHoverDelay(int defaultHoverDelay)
      Sets the default hover delay to be used by all tooltip instances (running in the same JVM), except for those that have hover delay configured using property.
      Parameters:
      defaultHoverDelay - the default hover delay