LithoTooltipController

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun showTooltip(c: ComponentContext, lithoTooltip: LithoTooltip, @Nullable anchorKey: String)
open fun showTooltip(c: ComponentContext, lithoTooltip: LithoTooltip, @Nullable anchorKey: String, xOffset: Int, yOffset: Int)
Show the given tooltip on the component with the given anchorKey.
open fun showTooltip(c: ComponentContext, popupWindow: PopupWindow, anchorKey: String, tooltipPosition: TooltipPosition)
open fun showTooltip(c: ComponentContext, tooltip: DeprecatedLithoTooltip, anchorKey: String, tooltipPosition: TooltipPosition)
Show the given tooltip on the component with the given anchorKey in the specified position.
open fun showTooltip(c: ComponentContext, popupWindow: PopupWindow, @Nullable anchorKey: String, xOffset: Int, yOffset: Int)
Show the given tooltip with the specified offsets from the bottom-left corner of the component with the given anchorKey.
open fun showTooltip(c: ComponentContext, popupWindow: PopupWindow, anchorKey: String, tooltipPosition: TooltipPosition, xOffset: Int, yOffset: Int)
open fun showTooltip(c: ComponentContext, tooltip: DeprecatedLithoTooltip, anchorKey: String, tooltipPosition: TooltipPosition, xOffset: Int, yOffset: Int)
Show the given tooltip on the component with the given anchorKey with the specified offsets from the given position.
Link copied to clipboard
open fun showTooltipOnHandle(c: ComponentContext, lithoTooltip: LithoTooltip, handle: Handle)
open fun showTooltipOnHandle(c: ComponentContext, popupWindow: PopupWindow, handle: Handle, xOffset: Int, yOffset: Int)
open fun showTooltipOnHandle(c: ComponentContext, lithoTooltip: LithoTooltip, handle: Handle, xOffset: Int, yOffset: Int)
Show the given tooltip on the component with the given handle instance.
Link copied to clipboard
open fun showTooltipOnRootComponent(c: ComponentContext, lithoTooltip: LithoTooltip, xOffset: Int, yOffset: Int)
Show the given tooltip on the root component.
open fun showTooltipOnRootComponent(c: ComponentContext, popupWindow: PopupWindow, xOffset: Int, yOffset: Int)
Show the given tooltip with the specified offsets from the bottom-left corner of the root component.