Crossfire JXClient, Trunk
|
Public Member Functions | |
void | setElement (@NotNull AbstractGUIElement guiElement) |
void | tooltipTextChanged (@NotNull GUIElement element) |
void | unsetElement (@NotNull AbstractGUIElement guiElement) |
Manages the tooltip display. An AbstractLabel is moved/resized to display a tooltip text for an "active" GUI element.
Definition at line 33 of file TooltipManager.java.
void com.realtime.crossfire.jxclient.gui.gui.TooltipManager.setElement | ( | @NotNull AbstractGUIElement | guiElement | ) |
Displays the tooltip for a GUI element.
guiElement | the 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().
void com.realtime.crossfire.jxclient.gui.gui.TooltipManager.tooltipTextChanged | ( | @NotNull GUIElement | element | ) |
Reports a possibly changed tooltip text.
element | the 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().
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.
guiElement | the 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().