Package com.vaadin.flow.component.shared
Class TooltipConfiguration
- java.lang.Object
-
- com.vaadin.flow.component.shared.TooltipConfiguration
-
- All Implemented Interfaces:
Serializable
@NpmPackage(value="@vaadin/tooltip", version="23.5.12") @JsModule("./tooltip.ts") public class TooltipConfiguration extends Object implements Serializable
A configuration class for a tooltips default behavior.- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TooltipConfiguration()
-
Method Summary
All Methods Static Methods Concrete Methods 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.
-
-
-
Method Detail
-
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
-
-