public interface TooltipManager
AbstractLabel
is moved/resized to
display a tooltip text for an "active" GUI element.Modifier and Type | Method and Description |
---|---|
void |
setElement(@NotNull AbstractGUIElement guiElement)
Displays the tooltip for a GUI element.
|
void |
tooltipTextChanged(@NotNull GUIElement element)
Reports a possibly changed tooltip text.
|
void |
unsetElement(@NotNull AbstractGUIElement guiElement)
Removes the tooltip of a GUI element.
|
void setElement(@NotNull @NotNull AbstractGUIElement guiElement)
guiElement
- the GUI element to show the tooltip ofvoid unsetElement(@NotNull @NotNull AbstractGUIElement guiElement)
guiElement
- the gui element to remove the tooltip ofvoid tooltipTextChanged(@NotNull @NotNull GUIElement element)
element
- the GUI element that may have changed