Crossfire JXClient, Trunk
Public Member Functions | List of all members
com.realtime.crossfire.jxclient.gui.gui.TooltipManager Interface Reference
Inheritance diagram for com.realtime.crossfire.jxclient.gui.gui.TooltipManager:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.gui.gui.TooltipManager:
Collaboration graph

Public Member Functions

void setElement (@NotNull AbstractGUIElement guiElement)
 
void tooltipTextChanged (@NotNull GUIElement element)
 
void unsetElement (@NotNull AbstractGUIElement guiElement)
 

Detailed Description

Manages the tooltip display. An AbstractLabel is moved/resized to display a tooltip text for an "active" GUI element.

Author
Andreas Kirschbaum

Definition at line 33 of file TooltipManager.java.

Member Function Documentation

◆ setElement()

void com.realtime.crossfire.jxclient.gui.gui.TooltipManager.setElement ( @NotNull AbstractGUIElement  guiElement)

Displays the tooltip for a GUI element.

Parameters
guiElementthe GUI element to show the tooltip of

Implemented in com.realtime.crossfire.jxclient.gui.label.TooltipManagerImpl.

Referenced by com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.mouseEntered().

Here is the caller graph for this function:

◆ tooltipTextChanged()

void com.realtime.crossfire.jxclient.gui.gui.TooltipManager.tooltipTextChanged ( @NotNull GUIElement  element)

Reports a possibly changed tooltip text.

Parameters
elementthe GUI element that may have changed

Implemented in com.realtime.crossfire.jxclient.gui.label.TooltipManagerImpl.

Referenced by com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.tooltipChanged().

Here is the caller graph for this function:

◆ unsetElement()

void com.realtime.crossfire.jxclient.gui.gui.TooltipManager.unsetElement ( @NotNull AbstractGUIElement  guiElement)

Removes the tooltip of a GUI element. Does nothing if the given GUI element is not active.

Parameters
guiElementthe gui element to remove the tooltip of

Implemented in com.realtime.crossfire.jxclient.gui.label.TooltipManagerImpl.

Referenced by com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.mouseExited().

Here is the caller graph for this function:

The documentation for this interface was generated from the following file: