Package net.messagevortex.router
Class TooltipContainer
java.lang.Object
net.messagevortex.router.TooltipContainer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTooltip(TooltipExtent extent, String text) Adds a tooltip at the given position.Returns the first tooltip text found for a given position.
-
Constructor Details
-
TooltipContainer
public TooltipContainer()
-
-
Method Details
-
addTooltip
Adds a tooltip at the given position.
- Parameters:
extent- the area in which the tooltip should be showntext- the text to be shown
-
getTooltipText
Returns the first tooltip text found for a given position.
- Parameters:
p- position for the tooltip- Returns:
- the text or null if no tooltip is specified
-