public class TooltipController
extends java.lang.Object
Constructor and Description |
---|
TooltipController() |
Modifier and Type | Method and Description |
---|---|
void |
cancelTooltip(TooltipGroup groupId,
java.awt.event.MouseEvent mouseEvent,
boolean forced) |
void |
cancelTooltips() |
static TooltipController |
getInstance() |
void |
hide(LightweightHint lightweightHint) |
void |
resetCurrent() |
boolean |
shouldSurvive(java.awt.event.MouseEvent e) |
void |
showTooltip(Editor editor,
java.awt.Point p,
java.lang.String text,
boolean alignToRight,
TooltipGroup group) |
void |
showTooltip(Editor editor,
java.awt.Point p,
java.lang.String text,
int currentWidth,
boolean alignToRight,
TooltipGroup group) |
void |
showTooltip(Editor editor,
java.awt.Point p,
java.lang.String text,
int currentWidth,
boolean alignToRight,
TooltipGroup group,
HintHint hintHint) |
void |
showTooltip(Editor editor,
java.awt.Point p,
TooltipRenderer tooltipRenderer,
boolean alignToRight,
TooltipGroup group) |
void |
showTooltip(Editor editor,
java.awt.Point p,
TooltipRenderer tooltipRenderer,
boolean alignToRight,
TooltipGroup group,
HintHint hintInfo) |
LightweightHint |
showTooltipByMouseMove(Editor editor,
RelativePoint point,
TooltipRenderer tooltipObject,
boolean alignToRight,
TooltipGroup group,
HintHint hintHint)
Returns newly created hint, or already existing (for the same renderer)
|
public static TooltipController getInstance()
public void cancelTooltips()
public void cancelTooltip(TooltipGroup groupId, java.awt.event.MouseEvent mouseEvent, boolean forced)
public LightweightHint showTooltipByMouseMove(Editor editor, RelativePoint point, TooltipRenderer tooltipObject, boolean alignToRight, TooltipGroup group, HintHint hintHint)
public void showTooltip(Editor editor, java.awt.Point p, java.lang.String text, boolean alignToRight, TooltipGroup group)
public void showTooltip(Editor editor, java.awt.Point p, java.lang.String text, int currentWidth, boolean alignToRight, TooltipGroup group)
public void showTooltip(Editor editor, java.awt.Point p, java.lang.String text, int currentWidth, boolean alignToRight, TooltipGroup group, HintHint hintHint)
public void showTooltip(Editor editor, java.awt.Point p, TooltipRenderer tooltipRenderer, boolean alignToRight, TooltipGroup group)
public void showTooltip(Editor editor, java.awt.Point p, TooltipRenderer tooltipRenderer, boolean alignToRight, TooltipGroup group, HintHint hintInfo)
public boolean shouldSurvive(java.awt.event.MouseEvent e)
public void hide(LightweightHint lightweightHint)
public void resetCurrent()