public class LithoTooltipController
extends java.lang.Object
Constructor and Description |
---|
LithoTooltipController() |
Modifier and Type | Method and Description |
---|---|
static void |
showTooltip(ComponentContext c,
DeprecatedLithoTooltip tooltip,
java.lang.String anchorKey,
TooltipPosition tooltipPosition)
Deprecated.
@see {#show}
|
static void |
showTooltip(ComponentContext c,
LithoTooltip lithoTooltip,
java.lang.String anchorKey)
Deprecated.
|
static void |
showTooltip(ComponentContext c,
PopupWindow popupWindow,
java.lang.String anchorKey,
int xOffset,
int yOffset)
Deprecated.
|
static void |
showTooltip(ComponentContext c,
PopupWindow popupWindow,
java.lang.String anchorKey,
TooltipPosition tooltipPosition)
Deprecated.
|
static void |
showTooltip(ComponentContext c,
PopupWindow popupWindow,
java.lang.String anchorKey,
TooltipPosition tooltipPosition,
int xOffset,
int yOffset)
Deprecated.
|
static void |
showTooltipOnHandle(ComponentContext c,
LithoTooltip lithoTooltip,
Handle handle)
Show the given tooltip on the component with the given handle instance.
|
static void |
showTooltipOnHandle(ComponentContext c,
LithoTooltip lithoTooltip,
Handle handle,
int xOffset,
int yOffset)
Show the given tooltip on the component with the given handle instance.
|
static void |
showTooltipOnHandle(ComponentContext c,
PopupWindow popupWindow,
Handle handle,
int xOffset,
int yOffset)
Show the given tooltip on the component with the given handle instance.
|
static void |
showTooltipOnRootComponent(ComponentContext c,
LithoTooltip lithoTooltip)
Show the given tooltip on the root component.
|
static void |
showTooltipOnRootComponent(ComponentContext c,
PopupWindow popupWindow,
int xOffset,
int yOffset)
Show the given tooltip with the specified offsets from the bottom-left corner of the root
component.
|
public static void showTooltipOnRootComponent(ComponentContext c, PopupWindow popupWindow, int xOffset, int yOffset)
public static void showTooltipOnRootComponent(ComponentContext c, LithoTooltip lithoTooltip)
c
- lithoTooltip
- A LithoTooltip
implementation to be shown on the root component.public static void showTooltipOnHandle(ComponentContext c, LithoTooltip lithoTooltip, Handle handle)
c
- lithoTooltip
- A LithoTooltip
implementation to be shown on the anchor.handle
- A Handle
used to discover the object in the hierarchy.public static void showTooltipOnHandle(ComponentContext c, LithoTooltip lithoTooltip, Handle handle, int xOffset, int yOffset)
c
- lithoTooltip
- A LithoTooltip
implementation to be shown on the anchor.handle
- A Handle
used to discover the object in the hierarchy.xOffset
- horizontal offset from default position where the tooltip shows.yOffset
- vertical offset from default position where the tooltip shows.public static void showTooltipOnHandle(ComponentContext c, PopupWindow popupWindow, Handle handle, int xOffset, int yOffset)
c
- popupWindow
- A PopupWindow
implementation to be shown in the tooltip.handle
- A Handle
used to discover the object in the hierarchy.xOffset
- horizontal offset from default position where the tooltip shows.yOffset
- vertical offset from default position where the tooltip shows.@Deprecated public static void showTooltip(ComponentContext c, PopupWindow popupWindow, java.lang.String anchorKey, int xOffset, int yOffset)
showTooltipOnHandle(ComponentContext, PopupWindow, Handle, int, int)
@Deprecated public static void showTooltip(ComponentContext c, LithoTooltip lithoTooltip, java.lang.String anchorKey)
showTooltipOnHandle(ComponentContext, LithoTooltip, Handle)
@Deprecated public static void showTooltip(ComponentContext c, DeprecatedLithoTooltip tooltip, java.lang.String anchorKey, TooltipPosition tooltipPosition)
@Deprecated public static void showTooltip(ComponentContext c, PopupWindow popupWindow, java.lang.String anchorKey, TooltipPosition tooltipPosition)
showTooltip(ComponentContext, PopupWindow, String, int, int)
@Deprecated public static void showTooltip(ComponentContext c, PopupWindow popupWindow, java.lang.String anchorKey, TooltipPosition tooltipPosition, int xOffset, int yOffset)
showTooltip(ComponentContext, PopupWindow, String, int, int)