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="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
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
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
-